/* Mensu — clair lavande par défaut, sombre « Nuit violette » en option. Cartes en verre dépoli, accent citron vert. */
/* Thème clair (par défaut, inspiré du modèle Lovable) */
:root {
  --bg: #f4f1ff;
  --bg-elevated: rgba(255, 255, 255, 0.6);
  --card: rgba(255, 255, 255, 0.72);
  --card-2: rgba(255, 255, 255, 0.92);
  --ink: #15112e;
  --muted: #6b6789;
  --faint: #9a97b5;
  --soft-ink: #3d3960;
  --line: rgba(255, 255, 255, 0.95);
  --line-2: rgba(123, 92, 255, 0.35);
  --field: rgba(255, 255, 255, 0.85);
  --field-line: rgba(21, 17, 46, 0.1);
  --sheet: #ffffff;
  --toast-bg: rgba(21, 17, 46, 0.92);
  --toast-ink: #ffffff;
  --track: rgba(21, 17, 46, 0.07);
  --accent: #b5f23a;
  --accent-hi: #c4f75c;
  --accent-ink: #15112e;
  --accent-text: #4f7a00;
  --accent-soft: rgba(181, 242, 58, 0.22);
  --accent-glow: rgba(150, 220, 20, 0.45);
  --violet: #6d4aff;
  --violet-2: #9b3dff;
  --pink: #ec5fb5;
  --grad: linear-gradient(135deg, #5b3dff 0%, #9b3dff 55%, #ec5fb5 100%);
  --hero: radial-gradient(120% 140% at 100% 0%, #6a1fb0 0%, transparent 55%), linear-gradient(140deg, #1d0a6b 0%, #2c0c95 45%, #3a0d86 100%);
  --reveal-grad: linear-gradient(120deg, #3b1fd1, #8b2cf5 55%, #e0459f);
  --halo-1: #b9a6ff;
  --halo-2: #d9ffa0;
  --halo-3: #ffc1e6;
  --red: #e5365e;
  --red-soft: rgba(229, 54, 94, 0.1);
  --green: #0f9e6e;
  --green-soft: rgba(15, 158, 110, 0.1);
  --amber: #b77400;
  --amber-soft: rgba(255, 176, 32, 0.14);
  --r-sm: 10px;
  --r-md: 14px;
  --radius: 28px;
  --r-xl: 32px;
  --blur: saturate(160%) blur(22px);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 20px 44px -24px rgba(60, 40, 160, 0.35);
  font-family: Inter, 'Segoe UI Variable Display', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  color: var(--ink);
  color-scheme: light;
}
/* Thème sombre « Nuit violette » */
:root[data-theme='dark'] {
  --bg: #07061a;
  --bg-elevated: rgba(255, 255, 255, 0.045);
  --card: rgba(255, 255, 255, 0.055);
  --card-2: rgba(255, 255, 255, 0.09);
  --ink: #f6f4ff;
  --muted: #a9a5c7;
  --faint: #6f6b92;
  --soft-ink: #d9d5f2;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.2);
  --field: rgba(0, 0, 0, 0.25);
  --field-line: rgba(255, 255, 255, 0.09);
  --sheet: #15122e;
  --toast-bg: rgba(30, 26, 60, 0.92);
  --toast-ink: #f6f4ff;
  --track: rgba(255, 255, 255, 0.08);
  --accent: #c8ff3d;
  --accent-hi: #d9ff7a;
  --accent-ink: #12101f;
  --accent-text: #c8ff3d;
  --accent-soft: rgba(200, 255, 61, 0.12);
  --accent-glow: rgba(200, 255, 61, 0.35);
  --reveal-grad: linear-gradient(120deg, #c8ff3d, #6ef7ff 60%, #b98bff);
  --halo-1: #5b3dff;
  --halo-2: #2b1a7a;
  --halo-3: #ff4fa3;
  --red: #ff6b8b;
  --red-soft: rgba(255, 107, 139, 0.14);
  --green: #5ef2b0;
  --green-soft: rgba(94, 242, 176, 0.13);
  --amber: #ffc94d;
  --amber-soft: rgba(255, 201, 77, 0.13);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100vh; background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.45; overflow-x: hidden; }
/* Fond « mesh » : trois halos colorés qui dérivent lentement. */
body::before, body::after { content: ''; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: 0.75; }
body::before { width: 560px; height: 560px; top: -220px; left: -180px; background: radial-gradient(circle, var(--halo-1) 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
body::after { width: 520px; height: 520px; top: 30vh; right: -220px; background: radial-gradient(circle, var(--halo-2) 0%, transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
html::after { content: ''; position: fixed; z-index: 0; pointer-events: none; width: 420px; height: 420px; bottom: -160px; left: 10%; border-radius: 50%; filter: blur(70px); opacity: 0.5; background: radial-gradient(circle, var(--halo-3) 0%, transparent 65%); }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent); border-radius: 12px; }
::selection { background: var(--violet); color: #fff; }

.app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 22px 18px 120px; min-height: 100vh; }
.top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.brand img { width: 32px; height: 32px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); cursor: pointer; font-size: 1.05rem; display: grid; place-items: center; transition: border-color 0.2s; }
.icon-btn:hover { border-color: var(--line-2); }
.back { background: none; border: none; color: var(--muted); font-weight: 600; cursor: pointer; padding: 8px 0; transition: color 0.2s; }
.back:hover { color: var(--ink); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 14px; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.stagger > * { animation: rise 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.stagger > *:nth-child(2) { animation-delay: 0.05s; } .stagger > *:nth-child(3) { animation-delay: 0.1s; } .stagger > *:nth-child(4) { animation-delay: 0.15s; } .stagger > *:nth-child(5) { animation-delay: 0.2s; } .stagger > *:nth-child(n + 6) { animation-delay: 0.25s; }

h1 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.5rem); line-height: 1.08; margin: 6px 0 14px; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: 1.44rem; line-height: 1.25; margin: 0 0 12px; font-weight: 650; letter-spacing: -0.02em; }
h3 { font-size: 0.78rem; color: var(--muted); margin: 30px 4px 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 0.86rem; }

/* Chiffres clés : le seul endroit (avec les boutons principaux) où le néon s'allume. */
.hero { position: relative; overflow: hidden; text-align: left; padding: 26px 26px 24px; background: var(--hero); border: none; box-shadow: 0 28px 60px -24px rgba(45, 12, 149, 0.75), 0 1px 0 rgba(255, 255, 255, 0.25) inset; color: #fff; }
.hero::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255, 255, 255, 0.035) 22px 23px); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .muted { color: rgba(255, 255, 255, 0.8); }
.big, .reveal-num { font-weight: 800; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; line-height: 1; }
.big { font-size: 3.7rem; margin: 10px 0 10px; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.18); }
.reveal-num { background: var(--reveal-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(200, 255, 61, 0.25)); }
.saved { margin-top: 16px; display: inline-block; background: rgba(255, 255, 255, 0.16); color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 12px; padding: 9px 12px; font-weight: 600; font-size: 0.9rem; }
.reveal { text-align: center; padding: 34px 20px; }
.reveal-num { font-size: 3.6rem; }
.eq { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.eqi { background: var(--accent-soft); color: var(--accent-text); border: 1px solid rgba(150, 220, 20, 0.35); border-radius: 999px; padding: 6px 12px; font-size: 0.86rem; font-weight: 550; animation: rise 0.5s 0.6s both; }

.alert { border-color: rgba(255, 201, 77, 0.35); background: linear-gradient(135deg, rgba(255, 201, 77, 0.14), rgba(255, 201, 77, 0.03)); }
.alert strong { color: var(--amber); }
.alert-soft { background: var(--green-soft); border-color: transparent; color: var(--green); font-weight: 650; text-align: center; font-size: 1.02rem; }
.hint { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; font-size: 0.92rem; color: var(--soft-ink); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); margin-bottom: 14px; }

.item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 1px solid var(--line); background: var(--card); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 22px; padding: 14px 16px 14px 14px; margin-bottom: 10px; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.item:hover { border-color: var(--line-2); background: var(--card-2); transform: translateY(-2px); }
.item:active { transform: scale(0.98); }
.item.never { border-color: rgba(255, 201, 77, 0.4); }
.item.trial.hot { border-color: rgba(255, 107, 139, 0.5); box-shadow: 0 0 0 1px rgba(255, 107, 139, 0.15), 0 10px 30px -12px rgba(255, 107, 139, 0.5); }
.item.off { opacity: 0.6; }
.emoji { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; }
.grow { flex: 1; min-width: 0; }
.t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amount { font-weight: 800; letter-spacing: -0.02em; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount small { display: block; font-weight: 500; color: var(--muted); font-size: 0.74rem; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 650; white-space: nowrap; }
.pill.trial { background: var(--red-soft); color: var(--red); }
.pill.ok { background: var(--green-soft); color: var(--green); }

.timeline .tl { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; font-variant-numeric: tabular-nums; }
.timeline .tl:last-of-type { border-bottom: none; }
.tl-d { color: var(--muted); font-size: 0.86rem; }
.tl-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bar-row { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; padding: 7px 0; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.bar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--soft-ink); }
.bar-t { height: 10px; background: var(--track); border-radius: 99px; overflow: hidden; }
.bar-f { height: 100%; width: var(--w); background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 14px rgba(176, 76, 255, 0.5); border-radius: 99px; animation: grow 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes grow { from { width: 0; } }

.review-cta { display: block; width: 100%; text-align: left; border: 1px solid rgba(200, 255, 61, 0.35); background: linear-gradient(135deg, rgba(200, 255, 61, 0.16), rgba(110, 247, 255, 0.05)); cursor: pointer; color: var(--ink); }
.review-cta strong { color: var(--accent-text); }
.progress { height: 6px; background: var(--track); border-radius: 99px; overflow: hidden; margin-bottom: 16px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--violet), var(--accent)); box-shadow: 0 0 12px var(--accent-glow); border-radius: 99px; transition: width 0.4s; }
.review { animation: slidein 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-head h1 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.5rem); line-height: 1.08; margin: 6px 0 14px; letter-spacing: -0.04em; font-weight: 800; }
.big-e { width: 58px; height: 58px; font-size: 1.8rem; }
.mini-stats { display: flex; justify-content: space-around; text-align: center; font-variant-numeric: tabular-nums; }
.mini-stats b { font-size: 1.2rem; }
.ok-t { color: var(--green); }

.btn { border: 1px solid transparent; border-radius: 999px; padding: 13px 22px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.18s, background 0.18s, box-shadow 0.18s, border-color 0.18s; }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -8px var(--accent-glow), 0 1px 0 rgba(255, 255, 255, 0.6) inset; }
.btn.primary:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 14px 36px -8px rgba(200, 255, 61, 0.55); }
.btn.soft { backdrop-filter: var(--blur); background: var(--card-2); border-color: var(--line); color: var(--ink); }
.btn.soft:hover { border-color: var(--line-2); }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--ink); }
.btn.danger { background: transparent; border-color: rgba(255, 107, 139, 0.3); color: var(--red); }
.btn.cancel { background: var(--grad); border: none; color: #fff; margin-bottom: 14px; box-shadow: 0 14px 34px -14px rgba(155, 61, 255, 0.8); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.btn.primary:disabled { opacity: 1; background: var(--card-2); border-color: var(--line); color: var(--faint); }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.row.end { justify-content: flex-end; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sticky-cta { position: sticky; bottom: 12px; z-index: 4; padding-top: 12px; }

.fab { position: fixed; right: max(18px, calc(50vw - 262px)); bottom: 26px; z-index: 5; width: 62px; height: 62px; border-radius: 50%; border: none; background: var(--accent); color: var(--accent-ink); font-size: 2rem; font-weight: 500; box-shadow: 0 14px 36px -6px var(--accent-glow), 0 0 0 6px rgba(200, 255, 61, 0.1); cursor: pointer; animation: pop 0.4s 0.2s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.fab:hover { background: var(--accent-hi); }
@keyframes pop { from { transform: scale(0); } }

label { display: block; font-weight: 600; font-size: 0.86rem; margin: 16px 2px 7px; color: var(--soft-ink); }
label.inline { display: flex; align-items: center; gap: 10px; }
label.inline input { width: 18px; height: 18px; accent-color: var(--accent); }
input[type='text'], input[type='email'], input[type='password'], input[type='date'], input[type='number'], select, textarea { width: 100%; border: 1px solid var(--field-line); border-radius: 16px; padding: 13px 16px; background: var(--field); margin-bottom: 6px; transition: border-color 0.15s, box-shadow 0.15s; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
textarea { min-height: 80px; resize: vertical; }
textarea.letter { min-height: 260px; font-family: Georgia, serif; font-size: 0.9rem; background: var(--field); line-height: 1.55; }
.err { color: var(--red); font-size: 0.84rem; min-height: 0; }
details summary { cursor: pointer; font-weight: 600; }
.steps ol { margin: 0; padding-left: 20px; line-height: 1.6; color: var(--soft-ink); }
.steps li::marker { color: var(--accent); font-weight: 800; }
.steps li { margin-bottom: 6px; }

.seg { display: flex; gap: 8px; }
.seg-b { flex: 1; border: 1px solid var(--field-line); background: var(--field); border-radius: 999px; padding: 10px 6px; font-weight: 600; cursor: pointer; transition: all 0.15s; }
.seg-b:hover { border-color: var(--line-2); }
.seg-b[aria-pressed='true'].often { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.seg-b[aria-pressed='true'].sometimes { background: var(--amber-soft); border-color: var(--amber); color: var(--amber); }
.seg-b[aria-pressed='true'].never { background: var(--red-soft); border-color: var(--red); color: var(--red); }

.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.chip { border: 1px solid var(--line); background: var(--card); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 20px; padding: 14px 12px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; transition: border-color 0.15s, background 0.15s; }
.chip .e { font-size: 1.5rem; }
.chip .l { font-weight: 600; }
.chip:hover { border-color: var(--line-2); transform: translateY(-2px); }
.chip { transition: border-color 0.15s, background 0.15s, transform 0.2s; }
.chip[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent), 0 12px 30px -14px var(--accent-glow); }
.chip[aria-pressed='true'] .l::after { content: ' ✓'; color: var(--accent-text); }

.empty { text-align: center; padding: 34px 16px; }
.empty .e { font-size: 2.6rem; }

.overlay { position: fixed; inset: 0; z-index: 20; background: rgba(21, 17, 46, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.2s; }
.overlay.open { opacity: 1; }
.sheet { background: var(--sheet); border: 1px solid var(--line); width: 100%; max-width: 520px; border-radius: 28px 28px 0 0; padding: 24px 20px 28px; }
@media (min-width: 600px) { .overlay { align-items: center; } .sheet { border-radius: 22px; } }
.toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 16px); background: var(--toast-bg); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--line-2); color: var(--toast-ink); padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 30; max-width: 90vw; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { border-color: rgba(248, 113, 113, 0.5); color: #ffb3c2; }
.toast.success { border-color: rgba(52, 211, 153, 0.5); color: #c8ffe6; }
.coin { position: fixed; top: -30px; width: 8px; height: 13px; border-radius: 2px; background: var(--accent); z-index: 40; pointer-events: none; animation: fall 1.6s ease-in forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(360deg); } }

/* Grand écran : un peu plus d'air. */
@media (min-width: 900px) {
  .app { padding-top: 40px; }
}
/* ---------- Connexion (compte local) ---------- */
.auth { min-height: calc(100vh - 140px); display: grid; align-content: center; gap: 8px; }
.auth-hero { padding: 8px 4px 10px; }
.big-brand { font-size: 1.3rem; margin-bottom: 26px; }
.big-brand img { width: 40px; height: 40px; }
.headline { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.2rem); line-height: 1.02; letter-spacing: -0.05em; font-weight: 800; margin: 0 0 18px; max-width: 13ch; }
.headline { background: linear-gradient(120deg, var(--ink) 35%, var(--violet) 75%, var(--violet-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.points { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; color: var(--muted); }
.points li { display: flex; align-items: center; gap: 12px; }
.points li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); flex: none; }
.auth-card { padding: 22px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--field); border: 1px solid var(--field-line); border-radius: 999px; margin-bottom: 4px; }
.tab { border: none; background: transparent; color: var(--muted); padding: 10px; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background 0.18s, color 0.18s; }
.tab[aria-selected='true'] { background: var(--ink); color: var(--bg); }
.pw { position: relative; }
.pw input { padding-right: 92px; }
.eye { position: absolute; right: 7px; top: 7px; height: 34px; padding: 0 12px; border: none; border-radius: 999px; background: var(--track); color: var(--muted); font-size: 0.8rem; font-weight: 600; cursor: pointer; }
.eye:hover { color: var(--ink); }
.meter:not(:has(.meter-f[data-s])) { visibility: hidden; height: 0; margin: 0; }
.meter { display: flex; align-items: center; gap: 10px; margin: 4px 0 2px; }
.meter-t { flex: 1; height: 4px; background: var(--track); border-radius: 99px; overflow: hidden; }
.meter-f { height: 100%; width: 0; border-radius: 99px; background: var(--red, var(--late)); transition: width 0.18s, background 0.18s; }
.meter-f[data-s='2'] { background: var(--amber, var(--urgent)); }
.meter-f[data-s='3'], .meter-f[data-s='4'] { background: var(--green, var(--ok)); }
.meter-l { font-size: 0.78rem; color: var(--muted); min-width: 70px; text-align: right; }
.local-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8rem; color: var(--faint); margin: 16px 2px 0; line-height: 1.45; }
.local-note .dot { width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--green, var(--ok)); flex: none; }
.btn.busy { opacity: 0.8; cursor: progress; }
.shake { animation: shake 0.35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (min-width: 900px) {
  .auth { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .app:has(.auth) { max-width: 980px; }
}
/* ---------- Icônes, onglets ---------- */
.with-ico { display: flex; align-items: center; gap: 10px; }
.with-ico .ico { color: var(--muted); flex: none; }
.icon-btn .ico { color: var(--ink); }
.tab { white-space: nowrap; font-size: 0.92rem; }
@media (max-width: 520px) {
  .big-brand { margin-bottom: 18px; }
  .points { margin-bottom: 14px; gap: 8px; }
}
/* ---------- Tableau de bord (accueil) ---------- */
.app { width: calc(100% - 32px); padding-left: 0; padding-right: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.add-desk { display: none; min-height: 42px; padding: 10px 16px; }
.dash { display: flex; flex-direction: column; }
.dash-main, .dash-side { display: contents; }
.blk > h3:first-child { margin-top: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.stat { margin: 0; padding: 16px 18px; }
.stat-v { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
@media (max-width: 849px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: span 2; }
}
@media (max-width: 519px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stats .stat:last-child { grid-column: auto; }
  .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 14px 10px; text-align: center; border-radius: 20px; }
  .stat .muted { font-size: 0.7rem; line-height: 1.25; }
  .stat-v { font-size: 1.12rem; margin: 0; }
}
@media (min-width: 700px) {
  .app { width: min(100% - 64px, 620px); }
}
@media (min-width: 900px) {
  .app:has(.dash) { width: min(100% - 64px, 1240px); max-width: none; }
  .app:has(.auth) { width: min(100% - 64px, 980px); max-width: none; }
  .dash { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 24px; align-items: start; }
  .dash-main, .dash-side { display: block; min-width: 0; }
  .dash-side { position: sticky; top: 24px; }
  .dash-side .blk > h3:first-child { margin-top: 0; }
  .dash .hero { text-align: left; padding: 30px 32px; }
  .dash .big { font-size: 3.6rem; }
  .add-desk { display: inline-flex; }
  .fab { display: none; }
}
@media (min-width: 1100px) {
  .app:has(.dash) { width: min(100% - 160px, 1240px); }
}
.calm { display: flex; gap: 12px; align-items: center; }
.calm .ico { color: var(--green); flex: none; }
.side-empty { display: none; }
@media (min-width: 900px) { .side-empty { display: flex; } }
.mono { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.02em; color: #fff; border: none; background: linear-gradient(145deg, hsl(var(--h, 260) 85% 62%), hsl(calc(var(--h, 260) + 40) 85% 48%)); box-shadow: 0 8px 18px -8px hsl(var(--h, 260) 85% 55% / 0.8), 0 1px 0 rgba(255, 255, 255, 0.35) inset; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.item.off .mono { filter: grayscale(1); }
.mono.big-e { font-size: 1.3rem; width: 60px; height: 60px; }
.chip .e .mono, .chip .e.mono { width: 40px; height: 40px; }
.local-line { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--faint); font-size: 0.82rem; margin: 22px 0 0; }
.local-line .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Accueil façon « carte bancaire » (modèle Lovable) ---------- */
.hero-l { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 0.95rem; }
.hero-l .ico { color: #fff; }
.hero .big { font-size: clamp(3rem, 2.2rem + 4vw, 4rem); }
.hero-y { color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.hero-y b { color: var(--accent); font-weight: 800; }
.hero-pill { display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); color: #fff; font-weight: 650; font-size: 0.85rem; }
.hero .saved { margin-left: 6px; border-radius: 999px; padding: 7px 14px; font-size: 0.85rem; }

.trial-card { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer; padding: 14px 18px 14px 14px; border-radius: 999px; color: var(--ink); }
.trial-card:hover { border-color: var(--line-2); }
.days { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; text-align: center; line-height: 1; box-shadow: 0 10px 24px -8px var(--accent-glow); }
.days b { font-size: 1.55rem; font-weight: 800; }
.days small { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; margin-top: 3px; }
.trial-k { display: flex; align-items: center; gap: 6px; color: var(--red); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.trial-t { font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arrow { color: var(--muted); font-size: 1.2rem; flex: none; }

.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.sec-h h2 { margin: 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; }
.link { background: none; border: none; color: var(--violet); font-weight: 700; cursor: pointer; padding: 4px 0; white-space: nowrap; }
:root[data-theme='dark'] .link { color: #b9a6ff; }

.donut-wrap { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.donut { width: 140px; height: 140px; border-radius: 50%; background: var(--g); display: grid; place-items: center; animation: spin-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.donut-in { width: 100px; height: 100px; border-radius: 50%; background: var(--sheet); display: grid; place-content: center; text-align: center; line-height: 1.1; box-shadow: 0 0 0 1px var(--field-line) inset; }
.donut-in b { font-size: 1.5rem; font-weight: 800; }
.donut-in small { color: var(--muted); font-size: 0.72rem; }
@keyframes spin-in { from { transform: rotate(-90deg) scale(0.85); opacity: 0; } }
.legend { display: grid; gap: 10px; min-width: 0; }
.lg { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.lg i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.lg span { color: var(--soft-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg b { font-weight: 750; }
@media (max-width: 420px) { .donut-wrap { grid-template-columns: 112px 1fr; gap: 16px; } .donut { width: 112px; height: 112px; } .donut-in { width: 80px; height: 80px; } .donut-in b { font-size: 1.25rem; } }

.up { display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.up .grow .muted { font-size: 0.84rem; }
.up b { font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Barre de navigation flottante */
.nav { position: fixed; z-index: 6; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(100% - 24px, 520px); display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 6px 10px; border-radius: 30px; background: var(--card-2); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 20px 44px -18px rgba(40, 20, 120, 0.45); animation: rise 0.5s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.nav-b { display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: none; cursor: pointer; color: var(--muted); font-size: 0.72rem; font-weight: 650; padding: 6px 2px; border-radius: 16px; transition: color 0.15s; }
.nav-b .ico { width: 22px; height: 22px; }
.nav-b:hover, .nav-b[aria-current='page'] { color: var(--ink); }
.nav-add { justify-self: center; width: 62px; height: 62px; margin-top: -30px; border-radius: 50%; border: none; background: var(--accent); color: var(--accent-ink); font-size: 2rem; font-weight: 500; cursor: pointer; box-shadow: 0 14px 30px -8px var(--accent-glow), 0 0 0 6px var(--bg); transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1); }
.nav-add:hover { transform: scale(1.06) rotate(90deg); }
.app:has(.nav) { padding-bottom: 130px; }
.app:has(.nav) .fab, .app:has(.nav) .add-desk { display: none !important; }

.hello-m { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.item-flat { width: 100%; background: none; border: none; text-align: left; cursor: pointer; color: inherit; border-radius: 16px; transition: background 0.15s; }
.item-flat:hover { background: var(--track); }
.up .emoji { width: 46px; height: 46px; }

/* Quiz d'accueil */
.quiz { margin-bottom: 8px; }
.quiz-n { color: var(--violet); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
:root[data-theme='dark'] .quiz-n { color: #b9a6ff; }
.quiz h1 { margin-top: 8px; }
.quiz .chips { margin-top: 18px; }
.quiz-dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 18px; }
.quiz-dots span { height: 6px; border-radius: 99px; background: var(--track); transition: background 0.3s; }
.quiz-dots span.done { background: var(--violet); }
.quiz-dots span.on { background: linear-gradient(90deg, var(--violet), var(--accent)); box-shadow: 0 0 12px var(--accent-glow); }
.chip .p { color: var(--muted); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.chip:active { transform: scale(0.96); }
.quiz + .card:not([hidden]) { animation: rise 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; border-color: rgba(150, 220, 20, 0.5); }

/* ---------- Page d'accueil (connexion) ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); font-size: 0.8rem; font-weight: 650; color: var(--soft-ink); margin-bottom: 18px; box-shadow: var(--shadow); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.auth .headline { max-width: 15ch; background: none; color: var(--ink); -webkit-background-clip: initial; background-clip: initial; }
.headline mark { color: var(--ink); background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 92%, transparent 92%); padding: 0 4px; margin: 0 -2px; border-radius: 4px; }
:root[data-theme='dark'] .headline mark { color: var(--accent); background: none; text-shadow: 0 0 24px rgba(200, 255, 61, 0.45); }
.subline { color: var(--muted); font-size: 1.05rem; line-height: 1.55; margin: 0 0 22px; max-width: 46ch; }
.jump { margin-bottom: 8px; padding-inline: 26px; }

.showcase { position: relative; height: 300px; margin: 18px 0 8px; }
.sc-card { position: absolute; border-radius: 24px; box-shadow: 0 24px 50px -22px rgba(45, 12, 149, 0.55); animation: float 6s ease-in-out infinite; }
.sc-hero { left: 0; right: 10%; top: 10px; padding: 20px 22px; background: var(--hero); color: #fff; transform: rotate(-3deg); }
.sc-l { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 650; color: rgba(255, 255, 255, 0.8); }
.sc-big { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.05em; margin: 6px 0 2px; }
.sc-y { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }
.sc-y b { color: var(--accent); }
.sc-tag { position: absolute; top: 16px; right: 16px; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.sc-trial { right: 0; top: 150px; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transform: rotate(2deg); animation-delay: -2s; }
.sc-trial .days { width: 50px; height: 50px; }
.sc-trial .days b { font-size: 1.25rem; }
.sc-trial .days small { font-size: 0.5rem; }
.sc-trial .trial-k { font-size: 0.64rem; }
.sc-t { font-weight: 750; font-size: 0.92rem; }
.sc-saved { left: 6%; top: 228px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--card-2); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transform: rotate(-1.5deg); animation-delay: -4s; }
.sc-check { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-weight: 900; }
.sc-saved b { font-size: 0.9rem; }
.sc-s { color: var(--green); font-weight: 750; font-size: 0.85rem; }
@keyframes float { 50% { translate: 0 -8px; } }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 8px; }
.feat { display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.feat-i { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px; background: linear-gradient(145deg, #6d4aff, #9b3dff); color: #fff; box-shadow: 0 10px 20px -10px rgba(109, 74, 255, 0.8); }
.feat-i .ico { color: #fff; }
.feat b { font-size: 0.95rem; letter-spacing: -0.01em; }
.feat span { color: var(--muted); font-size: 0.8rem; line-height: 1.4; }
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .feat { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; }
  .feat-i { margin: 0; flex: none; }
  .feat b { display: block; }
  .feat > b, .feat > span { display: block; }
  .feat { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 0; }
  .feat-i { grid-row: span 2; }
}
.auth-card { scroll-margin-top: 16px; }
@media (min-width: 900px) {
  .auth { align-items: start; padding-top: 10px; }
  .auth-card { position: sticky; top: 40px; margin-top: 70px; }
  .jump { display: none; }
  .showcase { height: 320px; max-width: 520px; }
}

/* ---------- Vitrine (avant connexion), d'après le modèle Lovable ---------- */
.app:has(.lp) { width: min(100% - 32px, 1120px); max-width: none; padding-top: 12px; }
.lp-top { position: sticky; top: 10px; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); }
.lp-top .brand img { width: 30px; height: 30px; }
.lp-top-r { display: flex; align-items: center; gap: 6px; }
.lp-link { background: none; border: none; font-weight: 700; color: var(--ink); cursor: pointer; padding: 10px 12px; border-radius: 999px; }
.lp-link:hover { background: var(--track); }
.lp-hero { display: grid; gap: 30px; padding: 44px 0 20px; }
.lp-h1 { background: none !important; color: var(--ink) !important; -webkit-background-clip: initial !important; background-clip: initial !important; font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.4rem) !important; max-width: 14ch !important; margin-bottom: 18px !important; }
.lp-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-btns .btn { min-height: 56px; padding-inline: 26px; }
.lp-stage { position: relative; height: 470px; display: grid; place-items: center; }
.phone { width: 270px; height: 440px; border-radius: 42px; padding: 10px; background: #1b1440; box-shadow: 0 40px 80px -30px rgba(45, 12, 149, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; position: relative; animation: float 7s ease-in-out infinite; }
.phone-notch { position: absolute; top: 14px; left: 50%; translate: -50% 0; width: 86px; height: 22px; border-radius: 999px; background: #1b1440; z-index: 2; }
.phone-s { height: 100%; border-radius: 33px; background: var(--bg); padding: 44px 14px 14px; display: grid; align-content: start; gap: 8px; overflow: hidden; }
.ph-hero { border-radius: 20px; padding: 14px; background: var(--hero); color: #fff; }
.ph-l { font-size: 0.72rem; color: rgba(255, 255, 255, 0.8); font-weight: 600; }
.ph-big { font-size: 2rem; font-weight: 800; letter-spacing: -0.05em; }
.ph-y { font-size: 0.75rem; color: rgba(255, 255, 255, 0.8); }
.ph-y b { color: var(--accent); }
.ph-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); font-size: 0.82rem; }
.ph-row .emoji { width: 32px; height: 32px; font-size: 0.7rem; }
.ph-row .small { font-size: 0.7rem; }
.lp-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 24px 44px -20px rgba(45, 12, 149, 0.5); font-size: 0.85rem; animation: float 6s ease-in-out infinite; }
.lp-float .days { width: 46px; height: 46px; }
.lp-float .days b { font-size: 1.2rem; }
.lp-float .days small { font-size: 0.48rem; }
.f1 { left: max(0px, calc(50% - 250px)); top: 388px; animation-delay: -2s; }
.f2 { right: max(0px, calc(50% - 250px)); top: 96px; border-radius: 22px; animation-delay: -4s; }
.lp-ex { position: absolute; top: 4px; right: calc(50% - 150px); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); color: var(--muted); }
.lp-sec { margin: 34px 0; }
.lp-h2 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 22px; }
.lp-h2.center { text-align: center; }
.lp-steps { display: grid; gap: 14px; }
.lp-step { position: relative; margin: 0; padding: 22px; }
.lp-step h3 { text-transform: none; letter-spacing: -0.02em; font-size: 1.15rem; color: var(--ink); font-weight: 800; margin: 14px 0 6px; }
.lp-step p { margin: 0; }
.lp-num { position: absolute; top: 14px; right: 20px; font-size: 2.6rem; font-weight: 900; color: var(--track); letter-spacing: -0.04em; }
:root:not([data-theme='dark']) .lp-num { color: rgba(109, 74, 255, 0.12); }
.lp-calc { border-radius: 32px; padding: 30px 22px; background: var(--hero); color: #fff; box-shadow: 0 30px 70px -30px rgba(45, 12, 149, 0.8); }
.lp-calc .lp-h2 { margin-bottom: 8px; }
.lp-calc-s { color: rgba(255, 255, 255, 0.75); margin: 0 0 18px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08); color: #fff; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.lp-chip .emoji { width: 28px; height: 28px; font-size: 0.62rem; }
.lp-chip:hover { transform: translateY(-2px); }
.lp-chip[aria-pressed='true'] { background: var(--accent); color: #15112e; border-color: var(--accent); }
.lp-res { margin-top: 22px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); text-align: center; }
.lp-res-l { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.lp-total { font-size: clamp(3rem, 2rem + 5vw, 4.6rem); font-weight: 900; letter-spacing: -0.05em; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.lp-total-s { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; }
.lp-priv { padding: 28px 22px; }
.lp-shield { color: var(--violet); margin-bottom: 8px; }
:root[data-theme='dark'] .lp-shield { color: #b9a6ff; }
.lp-pills { display: grid; gap: 10px; }
.lp-pill { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; background: var(--track); font-weight: 700; }
.lp-pill > span { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #15112e; }
.lp-pill .ico { color: #15112e; }
.lp-faq-c { padding: 6px 20px; }
.lp-faq details { border-bottom: 1px solid var(--field-line); padding: 16px 0; }
.lp-faq details:last-child { border-bottom: none; }
.lp-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 12px; font-weight: 750; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--violet); transition: transform 0.2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 10px 0 0; }
.lp-cta { border-radius: 32px; padding: 44px 22px; text-align: center; background: var(--hero); color: #fff; box-shadow: 0 30px 70px -30px rgba(45, 12, 149, 0.8); }
.lp-cta h2 { font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; margin: 0 0 10px; }
.lp-cta p { color: rgba(255, 255, 255, 0.78); margin: 0 0 22px; }
.lp-cta .btn { min-height: 56px; padding-inline: 30px; }
.lp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 4px 30px; }
.lp-foot .brand img { width: 28px; height: 28px; }
.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-up.in { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-pills { grid-template-columns: repeat(3, 1fr); }
  .lp-calc, .lp-priv, .lp-cta { padding: 44px; }
  .lp-faq-c { max-width: 720px; margin: 0 auto; }
}
@media (min-width: 960px) {
  .lp-hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-top: 60px; }
}
@media (max-width: 400px) {
  .lp-stage { height: 460px; }
  .f1 { left: -4px; } .f2 { right: -4px; }
  .lp-btns .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; } }

/* Ajout libre (hors catalogue) */
.chip-add { border-style: dashed !important; border-color: var(--line-2) !important; background: transparent !important; }
.chip-add:hover { border-color: var(--violet) !important; }
.plus-e { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.5rem; font-weight: 700; }
.custom-box { margin-top: 14px; border-color: rgba(150, 220, 20, 0.5); }
.custom-box h2 { font-size: 1.15rem; margin-bottom: 4px; }
#f-cat-new { margin-top: 8px; }
.sec-h { flex-wrap: wrap; row-gap: 2px; }
.sec-h > .muted { white-space: nowrap; }

.beta-note { margin-top: 8px; }
.local-note .dot.beta { background: var(--violet); }
