/* ══════════════════════════════════════════════
   FLUX MASTER — Design System v2
   Archivo (FM Display / FM Text) · JetBrains Mono (FM Mono) · Light Professional
   ══════════════════════════════════════════════ */

:root {
  --bg:          #F0F5FB;
  --surface:     #FFFFFF;
  --surface-low: #E8EFF8;
  --border:      #D5E0EE;
  --border-dark: #B5C7DC;
  --txt:         #0D0D0D;
  --muted:       #6B6B73;
  --muted-light: #AEAEB6;

  --green:       #00C96B;
  --green-bg:    #E6FAF2;
  --danger:      #FF3B30;
  --danger-bg:   #FFF1F0;
  --orange:      #FF9F0A;
  --purple:      #AF52DE;

  --accent:      #1E2A3A;
  --accent-mid:  #2C3E58;
  --accent-light:#E8EEF8;
  --charcoal:    #1D1D1F;
  --warm-beige:  #F2F2F0;

  --primary:     #1E2A3A;
  --on-primary:  #FFFFFF;

  --shadow-sm:    0 1px 4px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.03);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover: 0 24px 56px rgba(30,42,58,.15), 0 8px 20px rgba(30,42,58,.08);

  --card:    var(--surface);
  --status-accent: #0055CC;
  --cyan:    #0055CC;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--txt);
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
body { overflow: hidden; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-dark); }

/* ── ANIMATIONS ── */
@keyframes spinR   { to { transform: rotate(360deg); } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes pulse   { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.3); } }
@keyframes toastIn { from { opacity:0; transform:translateX(16px); } to { opacity:1; transform:translateX(0); } }
@keyframes shake   { 0%,100%{ transform:translateX(0) } 20%,60%{ transform:translateX(-5px) } 40%,80%{ transform:translateX(5px) } }
@keyframes slideIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes b0      { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-5px) } }
@keyframes b1      { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-5px) } }
@keyframes b2      { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-5px) } }
@keyframes shimmer { 0% { background-position: -600px 0; } 100% { background-position: 600px 0; } }
@keyframes floatUp    { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-4px); } }
@keyframes gradPulse  { 0%,100%{ opacity:.7; } 50%{ opacity:1; } }
@keyframes modExit    { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(-10px); } }
@keyframes modEnter   { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@keyframes cardIn     { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes navActivate{ 0%{opacity:.55} 100%{opacity:1} }
@keyframes sbItemIn   { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:translateX(0); } }
.sb-item-in { opacity:0; animation: sbItemIn .2s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes statPop    { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }
@keyframes glowOrb    { 0%,100%{ opacity:.55; transform:scale(1); } 50%{ opacity:.85; transform:scale(1.12); } }

/* ── CASCADE DE CARTES ── */
.card-cascade { opacity:0; animation: cardIn .5s cubic-bezier(.16,1,.3,1) forwards; }

/* ── STAT PILLS ANIMÉES ── */
.stat-pop { opacity:0; animation: statPop .35s cubic-bezier(.16,1,.3,1) forwards; }

/* ══ COUCHE ANIMATIONS PREMIUM (v16.88) ══ */
@keyframes popIn { 0%{opacity:0;transform:translateY(6px)} 100%{opacity:1;transform:none} }
@keyframes chipIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }
@keyframes shine { from{transform:translateX(-120%) skewX(-18deg)} to{transform:translateX(240%) skewX(-18deg)} }

/* Pills de score : petit pop quand le score se charge */
.score-pop { animation: popIn .42s cubic-bezier(.16,1,.3,1); }

/* Chips de filtres actifs : entrée douce en cascade */
.vf-toggle-chips .vf-chip { animation: chipIn .3s cubic-bezier(.16,1,.3,1) backwards; }
.vf-toggle-chips .vf-chip:nth-child(2){animation-delay:.04s}
.vf-toggle-chips .vf-chip:nth-child(3){animation-delay:.08s}
.vf-toggle-chips .vf-chip:nth-child(4){animation-delay:.12s}
.vf-toggle-chips .vf-chip:nth-child(n+5){animation-delay:.16s}

/* Boutons primaires : balayage de brillance au survol */
.btn-primary, .ann-btn-flux { position: relative; overflow: hidden; }
.btn-primary::after, .ann-btn-flux::after {
  content:''; position:absolute; top:0; left:0; width:45%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-120%) skewX(-18deg); pointer-events:none;
}
.btn-primary:hover:not(:disabled)::after, .ann-btn-flux:hover::after { animation: shine .7s cubic-bezier(.4,0,.2,1); }

/* Boutons de carte : retour tactile */
.ann-btn-flux, .ann-btn-contact { transition: transform .18s cubic-bezier(.16,1,.3,1), background .2s, color .2s, border-color .2s; }
.ann-btn-flux:hover, .ann-btn-contact:hover { transform: translateY(-2px); }
.ann-btn-flux:active, .ann-btn-contact:active { opacity: .85; }

/* Items sidebar : léger glissement + accent au survol */
.sb-item { transition: transform .2s cubic-bezier(.16,1,.3,1), background .2s, color .2s; }
.sb-item:hover { transform: translateX(3px); }

/* Selects/inputs filtres : focus animé */
.filter-select, .input, .calc-input { transition: border-color .2s, box-shadow .25s, transform .2s; }
.filter-select:focus, .input:focus, .calc-input:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent); }

/* Badge bonne affaire : pulsation discrète */
@keyframes hotPulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,201,107,.45)} 50%{box-shadow:0 0 0 5px rgba(0,201,107,0)} }

@media (prefers-reduced-motion: reduce) {
  .score-pop, .vf-toggle-chips .vf-chip { animation: none; }
  .btn-primary::after, .ann-btn-flux::after { display: none; }
  .sb-item:hover, .ann-btn-flux:hover, .ann-btn-contact:hover { transform: none; }
}

/* ── LOADER ── */

/* ── GLOBAL LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

#appRoot { opacity: 0; transition: opacity .3s ease; height: 100vh; height: 100dvh; overflow: hidden; display: none; }
#appRoot.visible { opacity: 1; display: block; }
.landing-wrap { height: 100vh; height: 100dvh; overflow-y: auto; background: var(--bg); }

/* ── TOAST ── */
.toast-container { position: fixed; top: 72px; right: 20px; z-index: 9000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: var(--txt);
  animation: toastIn .25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* ── LANDING NAV ── */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topnav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo-nav {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 16px;
  color: var(--txt); letter-spacing: -.01em;
}

.live-dot { display: inline-block; width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; flex-shrink: 0; }

/* ── HERO SECTION (landing) ── */
.hero-section { min-height: calc(100dvh - 100px); display: flex; align-items: center; padding: 40px 24px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; width: 100%; }
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(28px,4vw,52px);
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--txt); margin-bottom: 20px;
}
.hero-h1 span { color: var(--green); }

/* ── MP BADGES ── */
.mp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.mp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  color: var(--txt);
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.mp-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-dark); }
.mp-logo { width: 14px; height: 14px; object-fit: contain; }

/* ── TERMINAL PREVIEW ── */
.terminal-preview {
  background: #111; border-radius: 12px;
  padding: 20px; margin-top: 28px;
  border: 1px solid #222;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.t-line { display: flex; gap: 10px; font-family: var(--font-body); font-size: 12px; font-weight: 600; margin-bottom: 6px; line-height: 1.5; }
.t-src { font-weight: 700; min-width: 52px; font-size: 11px; letter-spacing: .04em; }
.t-val { color: #9ca3af; }
.t-ok  { color: var(--green); font-weight: 700; }
.t-sys { color: #4b5563; }
.t-lbc { color: #FF6100; }
.t-lac { color: #00A0DC; }
.t-as24 { color: #006FD2; }
.t-ebay { color: #E50000; }
.t-mob  { color: #00823C; }
.cursor { display: inline-block; width: 8px; height: 13px; background: var(--green); animation: pulse 1s infinite; vertical-align: middle; border-radius: 1px; }

/* ── GATE CARD (auth) ── */
.gate-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 32px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid var(--border);
  animation: fadeUp .6s .1s ease both; opacity: 0;
}
.gate-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px; color: var(--txt);
  margin-bottom: 8px; letter-spacing: -.02em;
  display: flex; align-items: center; gap: 8px;
}
.gate-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; font-weight: 600; }
.gate-input {
  width: 100%; padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--txt);
  outline: none; transition: border-color .2s, box-shadow .2s;
  margin-bottom: 14px;
}
.gate-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.gate-input::placeholder { color: var(--muted-light); }
.otp-input { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .3em; }
.gstep { display: none; }
.gstep.active { display: block; animation: slideIn .25s ease; }
.gstatus { font-size: 13px; font-weight: 600; margin-top: 10px; min-height: 18px; }

/* ── STEPS DOTS ── */
.steps-dot { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all .3s; }
.dot.active { background: var(--primary); transform: scale(1.1); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
  border-radius: 8px;
  font-family: var(--font-display); font-weight: 700;
  transition: all .2s; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--on-primary);
  padding: 13px 24px; font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: all .25s cubic-bezier(.16,1,.3,1);
}
.btn-primary:hover:not(:disabled) {
  background: #000;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.btn-primary:active { opacity: .88; box-shadow: var(--shadow-sm); }
.btn-primary:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px;
  border: 1.5px solid var(--border); background: var(--surface);
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--txt); cursor: pointer; letter-spacing: .04em;
  transition: all .2s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--primary); background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-outline:active { opacity: .88; box-shadow: none; }
.btn-outline:active { opacity: .88; }

/* ── OAUTH BUTTONS ── */
.oauth-sep {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  font-size: 12px; font-weight: 700; color: var(--muted-light);
}
.oauth-sep::before, .oauth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google, .btn-discord {
  width: 100%; padding: 12px 16px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--surface); cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--txt);
  transition: all .2s; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.btn-google:hover { border-color: #4285F4; background: #f8f9ff; }
.btn-discord { background: #5865F2; color: #fff; border-color: #5865F2; }
.btn-discord:hover { background: #4752c4; }
.pw-wrap { position: relative; margin-bottom: 8px; }
.pw-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px;
}
.resend-btn { background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--green); padding: 4px; }
.resend-row { display: flex; justify-content: space-between; align-items: center; }

/* ── LANDING SECTIONS ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px;
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.step-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.step-num {
  font-family: var(--font-display); font-weight: 900; font-size: 36px;
  color: var(--border); margin-bottom: 12px; line-height: 1;
}

/* ── DASHBOARD ROOT ── */
#dashRoot { display: none; height: 100vh; height: 100dvh; overflow: hidden; }
#dashRoot.visible { display: flex; }

/* ── SIDEBAR ── */
.dash-layout { display: flex; height: 100vh; height: 100dvh; overflow: hidden; flex: 1; min-width: 0; }
.sidebar {
  width: 220px; flex-shrink: 0;
  background: linear-gradient(180deg, #131C28 0%, #0D1520 60%, #111111 100%);
  border-right: none;
  display: flex; flex-direction: column;
  position: relative; z-index: 200;
  transition: transform .3s ease;
  box-shadow: 2px 0 20px rgba(0,0,0,.15);
  overflow: hidden;
}
/* accent shimmer line at top */
.sidebar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent 0%, rgba(143,179,212,.5) 50%, transparent 100%);
  pointer-events: none;
}
.sb-top-bar { display: none; }
.sb-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sb-logo-ic {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.sb-logo-txt {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: rgba(255,255,255,.9); letter-spacing: -.01em;
}
.sb-nav { flex: 1; overflow-y: auto; padding: 8px 8px; display: flex; flex-direction: column; gap: 2px; }
.sb-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 9px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.42); cursor: pointer;
  transition: background .22s cubic-bezier(.16,1,.3,1), color .18s ease, box-shadow .22s ease, transform .22s cubic-bezier(.16,1,.3,1);
  border: none; background: none; text-align: left; width: 100%;
  position: relative; white-space: nowrap;
  will-change: transform;
}
.sb-nav-item:hover {
  background: rgba(143,179,212,.1);
  color: rgba(255,255,255,.88);
  box-shadow: inset 0 0 0 1px rgba(143,179,212,.12);
  transform: translateX(3px);
}
.sb-nav-item.active {
  background: linear-gradient(90deg, rgba(0,201,107,.12) 0%, rgba(0,201,107,.06) 100%);
  color: #fff; font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0,201,107,.18);
}
.sb-nav-item.active::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #00C96B, #00a856);
  box-shadow: 0 0 8px rgba(0,201,107,.5);
}
.sb-nav-item .sb-icon { width: 18px; height: 18px; flex-shrink: 0; opacity: .48; transition: opacity .2s; }
.sb-nav-item.active .sb-icon { opacity: 1; animation: navActivate .3s cubic-bezier(.34,1.56,.64,1) forwards; }
.sb-nav-item:hover .sb-icon, .sb-nav-item.active .sb-icon { opacity: 1; }

/* ── SIDEBAR LABELS (slide in on expand) ── */
.sb-label, .sb-nav-badge, .sb-logo-txt {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
  will-change: opacity, transform;
}

/* ── SIDEBAR COLLAPSE / EXPAND (desktop hover) ── */
@media (min-width: 769px) {
  .sidebar {
    width: 58px;
    transition: width .38s cubic-bezier(.16,1,.3,1), box-shadow .38s ease, transform .3s ease;
  }
  .sidebar:hover {
    width: 220px;
    box-shadow: 4px 0 40px rgba(0,0,0,.32);
  }
  .sidebar:hover .sb-label,
  .sidebar:hover .sb-nav-badge,
  .sidebar:hover .sb-logo-txt {
    opacity: 1;
    transform: translateX(0);
    transition-delay: .11s;
    pointer-events: auto;
  }
  .sb-legal-links { display: none; }
  .sidebar:hover .sb-legal-links { display: flex; }
  /* expand hint arrow */
  .sidebar::after {
    content: '›';
    position: absolute; right: 11px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,.12); font-size: 13px;
    transition: opacity .25s ease; pointer-events: none;
  }
  .sidebar:hover::after { opacity: 0; }
}
.sb-nav-badge {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--danger); color: #fff; border-radius: 10px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.sb-divider { height: 1px; background: rgba(255,255,255,.06); margin: 4px 8px; }
.sb-bottom { padding: 8px; }
.sb-bottom-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 9px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.42);
  cursor: pointer; transition: background .2s, color .2s;
  border: none; background: none; text-align: left; width: 100%; white-space: nowrap;
}
.sb-bottom-item:hover { background: rgba(143,179,212,.1); color: rgba(255,255,255,.8); }

/* ── SIDEBAR MOBILE ── */
.sb-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--txt); padding: 4px; border-radius: 6px;
}
.sb-backdrop {
  display: none; position: fixed; inset: 0; z-index: 190;
  background: rgba(0,0,0,.25); backdrop-filter: blur(2px);
}
@media (max-width: 768px) {
  .sb-hamburger { display: flex; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    width: 220px !important;
    transform: translateX(-100%);
    box-shadow: 4px 0 24px rgba(0,0,0,.1);
    transition: transform .3s ease !important;
  }
  .sidebar::after { display: none; }
  .sidebar.open { transform: translateX(0); }
  .sidebar.open .sb-label,
  .sidebar.open .sb-nav-badge,
  .sidebar.open .sb-logo-txt {
    opacity: 1; transform: translateX(0); pointer-events: auto;
  }
  .sb-backdrop.open { display: block; }
  .sb-top-bar { display: flex; justify-content: flex-end; padding: 12px 12px 0; }
  .dash-main { padding-left: 0 !important; }
}

/* ── TOPBAR ── */
.dash-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 0 rgba(30,42,58,.07), 0 2px 8px rgba(30,42,58,.04);
  position: relative; z-index: 10;
}
.topbar::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(30,42,58,.1) 20%, rgba(143,179,212,.22) 50%, rgba(30,42,58,.1) 80%, transparent 100%);
}
.topbar-line { display: none; }
.topbar-bc { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.topbar-sep { font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.topbar-chevron { color: var(--border-dark); font-size: 14px; }
.topbar-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--txt); white-space: nowrap; }
.topbar-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.tb-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── STATS BAR ── */
.stats-bar {
  display: flex; gap: 0; flex-shrink: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(240,245,251,.55) 100%);
  border-bottom: 1px solid var(--border);
}
@keyframes pillShimmer {
  0%   { background-position: -240% center; }
  100% { background-position: 240% center; }
}
.stat-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 0 18px; height: 38px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  color: var(--muted); border-right: 1px solid var(--border);
  transition: background .2s, color .2s; position: relative; overflow: hidden;
}
.stat-pill:hover {
  background: linear-gradient(90deg, transparent 0%, rgba(122,154,184,.1) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: pillShimmer .55s ease;
  color: var(--accent);
}
.stat-pill-val { font-weight: 800; color: var(--accent); font-size: 13px; }

/* ── MODULE AREA ── */
.module-area {
  flex: 1; overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(150deg,
    rgba(240,245,251,.16) 0%,
    rgba(232,239,248,.16) 40%,
    rgba(237,243,250,.16) 70%,
    rgba(240,245,251,.16) 100%);
  position: relative;
  will-change: opacity, transform;
}
.module-inner { flex: 1; padding: 16px 20px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* ── MODULE DEFAULT (corner boxes) ── */
.mod-box {
  background: var(--surface); border-radius: 10px; height: 280px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden; margin-top: 4px;
  border: 1px solid var(--border);
}
.corner { position: absolute; width: 14px; height: 14px; }
.ctl { top: 12px; left: 12px; border-top: 1.5px solid var(--border-dark); border-left: 1.5px solid var(--border-dark); }
.ctr { top: 12px; right: 12px; border-top: 1.5px solid var(--border-dark); border-right: 1.5px solid var(--border-dark); }
.cbl { bottom: 12px; left: 12px; border-bottom: 1.5px solid var(--border-dark); border-left: 1.5px solid var(--border-dark); }
.cbr { bottom: 12px; right: 12px; border-bottom: 1.5px solid var(--border-dark); border-right: 1.5px solid var(--border-dark); }

/* ── SHARED COMPONENTS ── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  transition: box-shadow .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1), border-color .2s;
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 3px 8px; border-radius: 4px;
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.badge-green  { background: var(--green-bg); color: var(--green); }
.badge-red    { background: var(--danger-bg); color: var(--danger); }
.badge-gray   { background: var(--surface-low); color: var(--muted); }
.badge-black  { background: var(--primary); color: var(--on-primary); }

/* ── INLINE SPINNER ── */
.spinner-wrap { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 120px; gap: 12px; flex-direction: column; }
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinR .8s linear infinite;
}

/* ── SKELETON LOADING ── */
.skeleton-base {
  background: linear-gradient(90deg, var(--surface-low) 25%, var(--border) 50%, var(--surface-low) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
.skel-wrap { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.skel-row { display: flex; gap: 12px; }
.skel-card { height: 120px; border-radius: 12px; flex: 1; }
.skel-line-lg { height: 20px; border-radius: 6px; width: 60%; }
.skel-line-sm { height: 14px; border-radius: 6px; width: 40%; }
.skel-card, .skel-line-lg, .skel-line-sm { background: linear-gradient(90deg, var(--surface-low) 25%, #E8E8EC 50%, var(--surface-low) 75%); background-size: 600px 100%; animation: shimmer 1.4s ease-in-out infinite; }

/* ── EMPTY STATE ── */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; min-height: 200px; gap: 12px; }
.empty-state-icon { width: 48px; height: 48px; background: var(--surface-low); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.empty-state-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--txt); }
.empty-state-sub { font-size: 13px; color: var(--muted); text-align: center; max-width: 280px; line-height: 1.6; }

/* ── INPUT / FORM ── */
.input {
  width: 100%; padding: 10px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--txt);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.input::placeholder { color: var(--muted-light); }
select.input { cursor: pointer; }

.label {
  display: block; font-family: var(--font-body);
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px;
}
.field { margin-bottom: 14px; }

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--txt); margin-bottom: 4px;
}
.section-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ── VEHICULES ── */
.vehicules-wrap { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.veh-filters {
  padding: 16px 24px; background: var(--surface); border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
/* Desktop: grid always visible, toggle hidden */
/* Filtres repliables (desktop + mobile) — la liste gagne de la hauteur */
.veh-filters-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; margin-bottom: 6px;
  animation: vfSlide .28s cubic-bezier(.16,1,.3,1); }
.veh-filters-grid.veh-open { display: grid; }
@keyframes vfSlide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.veh-filters-toggle {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer; text-align: left; color: var(--txt);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.veh-filters-toggle:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.vf-toggle-label { font-family: var(--font-body); font-size: 13px; font-weight: 700; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.vf-toggle-chips { display: flex; gap: 5px; flex: 1; overflow: hidden; flex-wrap: nowrap; -webkit-mask-image: linear-gradient(90deg,#000 88%,transparent); mask-image: linear-gradient(90deg,#000 88%,transparent); }
.vf-toggle-arrow { margin-left: auto; color: var(--muted); font-size: 12px; }
.vf-chip {
  font-family: var(--font-body); font-size: 11px; font-weight: 700; white-space: nowrap;
  color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
  border-radius: 999px; padding: 2px 9px;
}
.vf-chip-muted { color: var(--muted); background: var(--surface-low); border-color: var(--border); font-weight: 600; }

.veh-filters-desktop-acts { display: none; gap: 8px; margin-top: 4px; margin-bottom: 4px; }
.veh-filters-grid.veh-open ~ .veh-filters-desktop-acts { display: flex; }
.veh-filters-mobile-acts  { display: none; }
.filter-select {
  padding: 9px 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--txt); font-size: 13px; font-weight: 600; cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--primary); }
/* ── VEHICLE GRID CARDS ── */
.veh-wrap { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
#vehGrid { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.veh-list { padding: 12px 16px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; align-content: start; }
.ann-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; position: relative;
  transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .2s;
  will-change: transform;
}
/* Spotlight suivant le curseur — teinté vert (inspiré « Product Card » 21st.dev) */
.ann-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 3; border-radius: 12px; pointer-events: none;
  background:
    radial-gradient(circle 260px at var(--mx,50%) var(--my,50%),
      rgba(0,201,107,.20) 0%, rgba(0,201,107,.06) 38%, transparent 68%),
    radial-gradient(circle 180px at var(--mx,50%) var(--my,50%),
      rgba(255,255,255,.14) 0%, transparent 60%);
  opacity: 0; transition: opacity .25s;
}
.ann-card.fx-shine::before { opacity: 1; }
/* Halo + bordure dégradée qui suit le curseur au survol */
.ann-card::after {
  content: '';
  position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  box-shadow: 0 32px 80px rgba(0,0,0,.22), 0 0 60px rgba(0,201,107,.14);
  background: radial-gradient(circle 320px at var(--mx,50%) var(--my,50%),
    rgba(0,201,107,.55), rgba(0,209,255,.18) 42%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 1.5px;
  opacity: 0; transition: opacity .28s cubic-bezier(.16,1,.3,1);
}
.ann-card:hover::after { opacity: 1; }
.ann-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.ann-card:active { transform: translateY(-1px); }
.ann-card:hover .ann-title { color: var(--green); }
.ann-img {
  width: 100%; aspect-ratio: 16/9;
  background: var(--warm-beige); overflow: hidden; position: relative; flex-shrink: 0;
}
.ann-img > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; display: block;
  opacity: 0;
  transition: opacity .4s ease, transform .65s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
/* Zoom doux + éclat de l'image au survol de la carte */
.ann-card:hover .ann-img > img { filter: brightness(1.06) saturate(1.05); }

/* Squelettes de chargement (shimmer) — remplacent le spinner */
.sk-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.sk-card .sk-img { width: 100%; aspect-ratio: 16/9; display: block; }
.sk-card .sk-body { padding: 12px 14px 16px; }
.sk-line { height: 11px; border-radius: 6px; margin-bottom: 9px; }
.sk-line.sk-lg { width: 85%; height: 14px; }
.sk-line.sk-md { width: 60%; }
.sk-line.sk-sm { width: 35%; margin-bottom: 0; }
.sk-img, .sk-line {
  background: linear-gradient(100deg, var(--surface-low) 28%, var(--border) 48%, var(--surface-low) 68%);
  background-size: 220% 100%; animation: skShimmer 1.25s ease-in-out infinite;
}
@keyframes skShimmer { from { background-position: 220% 0; } to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) {
  .sk-img, .sk-line { animation: none; }
  .ann-card:hover .ann-img > img { transform: none; filter: none; }
}
.ann-img-placeholder {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center; color: var(--border-dark);
}
.ann-top-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 4px;
  font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.ann-top-badge-green { background: var(--green); color: #fff; }
.ann-top-badge-src { font-size: 9px; }
.ann-body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ann-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s ease; }
.ann-meta { font-size: 12px; color: var(--muted); line-height: 1.5; }
.ann-price-row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 4px; }
.ann-price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--txt); line-height: 1; }
.ann-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.verdict-pill {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap;
  color: var(--vc); background: color-mix(in srgb, var(--vc) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--vc) 35%, transparent); border-radius: 20px; padding: 3px 9px;
  font-variant-numeric: tabular-nums;
}
.ann-marge { margin-top: 8px; font-family: var(--font-body); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ann-marge b { font-family: var(--font-mono); font-weight: 700; }
.ann-marge b.pos { color: #00c96b; }
.ann-marge b.neg { color: #ff6b6b; }
.ann-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 0 14px 14px;
}
.ann-btn-flux {
  padding: 10px 8px; border-radius: 6px; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--primary); color: var(--on-primary);
  transition: opacity .15s;
}
.ann-btn-flux:hover { opacity: .85; }
.ann-btn-contact {
  padding: 10px 8px; border-radius: 6px; border: 1px solid var(--border-dark); cursor: pointer;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: none; color: var(--txt); text-decoration: none; text-align: center; display: block;
  transition: border-color .15s;
}
.ann-btn-contact:hover { border-color: var(--primary); }
.ann-btn-contact:disabled { opacity: .4; cursor: not-allowed; }
/* Legacy compatibility */
.ann-score { display: none; }
.ann-right { display: none; }
.ann-src-badge { display: none; }
@media (max-width: 768px) {
  .veh-filters { padding: 8px 10px; max-height: 50vh; overflow-y: auto; -webkit-overflow-scrolling: touch; flex-shrink: 0; }
  .veh-filters > div:first-child { margin-bottom: 6px !important; gap: 5px !important; }
  .veh-filters [data-veh-profile] { padding: 5px 4px 4px !important; }
  .veh-filters [data-veh-profile] > div:last-child { display: none !important; }
  .veh-filters .profil-info-btn { display: none !important; }
  .veh-filters #profilTipBar { display: none !important; }
  .veh-filters > div:nth-child(2) { margin-bottom: 6px !important; }
  .veh-filters .calc-input[type="search"] { padding: 8px 8px 8px 30px !important; font-size: 12px !important; }
  .veh-filters-toggle {
    display: flex; width: 100%;
    align-items: center; justify-content: space-between;
    padding: 8px 12px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
    font-family: var(--font-body); font-size: 12px; font-weight: 700;
    color: var(--txt); cursor: pointer; touch-action: manipulation;
  }
  .veh-filters-grid          { display: none; margin-top: 6px; margin-bottom: 4px; grid-template-columns: repeat(2,1fr); gap: 6px; }
  .veh-filters-grid.veh-open { display: grid; }
  .veh-filters-desktop-acts  { display: none !important; }
  .veh-filters-mobile-acts   { display: flex; gap: 8px; margin-top: 6px; }
  .veh-list    { grid-template-columns: repeat(2,1fr); gap: 10px; padding: 10px; }
  .ann-title   { font-size: 13px; }
  .ann-body    { padding: 10px 12px; gap: 4px; }
  .ann-actions { padding: 0 10px 10px; gap: 6px; }
  .ann-btn-flux, .ann-btn-contact { font-size: 10px; padding: 8px 5px; }
}
@media (max-width: 480px) {
  .veh-list { grid-template-columns: 1fr; }
  .ann-price { font-size: 18px; }
  .veh-filters-grid, .veh-filters-grid.veh-open { grid-template-columns: 1fr; }
}

/* ── VEHICLE DETAIL ── */
.veh-detail-wrap { flex: 1; padding: 14px 16px 20px; overflow-y: auto; max-width: 1180px; display: flex; align-items: flex-start; gap: 24px; }
.vd-main { flex: 1 1 auto; min-width: 0; max-width: 760px; }
.vd-aside { flex: 0 0 330px; position: sticky; top: 8px; }
@media (max-width: 1080px) {
  .veh-detail-wrap { flex-direction: column; align-items: stretch; }
  .vd-main { width: 100%; }
  .vd-aside { position: static; flex-basis: auto; width: 100%; max-width: 760px; }
}
/* Panneau « Vérifications avant achat » (tips) */
.vd-tips { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.vd-tips-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: linear-gradient(135deg, rgba(0,201,107,.12), transparent); border-bottom: 1px solid var(--border); }
.vd-tips-head .material-symbols-outlined { color: var(--green); font-size: 20px; }
.vd-tips-head b { font-family: var(--font-display); font-size: 13px; font-weight: 800; color: var(--txt); }
.vd-tip { display: flex; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.vd-tip .material-symbols-outlined { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.vd-tip.warn .material-symbols-outlined { color: #ff9f43; }
.vd-tip.ok   .material-symbols-outlined { color: var(--green); }
.vd-tip.info .material-symbols-outlined { color: #00a0c0; }
.vd-tip-txt { font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--txt); }
.vd-tip-txt a { color: var(--green); text-decoration: none; font-weight: 700; }
.vd-tips-foot { padding: 10px 16px; font-size: 10px; color: var(--muted); background: var(--surface-low); line-height: 1.4; }
.vd-hero {
  width: 100%; aspect-ratio: 16/6; border-radius: 12px;
  background: var(--warm-beige); border: 1px solid var(--border);
  overflow: hidden; position: relative; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.vd-hero-inner { color: var(--border-dark); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vd-hero-inner > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-hero-badges { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 6px; }
.vd-identity {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 20px;
}
.vd-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.vd-sub { font-size: 14px; color: var(--muted); }
.vd-price { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--txt); white-space: nowrap; }
.vd-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.vd-bento-score {
  background: var(--charcoal); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 140px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
}
.vd-bento-score::before {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,209,255,.22) 0%, transparent 70%);
  top: -40px; right: -30px;
  animation: glowOrb 4s ease-in-out infinite;
  pointer-events: none;
}
.vd-bento-score:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 40px rgba(0,209,255,.12); }
.vd-bento-margin {
  background: var(--warm-beige); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 140px;
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
  position: relative; overflow: hidden;
}
.vd-bento-margin::before {
  content: '';
  position: absolute;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,201,107,.12) 0%, transparent 70%);
  bottom: -30px; left: -20px;
  animation: glowOrb 4s ease-in-out 2s infinite;
  pointer-events: none;
}
.vd-bento-margin:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.vd-specs { margin-bottom: 24px; }
.vd-section-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--txt); margin-bottom: 12px; }
.vd-spec-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border); }
.vd-spec-row:last-child { border-bottom: none; }
.vd-spec-label { font-size: 14px; color: var(--muted); }
.vd-spec-val { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--txt); }
.vd-ctas { display: flex; flex-direction: column; gap: 10px; }

/* Jauge de score compacte (carte bento) + bandeau position marché */
.vd-gaugec { position: relative; display: flex; align-items: center; justify-content: center; margin: 2px auto 0; width: 104px; height: 104px; }
.vd-gaugec-track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 9; stroke-linecap: round; }
.vd-gaugec-val { fill: none; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.16,1,.3,1); filter: drop-shadow(0 0 5px currentColor); }
.vd-gaugec-c { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-display); font-size: 26px; font-weight: 900; line-height: 1; }
.vd-market-strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; }
.vd-market-strip .k { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.vd-market-strip .v { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: var(--txt); text-align: right; }
.vd-rt { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 24px; display: grid; gap: 14px; }
.vd-rt-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.vd-rt-conf { font-size: 11px; color: var(--muted); }
.vd-rt-raisons { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-family: var(--font-body); font-size: 12.5px; color: var(--txt); line-height: 1.5; }
.vd-rt-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.vd-rt-block { display: grid; gap: 5px; }
.vd-rt-k { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.vd-rt-row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-body); font-size: 12.5px; color: var(--txt); }
.vd-rt-row span:last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vd-rt-row small { color: var(--muted); }
.vd-rt-row.tot { border-top: 1px solid var(--border); padding-top: 6px; margin-top: 2px; font-weight: 700; }
.vd-rt-row.tot.pos span:last-child { color: var(--green); }
.vd-rt-row.tot.neg span:last-child { color: var(--danger); }
.vd-rt-cote { margin-top: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--txt); text-decoration: underline; text-underline-offset: 3px; }
.vd-rt-note { margin: 4px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }
.vd-rt-infos { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-rt-infos:empty { display: none; }
.vd-rt-chip, .vd-critair { font-family: var(--font-body); font-size: 11.5px; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--txt); }
.vd-critair { font-weight: 700; }
.vd-critair.c0 { border-color: #2e9e5b; color: #2e9e5b; }
.vd-critair.c1 { border-color: #8e44ad; color: #8e44ad; }
.vd-critair.c2 { border-color: #d4a017; color: #b8860b; }
.vd-critair.c3, .vd-critair.c4, .vd-critair.c5, .vd-critair.cnon_classe { border-color: var(--danger); color: var(--danger); }
.vd-rt-ia { display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.vd-rt-ia-resume { margin: 0; font-family: var(--font-body); font-size: 13px; color: var(--txt); line-height: 1.55; }
.vd-rt-ia-liste { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; font-family: var(--font-body); font-size: 12px; }
.vd-rt-ia-liste b { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.vd-rt-ia-liste span { padding: 3px 9px; border-radius: 20px; border: 1px solid var(--border); color: var(--txt); }
.vd-rt-ia-liste.neg span { border-color: color-mix(in srgb, #f0a020 45%, transparent); }
.vd-rt-ia-liste.pos span { border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.vd-rt-rappels { border-left: 3px solid #f0a020; padding: 4px 0 4px 12px; display: grid; gap: 6px; }
.vd-rappel { font-family: var(--font-body); font-size: 12px; color: var(--txt); line-height: 1.5; }
.vd-rappel a { color: inherit; text-decoration: underline; white-space: nowrap; }
.vd-market-strip .v small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; color: var(--muted); margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .vd-gaugec-val { transition: none; } }

/* ══ PÉPITE — opportunité forte marge (>15%) ══ */
@keyframes pepitePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,201,107,.55), 0 2px 8px rgba(0,0,0,.22); }
  50%     { box-shadow: 0 0 15px 3px rgba(0,201,107,.75), 0 2px 8px rgba(0,0,0,.22); }
}
.badge-pepite {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  background: linear-gradient(135deg, #00c96b, #00e6a4);
  color: #063a22; font-family: var(--font-body); font-size: 9px; font-weight: 900;
  letter-spacing: .05em; padding: 3px 9px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 3px;
  animation: pepitePulse 2.1s ease-in-out infinite;
}
/* Glow renforcé de la jauge quand c'est une pépite */
.vd-bento-score.vd-pepite { box-shadow: 0 0 0 1px rgba(0,201,107,.4), 0 10px 40px rgba(0,201,107,.18); }
.vd-pepite .vd-gaugec-val { filter: drop-shadow(0 0 9px currentColor); }
.vd-pepite-tag {
  align-self: center; margin-top: 8px; padding: 4px 12px; border-radius: 20px;
  background: rgba(0,201,107,.15); color: #00e6a4;
  font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .03em;
  animation: pepitePulse 2.1s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .badge-pepite, .vd-pepite-tag { animation: none; } }
@media (max-width: 480px) {
  .vd-bento { grid-template-columns: 1fr; }
  .vd-title { font-size: 18px; }
}

/* ── WATCHLIST ── */
.wl-wrap { flex: 1; padding: 14px 16px 16px; overflow-y: auto; position: relative; }
.wl-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.wl-cards { display: flex; flex-direction: column; gap: 10px; }
.wl-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.wl-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.wl-card.sel { border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.wl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.wl-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--txt); margin-bottom: 2px; }
.wl-meta { font-size: 12px; color: var(--muted); }
.wl-price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--txt); white-space: nowrap; }
.wl-pct { font-size: 11px; font-weight: 700; }
.wl-pct.pos { color: var(--green); }
.wl-pct.neg { color: var(--danger); }
.wl-pb { display: flex; gap: 24px; }
.wl-pb .lbl { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.wl-pb .val { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--txt); margin-top: 2px; }
.wl-vdiv { width: 1px; background: var(--border); }
.wl-expanded { border-top: 1px solid var(--border); margin-top: 14px; padding-top: 14px; display: none; align-items: center; gap: 16px; flex-wrap: wrap; }
.wl-card.sel .wl-expanded { display: flex; }

/* ── CHAT (typing dots) ── */
.td { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.td.d0 { animation: b0 1.2s infinite; }
.td.d1 { animation: b1 1.2s .15s infinite; }
.td.d2 { animation: b2 1.2s .3s infinite; }

/* AI provider config bar */
.ai-config-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 24px; background: var(--surface); border-bottom: 1px solid var(--border); flex-wrap: wrap; flex-shrink: 0; }
.ai-prov-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.ai-prov-pill { padding: 5px 12px; background: var(--surface-low); border: 1px solid var(--border); border-radius: 20px; color: var(--muted); font-family: var(--font-body); font-size: 11px; font-weight: 600; cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 5px; }
.ai-prov-pill:hover { color: var(--txt); }
.ai-prov-pill.active { font-weight: 700; }
.ai-mode-toggle { display: flex; gap: 4px; }
.ai-mode-btn { padding: 5px 10px; background: var(--surface-low); border: 1px solid var(--border); border-radius: 5px; color: var(--muted); font-family: var(--font-body); font-size: 10px; cursor: pointer; transition: all .2s; }
.ai-mode-btn.active { color: var(--txt); font-weight: 700; }
.ai-key-badge { padding: 4px 10px; border-radius: 4px; font-family: var(--font-body); font-size: 10px; font-weight: 700; }
.ai-key-badge.user { background: var(--green-bg); border: 1px solid var(--green); color: var(--green); }
.ai-key-badge.platform { background: #fff8e6; border: 1px solid var(--orange); color: var(--orange); }
.ai-key-badge.none { background: var(--danger-bg); border: 1px solid var(--danger); color: var(--danger); }

/* ── ALERTES ── */
.alertes-wrap { flex: 1; padding: 14px 16px 20px; overflow-y: auto; position: relative; }
.al-bento { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.al-bento-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.al-bento-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.al-main { display: grid; grid-template-columns: 340px 1fr; gap: 20px; margin-bottom: 28px; }
.al-form { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.al-stream { min-width: 0; }
.al-notif-channels {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; margin-bottom: 24px;
}
@media (max-width: 768px) {
  .al-notif-channels > div:nth-child(2) { grid-template-columns: 1fr !important; }
}
.al-insight {
  background: var(--charcoal); border-radius: 12px; padding: 40px;
  position: relative; overflow: hidden;
}
.alerte-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.alerte-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 10px; transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.alerte-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.alerte-info { flex: 1; min-width: 0; }
.alerte-criteres { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--txt); margin-bottom: 4px; }
.alerte-meta { font-size: 12px; color: var(--muted); }
.al-titre { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--txt); margin: 0 0 16px; }
.al-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.al-grille > div:first-child { grid-column: 1 / -1; }
.al-grille .calc-label { display: block; margin-bottom: 5px; }
.al-grille .calc-input, .al-grille .filter-select { width: 100%; box-sizing: border-box; }
.al-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.al-options > .calc-label { width: 100%; }
.al-case { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 13px; color: var(--txt); cursor: pointer; }
.al-case-off { color: var(--muted); cursor: not-allowed; }
.al-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.al-actions .btn { padding: 6px 12px; font-size: 12px; }
.al-suppr { background: none; border: none; cursor: pointer; padding: 6px; color: var(--muted); font-size: 14px; }
.al-suppr:hover, .al-suppr:focus-visible { color: var(--danger); }
.al-inactive { opacity: .55; }
.al-vide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 40px 20px; min-height: 260px; }
.al-vide p { font-size: 13px; color: var(--muted); max-width: 340px; line-height: 1.6; margin: 0; }
.al-vide-titre { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--txt); }
.al-vide-liste { background: var(--surface-low); border: 1px dashed var(--border); border-radius: 12px; }
.al-appareil { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--muted); border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; }
.al-appareil.al-actif { border-left-color: var(--green); }
.al-appareil.al-inactif { border-left-color: #f0a020; }
.al-appareil.al-bloque, .al-appareil.al-non_supporte { border-left-color: var(--danger); }
.al-appareil-txt { flex: 1; min-width: 200px; display: grid; gap: 2px; font-family: var(--font-body); }
.al-appareil-txt b { font-size: 14px; color: var(--txt); }
.al-appareil-txt span { font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 600px) {
  .al-grille { grid-template-columns: 1fr; }
  .alerte-card { flex-wrap: wrap; gap: 10px; }
}
.alerte-badge { padding: 4px 10px; border-radius: 4px; font-family: var(--font-body); font-size: 11px; font-weight: 700; }
@media (max-width: 768px) {
  .al-bento { grid-template-columns: 1fr; }
  .al-main { grid-template-columns: 1fr; }
}

/* ── ANALYTICS ── */
.analytics-wrap { flex: 1; padding: 14px 16px 20px; overflow-y: auto; }
.an-bento { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.an-kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s, transform .2s;
}
.an-kpi:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.an-kpi-wide { grid-column: span 2; background: linear-gradient(135deg, #fff 0%, #F8F8FA 100%); }
.an-kpi-sm { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.an-kpi-label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.an-kpi-value { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--txt); line-height: 1; margin-bottom: 16px; letter-spacing: -.02em; }
.an-kpi-footer { font-size: 12px; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--border); }
.analytics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 12px; margin-bottom: 20px; }
.analytics-kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 18px;
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.analytics-kpi:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.kpi-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.kpi-val { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--txt); line-height: 1; margin-bottom: 4px; }
.kpi-delta { font-size: 12px; font-weight: 700; }
.kpi-delta.pos { color: var(--green); }
.kpi-delta.neg { color: var(--danger); }
@media (max-width: 768px) {
  .an-bento { grid-template-columns: repeat(2,1fr); }
  .an-kpi-wide { grid-column: span 2; }
}

.scraper-btn {
  background: none; border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px;
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  cursor: pointer; transition: all .2s; color: var(--txt);
}
.scraper-btn:hover { border-color: var(--primary); }

/* ── SNIPER ── */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 12px; }
.calc-field { display: flex; flex-direction: column; }
.calc-label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.calc-input {
  padding: 10px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; color: var(--txt);
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  outline: none; transition: border-color .2s;
}
.calc-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,0,0,.05); }
.calc-input::placeholder { color: var(--muted-light); }
.calc-result { background: var(--surface-low); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.calc-result-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.calc-result-line:last-child { border-bottom: none; padding-top: 12px; }
.calc-result-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-result-val { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--txt); }
.calc-total { font-size: 20px !important; color: var(--green) !important; }

/* ── SETTINGS ── */
.settings-wrap { flex: 1; padding: 0; overflow-y: auto; }
.settings-section { margin-bottom: 28px; }
.settings-title { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.settings-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.settings-label { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--txt); }
.settings-value { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--green); }
.settings-btn {
  padding: 8px 18px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface-low); cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--txt);
  transition: all .2s;
}
.settings-btn:hover { border-color: var(--primary); background: var(--surface); }

/* ── PROFIL ── */
.profil-wrap { flex: 1; padding: 14px 16px 20px; overflow-y: auto; position: relative; }
.profil-hero {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.profil-avatar {
  width: 68px; height: 68px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  background: var(--surface-low); color: var(--txt);
  overflow: hidden; border: 2px solid var(--border);
}
.profil-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.profil-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px; text-align: center;
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.profil-stat:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: transparent; }
.ps-lbl { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.ps-val { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--txt); }
.profil-section { margin-bottom: 20px; }
.profil-section-title { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.pf-name { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--txt); margin-bottom: 4px; word-break: break-all; }
.pf-since { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.tier-badge { display: inline-block; border-radius: 20px; padding: 4px 12px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.pf-feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.pf-feat { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--txt); padding: 3px 0; }
.pf-feat-locked { color: var(--muted-light); }
.pf-keys-info { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.pfk-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin-bottom: 10px;
  transition: box-shadow .25s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1);
}
.pfk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pfk-card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pfk-card-left { display: flex; align-items: center; gap: 12px; }
.pfk-card-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pfk-icon { font-size: 20px; line-height: 1; }
.pfk-label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--txt); }
.pfk-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pfk-masked { font-family: var(--font-body); font-size: 11px; color: var(--muted-light); letter-spacing: .08em; }
.pfk-date { font-size: 11px; color: var(--border-dark); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.pfk-btn-add { padding: 7px 14px; background: var(--surface-low); border: 1px solid var(--border); color: var(--txt); border-radius: 6px; font-family: var(--font-body); font-size: 12px; font-weight: 700; cursor: pointer; transition: all .2s; }
.pfk-btn-add:hover { border-color: var(--primary); }
.pfk-btn-mod { padding: 6px 12px; background: var(--surface-low); border: 1px solid var(--border); color: var(--muted); border-radius: 6px; font-size: 11px; font-weight: 700; cursor: pointer; transition: all .2s; }
.pfk-btn-mod:hover { color: var(--txt); }
.pfk-btn-del { padding: 6px 10px; background: var(--danger-bg); border: 1px solid rgba(220,38,38,.2); color: var(--danger); border-radius: 6px; font-size: 12px; cursor: pointer; transition: all .2s; }
.pfk-btn-del:hover { background: #fee2e2; }
.pfk-edit-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.pfk-input { flex: 1; min-width: 160px; background: var(--bg); border: 1px solid var(--border); color: var(--txt); padding: 9px 12px; border-radius: 8px; font-family: var(--font-body); font-size: 13px; outline: none; transition: border-color .2s; }
.pfk-input:focus { border-color: var(--primary); }
.pfk-btn-save { padding: 9px 16px; background: var(--primary); border: 1px solid var(--primary); color: #fff; border-radius: 8px; font-family: var(--font-body); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: all .2s; }
.pfk-btn-save:hover { background: #1a1a1a; }
.pfk-btn-cancel { padding: 9px 12px; background: var(--surface-low); border: 1px solid var(--border); color: var(--muted); border-radius: 8px; font-size: 12px; font-weight: 600; cursor: pointer; }

/* ── IMPORT EU ── */
.import-wrap { flex: 1; padding: 14px 16px 20px; overflow-y: auto; }
.import-tabs { display: flex; gap: 4px; margin-bottom: 20px; padding: 4px; background: var(--surface-low); border-radius: 10px; border: 1px solid var(--border); width: fit-content; }
.import-tab { padding: 8px 18px; border-radius: 7px; font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; border: none; background: none; color: var(--muted); transition: all .2s; }
.import-tab.active { background: var(--surface); color: var(--txt); box-shadow: 0 1px 4px rgba(0,0,0,.06); }

/* ── SETTINGS PANEL (pre-login) ── */
@keyframes sfDropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
#sfPanelRoot { position: relative; flex-shrink: 0; }
.sf-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--txt);
  transition: all .2s;
}
.sf-trigger:hover { border-color: var(--primary); }
.sf-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 320px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  z-index: 9999; animation: sfDropIn .2s ease;
  padding: 16px;
}
.sf-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sf-row:last-child { border-bottom: none; }
.sf-label { font-size: 13px; font-weight: 600; color: var(--txt); }
.sf-val { font-size: 13px; font-weight: 700; color: var(--green); }
.sf-btn { padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface-low); cursor: pointer; font-size: 12px; font-weight: 700; color: var(--txt); transition: all .2s; }
.sf-btn:hover { border-color: var(--primary); }
.sf-switch { position: relative; display: inline-block; width: 40px; height: 22px; }
.sf-switch input { opacity: 0; width: 0; height: 0; }
.sf-slider { position: absolute; cursor: pointer; inset: 0; background: var(--border); border-radius: 22px; transition: .3s; }
.sf-slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
input:checked + .sf-slider { background: var(--primary); }
input:checked + .sf-slider::before { transform: translateX(18px); }

/* ── SETTINGS TOGGLES & SEGMENTS ── */
.sf-tgl { position: relative; width: 42px; height: 24px; border: none; background: var(--border-dark); border-radius: 24px; cursor: pointer; transition: background .2s; flex-shrink: 0; padding: 0; }
.sf-tgl.sf-tgl-on { background: var(--primary); }
.sf-tgl-thumb { position: absolute; top: 4px; left: 4px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2); pointer-events: none; }
.sf-tgl.sf-tgl-on .sf-tgl-thumb { transform: translateX(18px); }
.sf-seg { display: flex; background: var(--surface-low); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.sf-seg-btn { padding: 5px 12px; border-radius: 6px; border: none; background: none; font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.sf-seg-btn.sf-seg-on { background: var(--surface); color: var(--txt); box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.sf-select { padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); font-family: var(--font-body); font-size: 13px; color: var(--txt); cursor: pointer; outline: none; }
.sf-select:focus { border-color: var(--primary); }

/* ── SCRAPING MODULE ── */
.scraping-wrap { flex: 1; padding: 14px 16px 20px; overflow-y: auto; }
.sc-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.sc-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.sc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sc-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; transition: box-shadow .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1), border-color .2s; }
.sc-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: var(--border-dark); }
.sc-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.sc-launch-btn { width: 100%; padding: 12px; background: var(--primary); border: none; border-radius: 8px; color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; }
.sc-launch-btn:hover:not(:disabled) { background: #1a1a1a; }
.sc-launch-btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── CHAT MODULE ── */
.chat-wrap { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.chat-canvas { background-image: radial-gradient(circle at 1px 1px, #E2E2E2 1px, transparent 0); background-size: 40px 40px; }
.chat-quick { display: flex; flex-direction: column; gap: 8px; padding: 16px 24px 0; flex-shrink: 0; }
.quick-card { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--txt); text-align: left; transition: all .2s; }
.quick-card:hover { border-color: var(--primary); background: var(--warm-beige); }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 16px; }
.message-bubble-ai { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--charcoal); border-radius: 0 12px 12px 0; padding: 16px 18px; max-width: 80%; }
.message-bubble-user { background: var(--charcoal); border-radius: 12px 12px 0 12px; padding: 12px 16px; max-width: 80%; align-self: flex-end; }
.message-bubble-user-text { font-family: var(--font-body); font-size: 13px; color: #fff; line-height: 1.6; }
.bubble-hd { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.chat-input-row { display: flex; gap: 8px; padding: 12px 24px 20px; flex-shrink: 0; border-top: 1px solid var(--border); background: var(--surface); }
.chat-in { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: var(--font-body); font-size: 13px; color: var(--txt); background: var(--bg); outline: none; transition: border-color .2s; }
.chat-in:focus { border-color: var(--primary); }
.chat-send { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-low); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; }
.chat-send.on { background: var(--charcoal); border-color: var(--charcoal); animation: chatReady 2.4s ease-in-out infinite; }
.chat-send:hover { transform: translateY(-1px); }
.chat-send.on:hover { transform: translateY(-1px) scale(1.06); box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 16px rgba(0,201,107,.4); }
.chat-send.on:active { transform: scale(.93); }
/* Pulsation discrète quand un message est prêt → incite à l'envoi */
@keyframes chatReady { 0%,100% { box-shadow: 0 0 0 0 rgba(0,201,107,0); } 50% { box-shadow: 0 0 0 4px rgba(0,201,107,.14); } }
@media (prefers-reduced-motion: reduce) { .chat-send.on { animation: none; } }

/* ── AUTH GATE OVERLAY ── */
.auth-gate-overlay {
  position: absolute; inset: 0; z-index: 50;
  background: rgba(245,245,247,.75);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .2s ease;
}
.auth-gate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 380px; width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .3s cubic-bezier(.16,1,.3,1);
}
.auth-gate-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--surface-low); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.auth-gate-title {
  font-family: var(--font-display); font-weight: 800; font-size: 20px;
  color: var(--txt); letter-spacing: -.02em; margin-bottom: 8px;
}
.auth-gate-sub {
  font-family: var(--font-body); font-size: 14px; color: var(--muted);
  line-height: 1.6; margin-bottom: 28px;
}
.auth-gate-btn {
  width: 100%; padding: 14px 20px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 10px; cursor: pointer;
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--shadow-md);
  transition: all .25s cubic-bezier(.16,1,.3,1);
}
.auth-gate-btn:hover { background: #000; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.auth-gate-email {
  width: 100%; padding: 12px 16px; margin-bottom: 12px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; color: var(--txt);
  background: var(--surface); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.auth-gate-email:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,29,31,.06); }
.auth-gate-email::placeholder { color: var(--muted-light); }

/* ── RESPONSIVE LANDING ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gate-card { padding: 28px 20px; }
  .profil-stats { grid-template-columns: repeat(3,1fr); }
}

/* ══ ACCESSIBILITÉ — contenu réservé aux lecteurs d'écran / moteurs ══ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ══ LOADER LETTRES — chute + rebond gravitaire (squash & stretch) ══ */


/* ══ CANVAS BACKGROUND ══ */
#bgCanvas { position:fixed; inset:0; z-index:0; pointer-events:none; }
#appRoot, #dashRoot { position:relative; z-index:1; }

/* ══ SPOTLIGHT EFFECT ══ */
.spotlight-card { position:relative; overflow:hidden; }
.spotlight-card::after {
  content:''; position:absolute; inset:0;
  background: radial-gradient(circle 180px at var(--sx, 50%) var(--sy, 50%), rgba(255,255,255,.14), transparent 70%);
  opacity:0; transition:opacity .3s; pointer-events:none; z-index:2; border-radius:inherit;
}
.spotlight-card.sp-active::after { opacity:1; }

/* login-modal-overlay kept as alias → gate-modal-overlay handles rendering */

/* ══ TOPBAR AUTH BUTTON ══ */
.tb-auth-btn {
  padding:7px 14px; border-radius:8px; font-family:var(--font-display);
  font-size:11px; font-weight:700; letter-spacing:.04em; cursor:pointer; border:none;
  transition:all .2s;
}
.tb-auth-in { background:var(--primary); color:#fff; }
.tb-auth-in:hover { background:var(--accent-mid); }

/* ══ SIDEBAR AUTH ══ */
.sb-signout { color: rgba(220,70,70,.75); margin-top: 4px; }
.sb-signout:hover { background: rgba(220,60,60,.12) !important; color: rgba(220,50,50,.95) !important; }
.sb-signin { color: var(--primary); opacity: .85; margin-top: 4px; }
.sb-signin:hover { background: rgba(30,42,58,.08) !important; opacity: 1; }

/* ══ VÉHICULES EMPTY STATE (première utilisation) ══ */
.veh-empty {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:56px 24px; text-align:center; gap:16px; min-height:360px;
}
.ves-svg { width:220px; height:130px; margin-bottom:4px; }
.ves-title {
  font-family:var(--font-display); font-weight:800; font-size:20px;
  color:var(--txt); letter-spacing:-.02em;
}
.ves-sub {
  font-family:var(--font-body); font-size:13px; color:var(--muted);
  max-width:400px; line-height:1.65;
}
.ves-cta {
  background:var(--primary); color:#fff; border:none; border-radius:10px;
  padding:12px 28px; font-family:var(--font-display); font-size:12px;
  font-weight:800; letter-spacing:.05em; text-transform:uppercase;
  cursor:pointer; transition:opacity .2s, transform .2s; margin-top:8px;
}
.ves-cta:hover { opacity:.84; transform:translateY(-2px); }

/* ══ PRICING SECTION ══ */
.pricing-section { padding:80px 24px; background:var(--bg); border-top:1px solid var(--border); }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:960px; margin:0 auto; }
.pricing-card {
  background:var(--surface); border:1px solid var(--border); border-radius:16px;
  padding:32px 28px; text-align:center; position:relative;
  transition:box-shadow .3s cubic-bezier(.16,1,.3,1), transform .3s cubic-bezier(.16,1,.3,1);
}
.pricing-card:hover { box-shadow:var(--shadow-hover); transform:translateY(-4px); }
.pricing-card.featured {
  border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-light);
}
.pricing-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--accent); color:#fff; padding:4px 14px; border-radius:20px; font-family:var(--font-body); font-size:11px; font-weight:700; letter-spacing:.06em; }
.pricing-plan { font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--txt); margin-bottom:8px; }
.pricing-price { font-family:var(--font-display); font-weight:900; font-size:36px; color:var(--accent); margin:16px 0; }
.pricing-period { font-size:13px; color:var(--muted); margin-bottom:24px; font-weight:600; }
.pricing-features { list-style:none; text-align:left; margin-bottom:28px; display:flex; flex-direction:column; gap:10px; }
.pricing-features li { font-size:13px; color:var(--txt); display:flex; align-items:center; gap:8px; }
.pricing-features li::before { content:'check'; font-family:'Material Symbols Outlined'; font-size:1.05em; line-height:1; color:var(--green); font-weight:700; flex-shrink:0; }
.pricing-free-badge { display:inline-block; background:var(--green-bg); color:var(--green); border:1px solid var(--green); border-radius:6px; padding:6px 14px; font-family:var(--font-body); font-size:11px; font-weight:700; margin-bottom:16px; }
.pricing-cta { display:block; width:100%; padding:12px; border-radius:8px; font-family:var(--font-display); font-size:13px; font-weight:700; cursor:pointer; border:none; transition:all .2s; }
.pricing-cta-outline { background:none; border:1.5px solid var(--border); color:var(--txt); }
.pricing-cta-outline:hover { border-color:var(--primary); }
.pricing-cta-fill { background:var(--primary); color:#fff; }
.pricing-cta-fill:hover { background:var(--accent-mid); }
@media (max-width:768px) { .pricing-grid { grid-template-columns:1fr; } }

/* ══ SETTINGS PAGE ══ */
/* Top icon tab nav */
.s-tabs {
  display:flex; align-items:stretch; gap:0;
  border-bottom:1px solid var(--border);
  background:var(--surface);
  overflow-x:auto; scrollbar-width:none; flex-shrink:0;
  padding:0 8px;
}
.s-tabs::-webkit-scrollbar { display:none; }
.s-tab-btn {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
  padding:14px 20px; min-width:72px; border:none; background:none; cursor:pointer;
  font-family:var(--font-body); color:var(--muted);
  transition:all .18s; position:relative; flex-shrink:0; border-bottom:2px solid transparent;
  margin-bottom:-1px;
}
.s-tab-btn[hidden] { display:none; }
.s-tab-btn:hover { color:var(--txt); background:var(--surface-low); }
.s-tab-btn.active { color:var(--primary); border-bottom-color:var(--primary); background:transparent; }
.s-tab-icon { font-size:20px; line-height:1; }
.s-tab-label { font-size:10px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; line-height:1; }

/* Panels */
.s-panels { flex:1; overflow-y:auto; padding:16px 20px; }
.settings-tab-panel { display:none; }
.settings-tab-panel.active { display:block; animation: modEnter .25s cubic-bezier(.16,1,.3,1); }

/* Profil hero */
.sp-hero {
  display:flex; align-items:center; gap:20px; margin-bottom:20px; padding:20px 24px;
  background:linear-gradient(135deg, rgba(245,200,66,.06) 0%, rgba(8,20,42,.6) 100%);
  border:1.5px solid rgba(245,200,66,.45);
  border-radius:16px;
  box-shadow: 0 0 28px rgba(245,200,66,.1), inset 0 0 40px rgba(245,200,66,.03);
  position:relative; overflow:hidden;
}
.sp-hero::before {
  content:'';
  position:absolute; top:-40px; right:-40px;
  width:160px; height:160px; border-radius:50%;
  background:radial-gradient(circle, rgba(245,200,66,.15) 0%, transparent 70%);
  pointer-events:none;
}
.sp-avatar {
  width:80px; height:80px; border-radius:50%; flex-shrink:0; cursor:pointer; overflow:hidden;
  background:var(--accent-light);
  border:2.5px solid rgba(245,200,66,.7);
  box-shadow: 0 0 0 4px rgba(245,200,66,.12), 0 0 18px rgba(245,200,66,.25);
  display:flex; align-items:center; justify-content:center;
  transition:box-shadow .2s;
  position:relative; z-index:1;
}
.sp-avatar:hover { box-shadow:0 0 0 4px rgba(245,200,66,.3), 0 0 26px rgba(245,200,66,.4); }
.sp-name { font-family:var(--font-display); font-weight:800; font-size:16px; color:var(--txt); margin-bottom:2px; }
.sp-email { font-size:12px; color:var(--muted); margin-bottom:8px; }
.sp-premium-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:linear-gradient(135deg,rgba(245,200,66,.18),rgba(245,200,66,.06));
  border:1px solid rgba(245,200,66,.4);
  color:#f5c842; font-family:var(--font-display); font-weight:800;
  font-size:10px; letter-spacing:.1em; padding:4px 10px; border-radius:999px;
}

/* Profil stats */
.sp-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:20px; }
.sp-stat-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px; }
.sp-stat-val { font-family:var(--font-display); font-weight:800; font-size:22px; color:var(--txt); }
.sp-stat-lbl { font-size:10px; color:var(--muted); font-weight:700; letter-spacing:.05em; text-transform:uppercase; }

/* Settings cards etc */
.settings-section-hd { font-family:var(--font-display); font-weight:800; font-size:20px; color:var(--txt); margin-bottom:4px; }
.settings-section-sub { font-size:13px; color:var(--muted); margin-bottom:28px; }
.settings-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:24px; margin-bottom:16px; }
.settings-card-title { font-family:var(--font-display); font-weight:700; font-size:13px; color:var(--muted); text-transform:uppercase; letter-spacing:.1em; margin-bottom:16px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.settings-row2 { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border); gap:12px; flex-wrap:wrap; }
.settings-row2:last-child { border-bottom:none; padding-bottom:0; }
.settings-row2-label { font-size:14px; font-weight:600; color:var(--txt); }
.settings-row2-sub { font-size:12px; color:var(--muted); margin-top:2px; }
.sav-btn {
  display:flex; align-items:center; gap:8px; padding:11px 24px;
  background:var(--primary); color:#fff; border:none; border-radius:8px;
  font-family:var(--font-display); font-size:13px; font-weight:700; cursor:pointer;
  transition:all .2s;
}
.sav-btn:hover { background:var(--accent-mid); transform:translateY(-1px); box-shadow:var(--shadow-md); }

/* Premium active badge */
.plan-active-badge {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(0,201,107,.12); border:1px solid rgba(0,201,107,.35);
  color:var(--green); font-family:var(--font-display); font-weight:800;
  font-size:11px; letter-spacing:.1em; padding:6px 14px; border-radius:999px;
}

@media (max-width:600px) {
  .s-tab-btn { padding:12px 14px; min-width:58px; }
  .s-tab-label { font-size:9px; }
  .s-panels { padding:20px 16px; }
  .sp-stats { grid-template-columns:repeat(3,1fr); gap:6px; }
  .sp-stat-card { padding:12px 8px; }
  .sp-stat-val { font-size:18px; }
}


/* ══ AIDE MODULE ══ */
@keyframes aideIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

/* ── Container ── */
.aide-page   { flex:1; overflow:hidden; display:flex; flex-direction:column; }
.aide-scroll { flex:1; overflow-y:auto; }

/* ── Hero ── */
.aide-hero {
  position:relative; overflow:hidden;
  padding:50px 36px 44px;
  background:linear-gradient(148deg,#091420 0%,#1E2A3A 55%,#0f1d2e 100%);
}
/* Automotive SVG decos */
.aide-hero-deco { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.aide-deco      { position:absolute; opacity:.06; }
.aide-deco-wheel { right:-6%; top:50%; transform:translateY(-50%); width:min(460px,52%); filter:blur(9px); }
.aide-deco-steer { left:-8%; bottom:-15%; width:min(300px,36%); filter:blur(7px); transform:rotate(15deg); opacity:.05; }
.aide-deco-gauge { left:50%; top:-10%; transform:translateX(-50%); width:min(240px,30%); filter:blur(5px); opacity:.04; }
/* Content */
.aide-hero-content { position:relative; z-index:1; }
.aide-hero-badge {
  display:inline-block; padding:4px 12px; border-radius:20px; margin-bottom:16px;
  background:rgba(143,179,212,.15); border:1px solid rgba(143,179,212,.25);
  font-family:var(--font-display); font-size:10px; font-weight:700;
  letter-spacing:.12em; color:rgba(143,179,212,.9);
}
.aide-hero-title { margin:0 0 14px; display:flex; flex-direction:column; gap:2px; line-height:1.15; }
.aide-tl { font-family:var(--font-display); font-weight:900; font-size:38px; color:#fff; letter-spacing:-.02em; }
.aide-ta {
  font-family:var(--font-display); font-weight:900; font-size:28px; letter-spacing:-.01em;
  background:linear-gradient(120deg,#7a9ab8 0%,#c8ddef 48%,#8fb3d4 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.aide-hero-sub {
  font-family:var(--font-body); font-size:14px; line-height:1.65;
  color:rgba(255,255,255,.48); margin:0 0 30px; max-width:560px; min-height:2.6em;
}
/* Steps inside hero */
.aide-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.aide-step {
  background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.1);
  border-radius:12px; padding:16px 14px;
  animation:aideIn .5s cubic-bezier(.16,1,.3,1) both;
  transition:background .2s, border-color .2s;
}
.aide-step:hover { background:rgba(143,179,212,.1); border-color:rgba(143,179,212,.25); }
.aide-step-n  { font-family:var(--font-display); font-size:10px; font-weight:900; letter-spacing:.1em; color:rgba(143,179,212,.55); margin-bottom:10px; }
.aide-step-ic { margin-bottom:8px; opacity:.8; }
.aide-step-t  { font-family:var(--font-display); font-size:12px; font-weight:700; color:rgba(255,255,255,.9); margin-bottom:5px; }
.aide-step-d  { font-size:11px; line-height:1.55; color:rgba(255,255,255,.38); }

/* ── Shared section ── */
.aide-section { padding:36px 32px 0; }
.aide-sh      { margin-bottom:20px; }
.aide-tag {
  display:inline-block; padding:3px 10px; border-radius:6px; margin-bottom:7px;
  background:var(--accent-light); color:var(--accent);
  font-family:var(--font-display); font-size:10px; font-weight:700; letter-spacing:.1em;
}
.aide-stitle { font-family:var(--font-display); font-weight:800; font-size:21px; color:var(--txt); letter-spacing:-.01em; margin:0; }

/* ── Features grid ── */
.aide-feat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.aide-feat {
  background:var(--surface); border:1px solid var(--border); border-radius:12px;
  padding:16px; cursor:pointer;
  animation:aideIn .45s cubic-bezier(.16,1,.3,1) both;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.aide-feat:hover { transform:translateY(-2px); box-shadow:var(--shadow-hover); border-color:var(--border-dark); }
.aide-feat-top  { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.aide-feat-ic   { width:36px; height:36px; border-radius:9px; flex-shrink:0; border:1px solid transparent; display:flex; align-items:center; justify-content:center; }
.aide-feat-lbl  { font-family:var(--font-display); font-size:12.5px; font-weight:700; color:var(--txt); flex:1; }
.aide-feat-arr  { opacity:.3; flex-shrink:0; transition:opacity .2s, transform .2s; }
.aide-feat:hover .aide-feat-arr { opacity:.65; transform:translateX(3px); }
.aide-feat-desc { font-size:12px; line-height:1.6; color:var(--muted); margin:0 0 10px; }
.aide-feat-tips { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:5px; }
.aide-feat-tips li { font-size:11px; color:var(--muted); padding-left:13px; position:relative; line-height:1.5; }
.aide-feat-tips li::before { content:'›'; position:absolute; left:0; color:var(--accent); font-size:11px; }

/* ── FAQ ── */
.aide-faq-wrap { padding-bottom:0; }
.aide-faq { border:1px solid var(--border); border-radius:12px; overflow:hidden; background:var(--surface); }
.aide-faq-item { border-bottom:1px solid var(--border); }
.aide-faq-item:last-child { border-bottom:none; }
.aide-faq-item.open { background:var(--surface-low); }
.aide-faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 20px; background:none; border:none; cursor:pointer; text-align:left; }
.aide-faq-q:hover { background:var(--surface-low); }
.aide-faq-qt { font-size:13.5px; font-weight:700; color:var(--txt); flex:1; line-height:1.4; }
.aide-faq-ic { color:var(--muted); flex-shrink:0; transition:transform .3s cubic-bezier(.16,1,.3,1); }
.aide-faq-body { transition:max-height .32s cubic-bezier(.16,1,.3,1); }
.aide-faq-a { padding:0 20px 16px; padding-top:14px; font-size:13px; line-height:1.7; color:var(--muted); border-top:1px solid var(--border); }

/* ── Contact / CTA ── */
.aide-cta-section { padding:32px 32px 36px; }
.aide-cta-card {
  background:linear-gradient(140deg,#091420 0%,#1E2A3A 60%,#0f1c2c 100%);
  border-radius:18px; padding:40px 36px;
  display:grid; grid-template-columns:1fr 285px; gap:36px; align-items:start;
  position:relative; overflow:hidden;
}
.aide-cta-glow { position:absolute; top:-80px; right:-50px; width:320px; height:320px; border-radius:50%; background:radial-gradient(circle,rgba(143,179,212,.1) 0%,transparent 70%); pointer-events:none; }
.aide-cta-badge { display:inline-block; padding:3px 10px; border-radius:16px; margin-bottom:14px; background:rgba(0,201,107,.15); border:1px solid rgba(0,201,107,.25); font-family:var(--font-display); font-size:10px; font-weight:700; letter-spacing:.1em; color:#00C96B; }
.aide-cta-title { font-family:var(--font-display); font-weight:900; font-size:24px; color:#fff; margin:0 0 12px; line-height:1.2; }
.aide-cta-desc  { font-size:13px; line-height:1.65; color:rgba(255,255,255,.46); margin:0 0 20px; }
.aide-chips     { display:flex; gap:7px; flex-wrap:wrap; }
.aide-chip      { padding:4px 10px; border-radius:16px; font-size:11px; font-weight:700; }
.ac-g { background:rgba(0,201,107,.12);  color:#00C96B;  border:1px solid rgba(0,201,107,.2); }
.ac-b { background:rgba(0,170,255,.12);  color:#00aaff;  border:1px solid rgba(0,170,255,.2); }
.ac-p { background:rgba(170,68,255,.12); color:#aa44ff;  border:1px solid rgba(170,68,255,.2); }
.ac-o { background:rgba(255,159,10,.12); color:#FF9F0A;  border:1px solid rgba(255,159,10,.2); }
/* Mail box */
.aide-mail-box  { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.13); border-radius:12px; padding:22px; margin-bottom:10px; }
.aide-mail-lbl  { font-size:10px; font-weight:700; letter-spacing:.1em; color:rgba(255,255,255,.3); margin-bottom:8px; }
.aide-mail-addr { font-family:var(--font-mono); font-size:13px; font-weight:700; color:#fff; margin-bottom:16px; word-break:break-all; }
.aide-mail-copy { width:100%; display:flex; align-items:center; justify-content:center; gap:8px; padding:10px; border-radius:8px; border:none; cursor:pointer; background:var(--accent); color:#fff; font-family:var(--font-display); font-size:12px; font-weight:700; letter-spacing:.04em; transition:background .2s,transform .15s; }
.aide-mail-copy:hover  { background:var(--accent-mid); transform:translateY(-1px); }
.aide-mail-copy.aide-copied { background:var(--green); }
.aide-mail-hint { font-size:11px; color:rgba(255,255,255,.3); text-align:center; margin-top:9px; }
.aide-mail-open { display:flex; align-items:center; gap:7px; padding:10px 14px; border-radius:8px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); font-size:12px; color:rgba(255,255,255,.5); text-decoration:none; transition:background .2s,color .2s; }
.aide-mail-open:hover { background:rgba(255,255,255,.1); color:rgba(255,255,255,.8); }

/* Footer */
.aide-footer { padding:18px 32px 14px; font-family:var(--font-display); font-size:10px; font-weight:700; letter-spacing:.1em; color:var(--muted-light); text-align:center; }

/* ── Responsive ── */
@media (max-width:1100px) { .aide-steps { grid-template-columns:repeat(2,1fr); } .aide-feat-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:720px)  {
  .aide-hero { padding:30px 18px 28px; }
  .aide-tl { font-size:28px; } .aide-ta { font-size:22px; }
  .aide-section { padding:24px 16px 0; }
  .aide-steps { grid-template-columns:1fr; }
  .aide-feat-grid { grid-template-columns:1fr; }
  .aide-cta-card { grid-template-columns:1fr; padding:26px 18px; }
  .aide-cta-section { padding:24px 16px 28px; }
}

/* ══ LEGAL MODULE ══ */
.legal-page   { flex:1; overflow:hidden; display:flex; flex-direction:column; }
.legal-scroll { flex:1; overflow-y:auto; padding:8px 24px 40px; }

.legal-tabs {
  display:flex; gap:6px; padding:6px; background:var(--surface);
  border:1px solid var(--border); border-radius:12px;
  margin-bottom:18px; max-width:520px;
}
.legal-tab {
  flex:1; display:flex; align-items:center; justify-content:center; gap:6px;
  padding:9px 12px; border-radius:8px; border:none; cursor:pointer;
  background:transparent; color:var(--muted);
  font-family:var(--font-display); font-size:12px; font-weight:700;
  letter-spacing:.02em; transition:background .2s, color .2s;
}
.legal-tab:hover { background:var(--surface-low); color:var(--txt); }
.legal-tab.active { background:var(--accent); color:#fff; }
.legal-tab.active:hover { background:var(--accent-mid); }

.legal-content { max-width:820px; }
.legal-doc {
  background:var(--surface); border:1px solid var(--border); border-radius:14px;
  overflow:hidden;
}
.legal-doc-header {
  padding:26px 32px 22px;
  background:linear-gradient(140deg,#091420 0%,#1E2A3A 60%,#0f1c2c 100%);
  color:#fff;
}
.legal-doc-title {
  font-family:var(--font-display); font-weight:900; font-size:24px;
  color:#fff; margin:0 0 6px; letter-spacing:-.01em;
}
.legal-doc-subtitle {
  font-family:var(--font-body); font-size:12px;
  color:rgba(255,255,255,.5); letter-spacing:.02em;
}
.legal-doc-body {
  padding:24px 32px 30px;
  font-family:var(--font-body); font-size:13.5px; line-height:1.75;
  color:var(--txt);
}
.legal-doc-body h3 {
  font-family:var(--font-display); font-weight:800; font-size:15px;
  color:var(--txt); margin:22px 0 10px; letter-spacing:-.01em;
}
.legal-doc-body h3:first-child { margin-top:0; }
.legal-doc-body p { margin:0 0 12px; color:var(--txt); }
.legal-doc-body ul { margin:0 0 14px; padding-left:20px; }
.legal-doc-body li { margin:5px 0; color:var(--txt); }
.legal-doc-body strong { color:var(--txt); font-weight:700; }

@media (max-width:720px) {
  .legal-scroll { padding:8px 14px 30px; }
  .legal-doc-header { padding:20px 20px 18px; }
  .legal-doc-title { font-size:20px; }
  .legal-doc-body { padding:18px 20px 22px; font-size:13px; }
  .legal-tab span:last-child { display:none; }
  .legal-tab { padding:10px; }
}

/* ══ TARIFS MODULE ══ */
@keyframes tarifsIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

.tarifs-page   { flex:1; overflow:hidden; display:flex; flex-direction:column; }
.tarifs-scroll { flex:1; overflow-y:auto; }

.tarifs-hero {
  position:relative; overflow:hidden;
  padding:50px 36px 44px;
  background:linear-gradient(148deg,#091420 0%,#1E2A3A 55%,#0f1d2e 100%);
  text-align:center;
}
.tarifs-hero-glow {
  position:absolute; top:-120px; left:50%; transform:translateX(-50%);
  width:600px; height:400px; border-radius:50%;
  background:radial-gradient(circle,rgba(0,201,107,.12) 0%,transparent 65%);
  pointer-events:none;
}
.tarifs-hero-content { position:relative; z-index:1; max-width:600px; margin:0 auto; }
.tarifs-badge-launch {
  display:inline-block; padding:6px 16px; border-radius:20px; margin-bottom:18px;
  background:rgba(0,201,107,.15); border:1px solid rgba(0,201,107,.3);
  font-family:var(--font-display); font-size:11px; font-weight:800;
  letter-spacing:.12em; color:#00C96B;
  animation:tarifsIn .5s both;
}
.tarifs-hero-title { margin:0 0 14px; display:flex; flex-direction:column; gap:2px; line-height:1.15; }
.tarifs-tl { font-family:var(--font-display); font-weight:900; font-size:38px; color:#fff; letter-spacing:-.02em; }
.tarifs-ta {
  font-family:var(--font-display); font-weight:900; font-size:26px; letter-spacing:-.01em;
  background:linear-gradient(120deg,#7a9ab8 0%,#c8ddef 48%,#8fb3d4 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.tarifs-hero-sub {
  font-family:var(--font-body); font-size:14px; line-height:1.65;
  color:rgba(255,255,255,.48); margin:0; max-width:500px; display:inline-block;
}

.tarifs-section { padding:36px 32px 0; }
.tarifs-sh      { margin-bottom:20px; }
.tarifs-tag {
  display:inline-block; padding:3px 10px; border-radius:6px; margin-bottom:7px;
  background:var(--accent-light); color:var(--accent);
  font-family:var(--font-display); font-size:10px; font-weight:700; letter-spacing:.1em;
}
.tarifs-stitle { font-family:var(--font-display); font-weight:800; font-size:21px; color:var(--txt); letter-spacing:-.01em; margin:0; }

.tarifs-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px;
  max-width:960px; margin:0 auto;
}
.tarifs-card {
  background:var(--surface); border:1px solid var(--border); border-radius:16px;
  padding:28px 24px 24px; position:relative;
  display:flex; flex-direction:column;
  animation:tarifsIn .5s cubic-bezier(.16,1,.3,1) both;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tarifs-card:nth-child(1) { animation-delay:.05s; }
.tarifs-card:nth-child(2) { animation-delay:.12s; }
.tarifs-card:nth-child(3) { animation-delay:.19s; }
.tarifs-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.tarifs-card-pop {
  border-color:rgba(0,136,255,.3);
  box-shadow:0 0 0 1px rgba(0,136,255,.1), var(--shadow-md);
}
.tarifs-plan-badge {
  position:absolute; top:14px; right:14px;
  padding:3px 10px; border-radius:12px;
  font-family:var(--font-display); font-size:9px; font-weight:800;
  letter-spacing:.1em; border:1px solid;
}
.tarifs-plan-name {
  font-family:var(--font-display); font-size:15px; font-weight:800;
  letter-spacing:.04em; text-transform:uppercase; margin-bottom:12px;
}
.tarifs-price { display:flex; align-items:baseline; gap:4px; margin-bottom:6px; }
.tarifs-price-val {
  font-family:var(--font-display); font-size:36px; font-weight:900;
  color:var(--txt); letter-spacing:-.02em; line-height:1;
}
.tarifs-price-per { font-size:13px; color:var(--muted); font-weight:600; }
.tarifs-plan-desc { font-size:12.5px; color:var(--muted); margin-bottom:20px; line-height:1.5; }

.tarifs-feats {
  list-style:none; margin:0 0 20px; padding:16px 0 0;
  border-top:1px solid var(--border);
  display:flex; flex-direction:column; gap:9px; flex:1;
}
.tarifs-feat {
  display:flex; align-items:center; gap:9px;
  font-size:12.5px; color:var(--txt); line-height:1.4;
}
.tarifs-feat.off { color:var(--muted-light); }
.tarifs-feat-ic { flex-shrink:0; width:18px; display:flex; align-items:center; justify-content:center; }

.tarifs-cta {
  width:100%; padding:11px; border-radius:10px; border:none; cursor:pointer;
  font-family:var(--font-display); font-size:12.5px; font-weight:700;
  letter-spacing:.04em; transition:background .2s, transform .15s, opacity .2s;
}
.tarifs-cta-current {
  background:var(--accent); color:#fff;
}
.tarifs-cta-current:hover { background:var(--accent-mid); transform:translateY(-1px); }
.tarifs-cta-soon {
  background:var(--surface-low); color:var(--muted); border:1px solid var(--border);
  cursor:default; opacity:.7;
}
.tarifs-cta-soon:disabled { pointer-events:none; }

.tarifs-faq-section { padding-bottom:0; }
.tarifs-faq { border:1px solid var(--border); border-radius:12px; overflow:hidden; background:var(--surface); max-width:720px; }
.tarifs-faq-item { border-bottom:1px solid var(--border); }
.tarifs-faq-item:last-child { border-bottom:none; }
.tarifs-faq-item.open { background:var(--surface-low); }
.tarifs-faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 20px; background:none; border:none; cursor:pointer; text-align:left; }
.tarifs-faq-q:hover { background:var(--surface-low); }
.tarifs-faq-qt { font-size:13.5px; font-weight:700; color:var(--txt); flex:1; line-height:1.4; }
.tarifs-faq-ic { color:var(--muted); flex-shrink:0; transition:transform .3s cubic-bezier(.16,1,.3,1); }
.tarifs-faq-item.open .tarifs-faq-ic { transform:rotate(180deg); }
.tarifs-faq-body { transition:max-height .32s cubic-bezier(.16,1,.3,1); }
.tarifs-faq-a { padding:0 20px 16px; padding-top:14px; font-size:13px; line-height:1.7; color:var(--muted); border-top:1px solid var(--border); }

.tarifs-footer {
  padding:24px 32px 18px;
  font-family:var(--font-display); font-size:10px; font-weight:700;
  letter-spacing:.1em; color:var(--muted-light); text-align:center;
}

@media (max-width:900px) { .tarifs-grid { grid-template-columns:1fr; max-width:400px; } }
@media (max-width:720px) {
  .tarifs-hero { padding:30px 18px 28px; }
  .tarifs-tl { font-size:28px; } .tarifs-ta { font-size:20px; }
  .tarifs-section { padding:24px 16px 0; }
}

/* ══ GATE MODAL ══ */
.gate-modal-overlay {
  position:fixed; inset:0; z-index:99998;
  background:rgba(6,14,24,.78);
  backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; transition:opacity .35s ease;
}
.gate-modal-overlay.visible { opacity:1; }
.gate-modal-card {
  background:linear-gradient(148deg,#0c1b2b 0%,#1a2d42 58%,#0f2035 100%);
  border:1px solid rgba(143,179,212,.18); border-radius:22px; padding:44px 40px;
  max-width:440px; width:100%; position:relative; overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.65), 0 0 0 1px rgba(143,179,212,.07);
  transform:translateY(22px);
  transition:transform .38s cubic-bezier(.16,1,.3,1);
}
.gate-modal-overlay.visible .gate-modal-card { transform:translateY(0); }
.gate-modal-card::before {
  content:''; position:absolute; top:-70px; right:-55px;
  width:260px; height:260px; border-radius:50%;
  background:radial-gradient(circle,rgba(143,179,212,.12) 0%,transparent 70%);
  pointer-events:none;
}
.gate-close {
  position:absolute; top:16px; right:16px;
  width:32px; height:32px; border-radius:8px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.4); font-size:15px; cursor:pointer;
  transition:background .2s, color .2s;
}
.gate-close:hover { background:rgba(255,255,255,.13); color:rgba(255,255,255,.85); }
.gate-brand { display:flex; align-items:center; gap:10px; margin-bottom:24px; }
.gate-brand-logo { width:36px; height:36px; border-radius:9px; object-fit:cover; }
.gate-brand-name { font-family:var(--font-display); font-weight:800; font-size:14px; color:rgba(255,255,255,.88); letter-spacing:-.01em; }
.gate-title { font-family:var(--font-display); font-weight:900; font-size:24px; color:#fff; letter-spacing:-.02em; margin:0 0 8px; }
.gate-sub   { font-size:13px; line-height:1.65; color:rgba(255,255,255,.46); margin:0 0 28px; }
.gate-oauth { display:flex; flex-direction:column; gap:10px; margin-bottom:4px; }
.gate-btn {
  width:100%; display:flex; align-items:center; justify-content:center; gap:11px;
  padding:14px 16px; border-radius:12px; font-size:14px; font-weight:700;
  cursor:pointer; border:none; transition:all .22s;
}
.gate-google  { background:#fff; color:#3c4043; }
.gate-google:hover  { background:#eef2ff; box-shadow:0 6px 20px rgba(66,133,244,.2); }
.gate-discord { background:#5865F2; color:#fff; }
.gate-discord:hover { background:#4752c4; box-shadow:0 6px 20px rgba(88,101,242,.38); }
.gate-sep {
  display:flex; align-items:center; gap:12px; margin:22px 0 16px;
  font-size:11.5px; color:rgba(255,255,255,.28); font-weight:600;
}
.gate-sep::before, .gate-sep::after { content:''; flex:1; height:1px; background:rgba(255,255,255,.09); }
.gate-email-input {
  width:100%; padding:13px 16px; border-radius:11px; box-sizing:border-box;
  background:rgba(255,255,255,.07); border:1.5px solid rgba(255,255,255,.12);
  color:#fff; font-size:14px; outline:none; margin-bottom:10px;
  transition:border-color .2s;
}
.gate-email-input::placeholder { color:rgba(255,255,255,.28); }
.gate-email-input:focus { border-color:rgba(143,179,212,.55); }
.gate-email-btn {
  width:100%; padding:13px; border-radius:11px; border:1px solid rgba(143,179,212,.28);
  background:rgba(30,42,58,.8); color:rgba(255,255,255,.88);
  font-family:var(--font-display); font-size:13.5px; font-weight:700; letter-spacing:.02em;
  cursor:pointer; transition:all .2s;
}
.gate-email-btn:hover { background:rgba(44,62,88,.9); border-color:rgba(143,179,212,.5); }
.gate-email-btn:disabled { opacity:.55; cursor:default; }
.gate-status { font-size:12px; min-height:18px; margin-top:9px; text-align:center; }
.gate-divider { height:1px; background:rgba(255,255,255,.08); margin:24px 0; }
.gate-continue {
  width:100%; display:flex; align-items:center; justify-content:center;
  padding:13px; border-radius:11px; border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04); color:rgba(255,255,255,.42);
  font-size:13.5px; font-weight:600; cursor:pointer; transition:all .2s;
}
.gate-continue:hover { background:rgba(255,255,255,.09); color:rgba(255,255,255,.75); border-color:rgba(255,255,255,.2); }

/* ══ SETTINGS APPLIED CLASSES ══ */
.no-anim *, .no-anim *::before, .no-anim *::after {
  animation-duration: 0ms !important;
  transition-duration: 0ms !important;
}
/* Éléments UI critiques — toujours actifs quelles que soient les préférences */
.no-anim .live-dot           { animation: pulse 1.5s ease-in-out infinite !important; }
.no-anim .tb-status-dot      { animation: pulse 1.5s ease-in-out infinite !important; }
.no-anim .sb-nav-item {
  transition: background .22s cubic-bezier(.16,1,.3,1), color .18s ease,
              box-shadow .22s ease, transform .22s cubic-bezier(.16,1,.3,1) !important;
}
.no-anim .ann-card {
  transition: transform .28s cubic-bezier(.16,1,.3,1), border-color .2s !important;
}
/* Sidebar expand + labels — toujours animés */
.no-anim .sidebar {
  transition: width .38s cubic-bezier(.16,1,.3,1), box-shadow .38s ease, transform .3s ease !important;
}
.no-anim .sb-label,
.no-anim .sb-nav-badge,
.no-anim .sb-logo-txt {
  transition: opacity .22s ease, transform .22s ease !important;
}
/* Loader tagline + glow — toujours animés */

.density-large .ann-card { padding: 20px; }
.density-large .ann-title { font-size: 16px; }
.density-large .ann-meta  { font-size: 13px; margin-top: 6px; }
.density-large .veh-list  { gap: 16px; }
.density-large .ann-img   { height: 180px; }
.gate-continue-note { font-size:11px; color:rgba(255,255,255,.2); text-align:center; margin-top:9px; }

/* ══ PREMIUM PLAN CARD ══ */
.plan-premium-hero {
  position:relative; overflow:hidden;
  border:1.5px solid rgba(245,200,66,.45);
  border-radius:16px;
  background: linear-gradient(135deg, #0d1f3c 0%, #111b2e 60%, #1a2540 100%);
  padding:28px 28px 24px;
  box-shadow: 0 0 40px rgba(245,200,66,.12), 0 4px 32px rgba(0,0,0,.45);
}
.plan-premium-glow {
  position:absolute; top:-60px; right:-60px;
  width:240px; height:240px; border-radius:50%;
  background: radial-gradient(circle, rgba(245,200,66,.18) 0%, transparent 70%);
  pointer-events:none;
}
.plan-diamond-icon {
  font-size:38px; line-height:1;
  filter: drop-shadow(0 0 12px rgba(245,200,66,.6));
}
.plan-premium-label {
  font-family:var(--font-display);
  font-weight:800; font-size:18px; letter-spacing:.04em;
  color:#f5c842;
  text-shadow: 0 0 20px rgba(245,200,66,.4);
}
.plan-free-badge {
  background: linear-gradient(135deg, #f5c842, #e6a817);
  color:#0d1f3c;
  font-family:var(--font-display);
  font-weight:900; font-size:11px; letter-spacing:.12em;
  padding:6px 16px; border-radius:999px;
  box-shadow: 0 2px 12px rgba(245,200,66,.45);
  white-space:nowrap;
}
.plan-premium-feats {
  display:grid; grid-template-columns:1fr 1fr; gap:8px 20px;
}
@media(max-width:560px) { .plan-premium-feats { grid-template-columns:1fr; } }
.plan-feat-item {
  display:flex; align-items:flex-start; gap:8px;
  font-family:var(--font-body); font-size:12.5px;
  color:rgba(255,255,255,.75); line-height:1.5;
}

/* ══ SIGNOUT CONFIRM MODAL ══ */
.signout-card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:20px;
  padding:36px 32px 28px;
  width:min(400px,90vw);
  display:flex; flex-direction:column; align-items:center; gap:12px;
  animation:gateIn .3s cubic-bezier(.34,1.56,.64,1) both;
}
.signout-icon-wrap {
  width:60px; height:60px; border-radius:50%;
  background:var(--surface-low); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:4px;
}
.signout-title { font-family:var(--font-display); font-weight:800; font-size:20px; color:var(--txt); text-align:center; }
.signout-sub { font-size:13px; color:var(--muted); text-align:center; line-height:1.6; }
.signout-actions { display:flex; gap:10px; width:100%; margin-top:8px; }
.signout-btn-cancel {
  flex:1; padding:12px; border-radius:10px; border:1px solid var(--border);
  background:transparent; color:var(--muted);
  font-family:var(--font-body); font-size:13px; font-weight:700; cursor:pointer;
  transition:all .2s;
}
.signout-btn-cancel:hover { background:var(--surface-low); color:var(--txt); }
.signout-btn-confirm {
  flex:2; padding:12px; border-radius:10px; border:none;
  background:linear-gradient(135deg,#ef4444,#dc2626);
  color:#fff; font-family:var(--font-display); font-size:13px; font-weight:700; cursor:pointer;
  transition:all .2s;
}
.signout-btn-confirm:hover { background:linear-gradient(135deg,#dc2626,#b91c1c); transform:translateY(-1px); box-shadow:0 4px 16px rgba(239,68,68,.35); }

/* ══ DÉCONNEXION « FIN DE FILM » ══ */
#dashRoot.bye-recede { transition: transform 1.1s cubic-bezier(.65,0,.35,1), filter 1.1s ease; transform: scale(.92); filter: brightness(.3) blur(3px); }
#byeScreen {
  position: fixed; inset: 0; z-index: 99998; cursor: pointer; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 90% at 50% 50%, #0B0E13 0%, #050608 58%, #020203 100%);
  opacity: 0; transition: opacity 1s ease .45s;
}
#byeScreen.on { opacity: 1; }
.bye-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ldGrain .9s steps(6) infinite; }
.bye-tv { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 24px; transform-origin: 50% 50%; }
.bye-word {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 6.2vw, 104px); line-height: .95;
  color: #F3F5F7; white-space: nowrap; opacity: 0;
  text-shadow: 0 0 18px rgba(0,201,107,.55), 0 0 60px rgba(0,201,107,.3);
}
#byeScreen.on .bye-word { animation: byeNeon 1.3s steps(1, end) 1s forwards; }
@keyframes byeNeon {
  0% { opacity: 0; } 8% { opacity: .85; } 11% { opacity: .1; } 19% { opacity: 1; } 22% { opacity: .25; }
  30% { opacity: .95; } 33% { opacity: .5; } 40%, 100% { opacity: 1; }
}
.bye-title {
  margin-top: 30px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.9vw, 36px);
  text-transform: uppercase; color: #fff; letter-spacing: .6em; opacity: 0;
}
#byeScreen.on .bye-title { animation: byeTrack 1.1s cubic-bezier(.16,1,.3,1) 1.7s forwards; }
@keyframes byeTrack { to { opacity: 1; letter-spacing: .22em; } }
.bye-sub { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.62); opacity: 0; }
.bye-links { display: flex; gap: 10px; margin-top: 26px; font-size: 15px; color: rgba(255,255,255,.45); opacity: 0; }
.bye-links a { color: #2EE59D; text-decoration: none; }
.bye-links a:hover { text-decoration: underline; }
#byeScreen.on .bye-sub { animation: byeFade .8s ease 2.1s forwards; }
#byeScreen.on .bye-links { animation: byeFade .8s ease 2.35s forwards; }
@keyframes byeFade { to { opacity: 1; } }
#byeScreen.tv-off .bye-tv { animation: byeTvOff .75s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes byeTvOff {
  0%   { transform: scale(1, 1); filter: brightness(1); }
  45%  { transform: scale(1.04, .006); filter: brightness(3.5); }
  75%  { transform: scale(.004, .006); filter: brightness(5); opacity: 1; }
  100% { transform: scale(0, 0); filter: brightness(5); opacity: 0; }
}
.bye-scan {
  position: absolute; left: 50%; top: 50%; width: min(900px, 80vw); height: 2px; z-index: 3; pointer-events: none;
  transform: translate(-50%, -50%) scale(1, 1); opacity: 0;
  background: linear-gradient(90deg, transparent, #fff 16%, #fff 84%, transparent);
  box-shadow: 0 0 18px 4px rgba(46,229,157,.8), 0 0 70px 14px rgba(255,255,255,.35);
}
#byeScreen.tv-off .bye-scan { animation: byeScan .9s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes byeScan {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(1, 1); }
  28%  { opacity: 1; transform: translate(-50%, -50%) scale(1, 1.4); }
  62%  { opacity: 1; transform: translate(-50%, -50%) scale(.02, 1); }
  68%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.01, 1); }
}
.bye-dot {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 28%, rgba(46,229,157,.85) 46%, rgba(46,229,157,0) 72%);
  box-shadow: 0 0 22px 6px rgba(46,229,157,.55);
}
#byeScreen.tv-off .bye-dot { animation: byeDot .9s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes byeDot {
  0%, 58% { opacity: 0; transform: scale(1.4); }
  66%     { opacity: 1; transform: scale(1); }
  86%     { opacity: 1; transform: scale(.7); }
  100%    { opacity: 0; transform: scale(0); }
}
@media (prefers-reduced-motion: reduce) {
  #dashRoot.bye-recede { transition: none; transform: none; filter: brightness(.3); }
  .bye-grain, #byeScreen.on .bye-word, #byeScreen.on .bye-title, #byeScreen.on .bye-sub, #byeScreen.on .bye-links { animation: none; opacity: 1; letter-spacing: .22em; }
}

/* ══════════════════════════════════════════
   ANALYSE LIEN — Layout responsive
══════════════════════════════════════════ */
.al-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 8px;
  align-items: start;
}
.al-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.al-btn-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.al-btn {
  padding: 7px 12px;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── Mobile ≤ 768px : empilement colonne ── */
@media (max-width: 768px) {
  .al-layout {
    grid-template-columns: 1fr;
  }
  .module-inner {
    padding: 6px !important;
  }
}

/* ── Très petits écrans ≤ 480px : champs pleine largeur ── */
@media (max-width: 480px) {
  .al-form-row {
    grid-template-columns: 1fr;
  }
  .al-btn {
    flex: 1 1 calc(50% - 3px);
    text-align: center;
  }
}

/* ── Prévention auto-zoom iOS sur les inputs ── */
@media (max-width: 768px) {
  .calc-input,
  .calc-input[type="number"],
  .calc-input[type="url"],
  .calc-input[type="text"],
  select.calc-input,
  textarea.calc-input {
    font-size: 16px !important;
  }
}

/* ── Touch targets : boutons assez grands sur mobile ── */
@media (max-width: 768px) {
  .al-btn {
    min-height: 40px;
    padding: 9px 12px;
  }
  .btn {
    min-height: 38px;
  }
}

/* ══ LIENS LÉGAUX SIDEBAR ══ */
.sb-legal-links {
  padding: 10px 12px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sb-legal-links a {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--muted-light);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.sb-legal-links a:hover { color: var(--txt); }
.sb-legal-links span {
  font-size: 10px;
  color: var(--border-dark);
  user-select: none;
}

.material-symbols-outlined.ic{font-size:1.05em;vertical-align:-0.15em;line-height:1;}

/* ══ TYPOGRAPHIE v2 — Grand Tourisme ══
   Chiffres (prix, scores, stats) en mono à chasse fixe : lecture « tableau de bord ». */
.ann-price, .ann-price-old, .ann-score, .an-kpi-value, .kpi-val, .stat-pill-val,
.sp-stat-val, .ps-val, .calc-result-val, .t-val, .tarifs-price-val, .pricing-price, .vd-gaugec-val {
  font-family: var(--font-mono) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}
body { font-family: var(--font-body); font-weight: 500; font-size-adjust: .58; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, .topbar-title, .sb-logo-txt { text-wrap: balance; }

/* ══ LOADER CINÉMATIQUE ══
   Rubans de lumière (canvas) → ligne → révélation + décodage du nom → traversée du logo. */
.loader-screen {
  position: fixed; inset: 0; z-index: 99999; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 90% at 50% 50%, #0B0E13 0%, #050608 58%, #020203 100%);
  transition: opacity .75s cubic-bezier(.7,0,.3,1) .3s, visibility 0s linear 1.1s;
}
.loader-screen.ld-exit { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-screen.ld-2d .loader-screen.ld-exit .ld-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 70% at 50% 50%, transparent 38%, rgba(0,0,0,.72) 100%); }
.ld-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: ldGrain .9s steps(6) infinite; }
@keyframes ldGrain { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,3%)} 50%{transform:translate(3%,-5%)} 75%{transform:translate(-2%,-2%)} 100%{transform:translate(0,0)} }
.ld-stage { position: relative; z-index: 2; text-align: center; will-change: transform, opacity; animation: ldPush 3.4s cubic-bezier(.25,.1,.25,1) .9s both; }
@keyframes ldPush { from { transform: none; } to { transform: none; } }
.ld-word {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 7.4vw, 136px);
  line-height: .95; letter-spacing: .005em; color: #F3F5F7; white-space: nowrap;
  clip-path: inset(50% 0 50% 0);
  text-shadow: -3px 0 rgba(255,59,92,.6), 3px 0 rgba(64,200,255,.6), 0 0 52px rgba(0,201,107,.32);
}
.ld-word.on { animation: ldOpen .7s cubic-bezier(.16,1,.3,1) forwards, ldSettle 1.2s cubic-bezier(.16,1,.3,1) .2s forwards; }
@keyframes ldOpen   { to { clip-path: inset(-25% -2% -25% -2%); } }
@keyframes ldSettle { to { text-shadow: 0 0 0 rgba(255,59,92,0), 0 0 0 rgba(64,200,255,0), 0 0 44px rgba(0,201,107,.22); } }
.ld-word-wrap { position: relative; display: inline-block; }
.ld-word-wrap::after {
  content: ''; position: absolute; inset: -10% -4%; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%);
  mix-blend-mode: overlay; transform: translateX(-120%);
}
.ld-word-wrap.sheen::after { animation: ldSheen 1.1s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes ldSheen { 10% { opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }
.ld-line {
  height: 1px; width: min(560px, 68vw); margin: 22px auto 0; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, rgba(0,201,107,.95) 30%, rgba(64,200,255,.95) 70%, transparent);
  box-shadow: 0 0 18px rgba(0,201,107,.55);
}
.ld-line.on { animation: ldLine 1s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes ldLine { to { transform: scaleX(1); } }
.ld-tagline {
  margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .75em; color: rgba(236,237,239,.78); opacity: 0;
}
.ld-tagline.on { animation: ldTag 1.1s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes ldTag { to { opacity: 1; letter-spacing: var(--ld-track, .36em); } }
.ld-tagline { white-space: nowrap; }
@media (max-width: 600px) {
  .ld-tagline { font-size: 10px; letter-spacing: .4em; --ld-track: .16em; }
  .ld-line { margin-top: 16px; }
}
.loader-version {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 2; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: rgba(236,237,239,.3);
}
.loader-screen.ld-exit .ld-stage { animation: ldThrough .95s cubic-bezier(.7,0,.84,0) forwards; }
@keyframes ldThrough { from { opacity: 1; } to { opacity: 0; } }
#dashRoot.cine-in { animation: dashArrive 1.1s cubic-bezier(.16,1,.3,1) .25s both; }
@keyframes dashArrive { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ld-word { clip-path: none; text-shadow: 0 0 44px rgba(0,201,107,.22); }
  .ld-line { transform: none; } .ld-tagline { opacity: 1; letter-spacing: .36em; }
  .ld-grain, .ld-stage, .loader-screen.ld-exit .ld-stage, #dashRoot.cine-in { animation: none; }
}

/* Les icônes Material gardent leur taille nominale (pas de font-size-adjust hérité). */
.material-symbols-outlined { font-size-adjust: none; }

/* ══ VERRE DÉPOLI — laisse vivre l'arrière-plan (aurore + route) ══
   Seulement les grandes surfaces ; les cartes restent opaques (lisibilité + perf). */
.fm-modhead, .veh-filters {
  background: rgba(255,255,255,.58) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 12px 32px -18px rgba(14,26,48,.28);
}
.veh-filters { border-bottom-color: rgba(255,255,255,.6); }
.topbar { background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.stats-bar { background: rgba(255,255,255,.42); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }

/* ══ PROFONDEUR & MOUVEMENT (langage Tech&Dev) ══ */
/* Bandeau de module */
.fm-modhead {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; margin-bottom: 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.78); border-left: 3px solid var(--mh);
}
.fm-modhead::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px 130px at 0% 50%, color-mix(in srgb, var(--mh) 18%, transparent), transparent 70%);
}
.fm-modhead-ic {
  position: relative; width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--mh) 12%, #fff);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--mh) 30%, transparent), 0 10px 24px -8px color-mix(in srgb, var(--mh) 65%, transparent);
}
.fm-modhead-txt { position: relative; flex: 1; min-width: 0; }
.fm-modhead-title { display: inline-block; font-family: var(--font-display); font-weight: 900; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--txt); }
.fm-modhead-sub { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.fm-reveal { overflow: hidden; line-height: 1.25; }
.fm-reveal > * { transform: translateY(105%); animation: fmRevealUp .75s cubic-bezier(.16,1,.3,1) .05s forwards; }
@keyframes fmRevealUp { to { transform: none; } }
.fm-live { position: relative; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--mh); box-shadow: 0 0 10px var(--mh); }
.fm-live::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--mh); opacity: 0; animation: fmPing 2.2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes fmPing { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }

/* Cartes : élévation en couches (ambiante + principale + contact) */
.ann-card {
  box-shadow: 0 1px 1px rgba(14,26,48,.04), 0 2px 4px rgba(14,26,48,.04),
              0 10px 20px -6px rgba(14,26,48,.10), 0 24px 44px -16px rgba(14,26,48,.14);
  transition: transform .32s cubic-bezier(.16,1,.3,1), box-shadow .32s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.ann-card:hover {
  box-shadow: 0 2px 4px rgba(14,26,48,.06), 0 20px 36px -10px rgba(14,26,48,.24),
              0 44px 80px -28px rgba(0,201,107,.32);
}
.ann-img::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(8,14,26,.28) 0%, rgba(8,14,26,0) 42%);
}
.ann-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pépite : liseré vert au repos, bordure lumineuse tournante au survol */
@property --fm-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.ann-card.is-pepite {
  border-color: color-mix(in srgb, #00C96B 38%, var(--border));
  box-shadow: 0 1px 1px rgba(14,26,48,.04), 0 10px 20px -6px rgba(14,26,48,.10),
              0 22px 44px -18px rgba(0,201,107,.36);
}
.ann-card.is-pepite:hover::after {
  opacity: 1; padding: 2px;
  background: conic-gradient(from var(--fm-angle), rgba(0,201,107,0) 0%, #00C96B 12%, #40C8FF 22%, rgba(64,200,255,0) 34%, rgba(0,201,107,0) 100%);
  animation: fmSpin 2.6s linear infinite;
}
@keyframes fmSpin { to { --fm-angle: 360deg; } }

/* Accessibilité : réduction globale des animations (comme Tech&Dev) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fm-reveal > * { transform: none; }
}

/* ══ COVERFLOW 3D — galerie de la fiche véhicule (Tech&Dev) ══ */
.vd-cf {
  position: relative; width: 100%; aspect-ratio: 16/7; margin-bottom: 20px; border-radius: 14px; overflow: hidden; outline: none;
  background: radial-gradient(70% 90% at 50% 45%, #1d2533 0%, #0b0f16 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 50px -24px rgba(14,26,48,.5);
  touch-action: pan-y; user-select: none;
}
.vd-cf:focus-visible { box-shadow: 0 0 0 2px #2EE59D; }
.vd-cf-stage { position: absolute; inset: 0; perspective: 1400px; }
.vd-cf-item {
  position: absolute; top: 7%; left: 21%; width: 58%; height: 86%; margin: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: #10151e; will-change: transform;
  box-shadow: 0 34px 60px -22px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  transition: transform .7s cubic-bezier(.16,1,.3,1), opacity .5s ease, filter .5s ease;
}
.vd-cf-item.is-active { cursor: default; }
.vd-cf-item img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; }
.vd-cf-item.is-broken { visibility: hidden; }
.vd-cf-nav {
  position: absolute; top: 50%; z-index: 20; width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(10,14,22,.45); border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translateY(-50%); transition: background .2s, transform .25s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.vd-cf-nav:hover { background: rgba(0,201,107,.32); border-color: rgba(46,229,157,.6); transform: translateY(-50%) scale(1.08); }
.vd-cf-nav:focus-visible { outline: 2px solid #2EE59D; outline-offset: 2px; }
.vd-cf-nav.prev { left: 14px; } .vd-cf-nav.next { right: 14px; }
.vd-cf-dots { position: absolute; bottom: 14px; left: 50%; z-index: 20; display: flex; gap: 6px; transform: translateX(-50%); }
.vd-cf-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: rgba(255,255,255,.4); transition: width .4s cubic-bezier(.16,1,.3,1), background .3s; }
.vd-cf-dot.on { width: 22px; background: #2EE59D; }
.vd-cf-count {
  position: absolute; top: 14px; right: 14px; z-index: 20; padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,.85);
  background: rgba(10,14,22,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.vd-cf-count b { color: #2EE59D; }
.vd-cf .vd-hero-badges { z-index: 20; }
@media (max-width: 700px) {
  .vd-cf { aspect-ratio: 4/3; }
  .vd-cf-item { left: 11%; width: 78%; }
  .vd-cf-nav { display: none; }
}

/* ══ REFLET façon Linear (21st.dev Glare Card) ══ */
:where(.fx-glare) { position: relative; }
.fx-glare::after {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background:
    radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.30), transparent 42%),
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,.10) 50%, transparent 62%);
  mix-blend-mode: overlay;
}
.fx-glare:hover::after { opacity: 1; }
.vd-cf-item:not(.is-active)::after { display: none; }

/* ══ APERÇU À RESSORT (Tech&Dev) ══ */
.fx-preview-box {
  position: fixed; left: 0; top: 0; z-index: 9500; width: 240px; border-radius: 12px; overflow: hidden;
  pointer-events: none; opacity: 0; will-change: transform, opacity; background: #0f141c; transform-origin: 0 100%;
  box-shadow: 0 22px 44px -12px rgba(14,26,48,.5), 0 0 0 1px rgba(255,255,255,.65), 0 0 46px rgba(0,201,107,.2);
}
.fx-preview-box img { display: block; width: 100%; height: 160px; object-fit: cover; }
[data-preview] { cursor: pointer; }

/* ══ DÉFILEMENT VIVANT ══ */
.ann-card.fx-io { opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .85s cubic-bezier(.16,1,.3,1), filter .7s ease; }
.ann-card.fx-io.fx-in { opacity: 1; transform: none; filter: none; }
.fm-modhead, .fm-modhead-ic, .fm-modhead-title, .fm-modhead-sub {
  transition: padding .45s cubic-bezier(.16,1,.3,1), margin .45s cubic-bezier(.16,1,.3,1), width .45s cubic-bezier(.16,1,.3,1),
              height .45s cubic-bezier(.16,1,.3,1), font-size .45s cubic-bezier(.16,1,.3,1), opacity .3s ease, max-height .45s ease;
}
.fm-modhead-sub { max-height: 2.6em; overflow: hidden; }
body.fm-scrolled .fm-modhead { padding: 9px 16px; margin-bottom: 12px; }
body.fm-scrolled .fm-modhead-ic { width: 32px; height: 32px; }
body.fm-scrolled .fm-modhead-title { font-size: 15px; }
body.fm-scrolled .fm-modhead-sub { max-height: 0; opacity: 0; margin-top: 0; }
.topbar { transition: background .35s ease, box-shadow .35s ease; }
body.fm-scrolled .topbar { background: rgba(255,255,255,.9); box-shadow: 0 1px 0 rgba(30,42,58,.08), 0 12px 32px -14px rgba(30,42,58,.3); }
.fm-w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(6px);
  animation: fmWordIn .75s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--i) * 45ms + 200ms); }
@keyframes fmWordIn { to { opacity: 1; filter: none; transform: none; } }

/* ══ MICRO-INTERACTIONS ══ */
/* Chiffres qui roulent */
.fx-dg { display: inline-block; height: 1.15em; line-height: 1.15em; overflow: hidden; vertical-align: bottom; }
.fx-dg-col { display: inline-block; text-align: center; transition: transform 1s cubic-bezier(.16,1,.3,1); will-change: transform; }
/* Fenêtres à ressort (raideur 300, amortissement 23 → 610 ms, dépassement 6 %) */
.gate-modal-card {
  transform: translateY(18px); opacity: 0;
  transition-property: transform, opacity; transition-duration: .61s, .25s;
  transition-timing-function: cubic-bezier(.34,1.4,.64,1), ease;
  transition-timing-function: linear(0, 0.0392, 0.1344, 0.2606, 0.3987, 0.5349, 0.6567, 0.7661, 0.8566, 0.928, 0.9813, 1.0186, 1.0425, 1.0555, 1.0604, 1.0593, 1.0544, 1.0471, 1.0391, 1.0307, 1.0229, 1.016, 1.0102, 1.0055, 1.002, 0.9994, 0.9978, 0.9968, 0.9964, 0.9964, 0.9966, 0.997, 0.9975, 0.998, 0.9985, 0.9989, 1), ease;
}
.gate-modal-overlay.visible .gate-modal-card { transform: none; opacity: 1; }
#onboardingModal > div, #emailModal > div, #deleteAccountModal > div {
  animation: fmSpringIn .61s both;
  animation-timing-function: cubic-bezier(.34,1.4,.64,1);
  animation-timing-function: linear(0, 0.0392, 0.1344, 0.2606, 0.3987, 0.5349, 0.6567, 0.7661, 0.8566, 0.928, 0.9813, 1.0186, 1.0425, 1.0555, 1.0604, 1.0593, 1.0544, 1.0471, 1.0391, 1.0307, 1.0229, 1.016, 1.0102, 1.0055, 1.002, 0.9994, 0.9978, 0.9968, 0.9964, 0.9964, 0.9966, 0.997, 0.9975, 0.998, 0.9985, 0.9989, 1);
}
@keyframes fmSpringIn { from { transform: translateY(18px); opacity: 0; } 40% { opacity: 1; } }
/* Faisceau lumineux autour du bouton « Analyser IA » (21st.dev Border Beam) */
.ann-btn-flux::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: conic-gradient(from var(--fm-angle), transparent 0 66%, #2EE59D 80%, #40C8FF 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.ann-btn-flux:hover::before { opacity: 1; animation: fmSpin 1.4s linear infinite; }

/* ── Évaluer une annonce ── */
.ev-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 20px; align-items: start; }
.ev-form { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ev-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev-champs label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ev-champs .ev-plein { grid-column: 1 / -1; }
.ev-champs .calc-input, .ev-champs .filter-select { width: 100%; box-sizing: border-box; }
.ev-go { width: 100%; justify-content: center; padding: 11px 16px; font-size: 14px; }
.ev-note, .ev-quota { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }
.ev-quota { margin-top: 10px; padding-right: 4px; text-align: right; font-variant-numeric: tabular-nums; }
.ev-partage { font-size: 13px; line-height: 1.6; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-low); color: var(--txt); overflow-wrap: anywhere; }
.ev-partage a { color: var(--primary); }
.ev-vide { background: var(--surface-low); border: 1px dashed var(--border); border-radius: 14px; padding: 28px 22px; display: flex; flex-direction: column; gap: 8px; }
.ev-vide b { font-family: var(--font-display); font-size: 16px; color: var(--txt); }
.ev-vide p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 52ch; }
.ev-erreur { border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 8%, transparent); color: var(--txt); border-radius: 12px; padding: 14px 16px; font-size: 13px; }
@media (max-width: 900px) { .ev-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .ev-champs { grid-template-columns: 1fr; } }
.ev-desc { resize: vertical; min-height: 70px; font-family: var(--font-body); line-height: 1.5; }
.ev-ia { margin-top: 16px; border: 1px solid var(--border); border-radius: 14px; padding: 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.ev-ia-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ev-ia-tete b { font-family: var(--font-display); font-size: 15px; color: var(--txt); }
.ev-ia-tete span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.ev-ia-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-ia-actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.ev-ia-texte { white-space: pre-wrap; font-size: 13px; line-height: 1.7; color: var(--txt); background: var(--surface-low); border-radius: 10px; padding: 12px 14px; }
.ev-copier { align-self: flex-start; }
.veh-ia-aide { margin: -4px 0 10px; font-size: 11px; color: var(--muted); }
.vd-ph-impact { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--surface-low); display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.vd-ph-ligne { display: flex; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.vd-ph-ligne b.pos { color: var(--green); } .vd-ph-ligne b.neg { color: var(--danger); }
.vd-ph-neutre, .vd-ph-ok { color: var(--muted); margin: 14px 0 0; }


/* ── Contrôle technique par modèle ── */
.vd-ct { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.vd-ct-tete { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.vd-ct-tete b { font-family: var(--font-display); font-size: 22px; color: var(--txt); font-variant-numeric: tabular-nums; }
.vd-ct-tete span { font-size: 12px; color: var(--muted); }
.vd-ct-avis { font-size: 11px !important; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--surface-low); color: var(--txt) !important; }
.vd-ct-avis.pos { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green) !important; }
.vd-ct-avis.neg { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger) !important; }
.vd-ct-defauts { display: flex; flex-direction: column; gap: 4px; }
.vd-ct-defauts span { position: relative; display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--txt); padding: 4px 8px; border-radius: 6px; overflow: hidden; }
.vd-ct-defauts span i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--primary) 10%, transparent); z-index: -1; }
.vd-ct-defauts span > * { position: relative; }
.vd-ct-defauts span { isolation: isolate; }

/* ══ MOBILE : bandeau de chiffres lisible, cibles tactiles ≥ 44 px, textes ≥ 11 px ══ */
body { overflow-x: clip; }

.loc-prompt {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 9000;
  background: var(--surface); border: 1px solid var(--green); border-radius: 14px; padding: 12px 18px;
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(13,13,13,.18); font-family: var(--font-body); font-size: 13px; color: var(--txt);
  animation: fadeUp .3s ease; max-width: calc(100vw - 32px);
}
.loc-btn { border-radius: 8px; padding: 5px 14px; font-size: 12px; cursor: pointer; flex-shrink: 0; font-family: inherit; }
.loc-btn-ok { background: var(--green); color: #000; border: none; font-weight: 700; }
.loc-btn-no { background: none; color: var(--muted); border: 1px solid var(--border); }

@media (max-width: 768px) {
  .stats-bar { overflow-x: auto; scrollbar-width: none; }
  .stats-bar::-webkit-scrollbar { display: none; }
  .stat-pill {
    flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 0; height: auto; min-height: 48px; padding: 6px 12px; white-space: nowrap;
  }
  .stat-pill-val { font-size: 16px; line-height: 1.2; }

  .loc-prompt {
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: none; max-width: none;
    padding: 14px; border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .loc-prompt > svg { display: none; }
  .loc-prompt > span { grid-column: 1 / -1; font-size: 14px; line-height: 1.4; }
  .loc-btn { min-height: 44px; font-size: 14px; }

  .sb-hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .ann-actions .ann-btn-flux, .ann-actions .ann-btn-contact {
    min-height: 44px; font-size: 12px; padding: 10px 8px; display: flex; align-items: center; justify-content: center;
  }
    .btn { min-height: 44px; }

  [style*="font-size:9px"], [style*="font-size: 9px"], [style*="font-size:9.5px"],
  [style*="font-size:10px"], [style*="font-size: 10px"], [style*="font-size:10.5px"] { font-size: 11px !important; }
  .ann-top-badge-src, .verdict-pill, .vd-tips-foot, .vd-rt-k, .vd-rt-ia-liste b, .vd-market-strip .v small,
  .wl-pb .lbl, .ps-lbl, .ai-mode-btn, .ai-key-badge, .sp-stat-lbl { font-size: 11px; }
  .s-tab-label { font-size: 10px; }
  .badge, .tarifs-plan-badge, .tarifs-tag, .tarifs-footer, .aide-tag, .aide-hero-badge { font-size: 11px; }
  input.calc-input, select.filter-select, .veh-filters input.input { min-height: 44px; }
  .veh-filters [data-veh-profile] { min-height: 40px; }
  .aide-mail-copy { min-height: 44px; }
}

/* ══ TACTILE : retour à l'appui (les effets de survol n'existent pas au doigt) ══ */
.fm-cu, .vd-rt-row.tot > span:last-child { font-variant-numeric: tabular-nums; }
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .btn:active:not(:disabled), .wl-card:active, .sc-card:active, .alerte-card:active, .al-bento-card:active, .sb-item:active {
    opacity: .85;
  }
  .btn-primary:active:not(:disabled)::after { animation: shine .6s cubic-bezier(.4,0,.2,1); }
}

/* ══ PAS DE ZOOM AU PINCEMENT, PAS DE GLISSEMENT LATÉRAL DE LA PAGE ══ */
html { overflow-x: hidden; overscroll-behavior-x: none; }
html, body, #dashRoot, #moduleArea, .module-area { touch-action: pan-y; }

/* ══ ERREURS EXPLIQUÉES ET LIENS ENTRE LES PAGES ══ */
.err-panel { max-width: 460px; margin: 48px auto; padding: 0 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.err-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--surface-low); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.err-ic .material-symbols-outlined { font-size: 28px; }
.err-panel h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 18px; color: var(--txt); }
.err-panel p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.err-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.err-detail { margin-top: 8px; font-size: 12px; color: var(--muted); max-width: 100%; }
.err-detail summary { cursor: pointer; }
.err-detail code { display: block; margin-top: 6px; padding: 8px 10px; background: var(--surface-low); border-radius: 8px; word-break: break-word; text-align: left; }
.wl-lien { color: inherit; text-decoration: none; }
.wl-lien:hover, .wl-lien:focus-visible { color: var(--green); text-decoration: underline; }

/* ══ AVIS DES TESTEURS ══ */
.avis-wrap { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 14px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.avis-wrap > * { width: 100%; max-width: 620px; margin-left: auto; margin-right: auto; flex-shrink: 0; }
.avis-carte { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.avis-intro { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.avis-question { font-size: 14px; font-weight: 700; color: var(--txt); }
.avis-opt { font-weight: 400; color: var(--muted); }
.avis-notes { display: flex; gap: 8px; margin-top: 8px; }
.avis-note { flex: 1; min-height: 48px; border-radius: 10px; border: 1px solid var(--border-dark); background: var(--surface); color: var(--txt); font: 700 16px var(--font-display); cursor: pointer; }
.avis-note.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.avis-echelle { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.avis-etat { min-height: 18px; font-size: 13px; color: var(--muted); }
.avis-envoi { width: 100%; padding: 14px; }
.s-panels { overflow-x: hidden; }

/* ══ ÉCRAN DE MARQUE COURT : fondu simple, pas d'effet de zoom ni de glitch ══ */
.loader-screen { transition: opacity .4s ease, visibility 0s linear .4s; }
.ld-stage { animation: none; }
.ld-word { clip-path: none; text-shadow: 0 0 44px rgba(0,201,107,.22); opacity: 0; transition: opacity .5s ease; }
.ld-word.on { animation: none; opacity: 1; }
.ld-line { transform: none; opacity: 0; transition: opacity .5s ease .1s; }
.ld-line.on { animation: none; opacity: 1; }
.ld-tagline { opacity: 0; letter-spacing: .36em; transition: opacity .5s ease .2s; }
.ld-tagline.on { animation: none; opacity: 1; }
.ld-word-wrap::after { display: none; }
.loader-screen.ld-exit .ld-stage { animation: none; opacity: 0; transition: opacity .3s ease; }
#dashRoot.cine-in { animation: dashArrive .45s ease-out both; }

/* Lettres qui s'écrivent, curseur clignotant */
.ld-word.lettres span { opacity: 0; animation: ldLettre .2s ease forwards; }
@keyframes ldLettre { to { opacity: 1; } }
.ld-curseur { display: inline-block; width: .08em; height: .85em; margin-left: .08em; background: #00c96b; vertical-align: -.05em; animation: ldCurseur .7s steps(1) infinite; }
@keyframes ldCurseur { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ld-word.lettres span { animation: none; opacity: 1; } .ld-curseur { animation: none; } }

.wl-cmp{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);cursor:pointer;min-height:44px}
.wl-cmp input{accent-color:var(--green);width:18px;height:18px}
.wl-cmp-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font-size:12px;color:var(--muted)}
.wl-cmp-bar .btn:disabled{opacity:.4;cursor:default}
.wl-cmp-ov{position:fixed;inset:0;z-index:9000;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.wl-cmp-box{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px;max-width:640px;width:100%;max-height:90vh;overflow-y:auto}
.wl-cmp-x{position:absolute;top:8px;right:8px;background:none;border:none;color:var(--muted);font-size:16px;min-width:44px;min-height:44px;cursor:pointer}
.wl-cmp-titre{font-family:var(--font-display);font-size:15px;font-weight:700;color:var(--txt);margin-bottom:12px}
.wl-cmp-tab{width:100%;border-collapse:collapse;font-size:12px;table-layout:fixed}
.wl-cmp-tab th,.wl-cmp-tab td{padding:8px 6px;border-bottom:1px solid var(--border);text-align:left;overflow-wrap:anywhere;vertical-align:top}
.wl-cmp-tab thead th{color:var(--txt);font-weight:700}
.wl-cmp-tab tbody th{color:var(--muted);font-weight:500;width:26%}
.wl-cmp-tab td.best{color:var(--green);font-weight:700}
.wl-cmp-res{margin-top:14px;font-size:13px;color:var(--txt)}
.wl-cmp-btns{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
.wl-cmp-btns button{flex:1;min-height:44px;border-radius:8px;border:1px solid var(--border);background:var(--surface-low,var(--bg));color:var(--txt);font-family:var(--font-display);font-weight:700;font-size:12px;letter-spacing:.04em;cursor:pointer}
.wl-cmp-btns button:hover{border-color:var(--green)}
.s-avis{border-top:1px solid var(--border);padding:10px 0;font-size:13px;line-height:1.5;color:var(--txt);overflow-wrap:anywhere;display:flex;flex-direction:column;gap:4px}
.s-avis-hd{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.avis-choix-liste{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.avis-choix{min-height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--border-dark,var(--border));background:var(--surface);color:var(--txt);font:600 13px var(--font-body);cursor:pointer}
.avis-choix.on{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}
.avis-pastille{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:8000;display:flex;align-items:stretch;background:var(--surface);border:1px solid var(--green);border-radius:999px;box-shadow:0 8px 28px rgba(13,13,13,.18);overflow:hidden;animation:fadeUp .3s ease}
.avis-pastille-go{min-height:44px;padding:0 16px;background:none;border:none;color:var(--txt);font:700 13px var(--font-display);cursor:pointer}
.avis-pastille-x{min-width:44px;min-height:44px;background:none;border:none;border-left:1px solid var(--border);color:var(--muted);font-size:13px;cursor:pointer}
.ev-wrap { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding: 14px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.ev-wrap > * { flex-shrink: 0; }
.vd-resumes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vd-resumes .btn { min-width: 0; min-height: 48px; padding: 10px 8px; font-size: 13px; line-height: 1.2; white-space: normal; display: flex; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.vd-ctas .btn { white-space: normal; line-height: 1.25; }
.vd-retour{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.vd-retour .btn{min-width:44px;min-height:44px;padding:0 12px}
.vd-bientot{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;background:var(--surface-low);border:1px solid var(--border);color:var(--muted);white-space:nowrap}
.vd-rt-alerte{margin-top:14px;padding:12px 14px;border-radius:10px;border:1px solid var(--border);background:var(--surface-low)}
.vd-rt-alerte.forte{border-color:var(--danger);background:color-mix(in srgb,var(--danger) 8%,var(--surface))}
.vd-rt-alerte ul{margin:6px 0 0;padding-left:18px;font-size:13px;line-height:1.5}
.vd-rt-alerte.forte .vd-rt-k{color:var(--danger)}
