/* Pricevra — refonte visuelle (accueil, tarifs, tableau de bord).
   Chargé EN DERNIER (base.html) : ne fait que redéfinir l'apparence ; aucune fonction, aucun texte, aucun prix.
   Retour arrière : retirer la ligne <link> de base.html.
   CSP : feuille externe, aucun style en ligne. Animations : CSS seul, uniquement si l'utilisateur ne demande pas
   de réduire les mouvements (prefers-reduced-motion). */

/* ───────────── 1. Jetons de la refonte ───────────── */
:root {
  --rd-night: #0a0618;
  --rd-night-2: #120a2e;
  --rd-glass: rgba(255, 255, 255, .06);
  --rd-glass-line: rgba(255, 255, 255, .12);
  --rd-on-night: #f4f1ff;
  --rd-on-night-2: rgba(244, 241, 255, .74);
  --rd-grad: linear-gradient(135deg, #8b5cf6 0%, #6c27d7 52%, #4c1d95 100%);
  --rd-ring: 0 0 0 1px rgba(108, 39, 215, .14);
  --rd-shadow-1: 0 1px 2px rgba(22, 14, 54, .05), 0 4px 14px rgba(22, 14, 54, .05);
  --rd-shadow-2: 0 2px 4px rgba(22, 14, 54, .05), 0 14px 34px rgba(48, 25, 110, .10);
  --rd-shadow-3: 0 4px 8px rgba(22, 14, 54, .06), 0 30px 70px rgba(48, 25, 110, .18);
  --rd-ease: cubic-bezier(.22, .8, .3, 1);
  --rd-wrap: 1120px;
}

/* ───────────── 2. Barre de navigation publique (verre sombre) ───────────── */
.is-landing .nav { background: rgba(8, 4, 20, .82); border-bottom: 1px solid rgba(255,255,255,.18); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
.is-landing .nav.is-scrolled, .is-landing.scrolled .nav { background: rgba(10, 6, 24, .88); border-bottom-color: var(--rd-glass-line); }
.is-landing .nav .logo, .is-landing .nav .nav-login { color: #fff; }
.is-landing .pub-links a, .is-landing .nav-right > a:not(.btn) { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.85); }
.is-landing .pub-links a:hover, .is-landing .nav-right > a:not(.btn):hover { color: #fff; background: var(--rd-glass); }
.is-landing .nav .btn.sm { background: #fff; color: #1a0f3d; border-color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 6px 20px rgba(139, 92, 246, .35); }
.is-landing .nav .btn.sm:hover { background: #ede4fb; }
.is-landing .nav .lang-picker > summary { background: var(--rd-glass); color: #fff; border: 1px solid var(--rd-glass-line); }
.is-landing .nav .icon-btn { color: #fff; }
.is-landing .nav :focus-visible { outline-color: #c4b5fd; }

/* ───────────── 3. Page publique : cadre ───────────── */
.is-landing main { padding-top: 0; overflow-x: clip; }
.is-landing main > .container { max-width: none; padding-inline: 0; }
.lp2 { max-width: none; }
.lp2 > section, .lp2 > div, .lp2 > header, .lp2 > ol, .lp2 > ul { position: relative; }
.lp2 .section-title { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; font-weight: 600; line-height: 1.12; }
.lp2 .section-sub { font-size: clamp(16px, 1.6vw, 18px); max-width: 600px; }
.lp2 .section-label {
  display: block; width: fit-content; margin-inline: auto; padding: 5px 12px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand); letter-spacing: .08em; font-size: 12px;
}
.lp2 > section:not(.hero):not(.lp-problem), .lp2 > .trust, .lp2 > .honest {
  max-width: var(--rd-wrap); margin-inline: auto; padding-inline: 24px;
}

/* ───────────── 4. Héros (vidéo plein écran, style SpaceX) ───────────── */
.lp2 .hero.hx {
  max-width: none; margin: 0; padding: clamp(72px, 10vh, 120px) 24px clamp(48px, 6vw, 80px); text-align: center; isolation: isolate;
  color: var(--rd-on-night);
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  box-sizing: border-box;
}
.lp2 .hero.hx::before { display: none; }
.hx-bg {
  position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; transform: translateX(-50%); overflow: hidden;
  background:
    #0a0618 url("/static/video/hero-poster.jpg") center / cover no-repeat;
}
.hx-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  pointer-events: none;
}
.hx-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 3, 16, .72) 0%, rgba(6, 3, 16, .78) 38%, rgba(6, 3, 16, .88) 72%, rgba(6, 3, 16, .96) 100%),
    radial-gradient(900px 480px at 50% -10%, rgba(139, 92, 246, .18), transparent 70%);
}
/* Reduced motion / save-data / très petit écran : poster seul (les <source media> ne matchent déjà pas en reduced-motion) */
@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
  .hx-video { display: none; }
}
@media (max-width: 700px) {
  .lp2 .hero.hx { min-height: 80svh; min-height: 80vh; padding: 56px 18px 36px; justify-content: flex-end; }
}
/* Anciens orbes/grille : désactivés (remplacés par la vidéo) ; classes conservées pour ne rien casser si réinjectées */
.hx-orb, .hx-grid { display: none; }
.lp2 .hero-eyebrow {
  background: var(--rd-glass); border: 1px solid var(--rd-glass-line); color: #ddd0ff; box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp2 .hero h1.hx-h1 {
  color: #fff; font-size: clamp(38px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600;
  max-width: 1000px; margin: 0 auto 24px; text-wrap: balance;
  text-shadow: 0 2px 28px rgba(0,0,0,.45);
}
.lp2 .hero .hx-l1 { display: block; }
.lp2 .hero h1 .grad, .lp-big .grad {
  display: block; background: linear-gradient(92deg, #c4b5fd 0%, #a78bfa 30%, #7ee7cd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .08em;
}
.lp2 .hero-lead { color: #fff; font-size: clamp(16px, 1.9vw, 20px); max-width: 640px; line-height: 1.55; margin-bottom: 34px; text-shadow: 0 2px 12px rgba(0,0,0,.9), 0 0 24px rgba(0,0,0,.6); margin-inline: auto; }
.lp2 .hero-ctas { margin-bottom: 20px; gap: 12px; }
.lp2 .hero-ctas .btn.lg {
  min-height: 52px; padding: 13px 28px; font-size: 16px; font-weight: 650; border-radius: 14px;
  background: var(--rd-grad); border-color: rgba(255,255,255,.18); color: #fff;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .5), 0 10px 34px rgba(124, 58, 237, .55), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .2s var(--rd-ease), box-shadow .2s var(--rd-ease), filter .2s;
}
.lp2 .hero-ctas .btn.lg:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(167, 139, 250, .7), 0 16px 44px rgba(124, 58, 237, .65), inset 0 1px 0 rgba(255,255,255,.3); }
.lp2 .hero-ctas .btn.lg.hx-ghost { background: var(--rd-glass); border-color: var(--rd-glass-line); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lp2 .hero-ctas .btn.lg.hx-ghost:hover { background: rgba(255,255,255,.12); }
.lp2 .hero-note { max-width: 640px; margin-inline: auto; line-height: 1.5; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.9); }
.lp2 .hero-note .hx-login { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); margin-inline-start: 6px; font-weight: 600; }
.lp2 .hero :focus-visible { outline-color: #c4b5fd; }

/* Produit : fenêtre de tableau de bord, légèrement inclinée */
.hx-stage { position: relative; margin: clamp(40px, 6vw, 72px) auto 0; max-width: 980px; perspective: 1800px; text-align: start; }
.hx-stage::after {
  content: ""; position: absolute; inset: auto 8% -30px; height: 60px; background: radial-gradient(closest-side, rgba(139, 92, 246, .55), transparent); filter: blur(24px); z-index: -1;
}
.lp2 .hero-mock {
  margin: 0 auto; max-width: 980px; background: #fff; color: #17142a; border: 1px solid rgba(255,255,255,.22); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 100px rgba(76, 29, 149, .55), 0 12px 30px rgba(0,0,0,.35);
  transform: rotateX(7deg) scale(.985); transform-origin: 50% 0; --line: #ece9f4; --muted: #6b6783; --ink: #17142a; --card: #fff;
}
.lp2 .hero-mock .mock-bar { background: #f7f5fc; border-bottom-color: #ece9f4; }
.lp2 .hero-mock .mock-dot:nth-child(1) { background: #ff6b6b; } .lp2 .hero-mock .mock-dot:nth-child(2) { background: #fbbf24; } .lp2 .hero-mock .mock-dot:nth-child(3) { background: #34d399; }
.lp2 .hero-mock .mock-url { background: #fff; color: #6b6783; border-color: #ece9f4; max-width: 340px; }
.mock-app { display: grid; grid-template-columns: 58px minmax(0, 1fr); background: #fff; }
.mock-side { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; background: #faf8ff; border-inline-end: 1px solid #ece9f4; }
.ms-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--rd-grad); margin-bottom: 6px; }
.ms-i { width: 24px; height: 24px; border-radius: 7px; background: #e9e5f5; }
.ms-i.on { background: #ddd0fb; box-shadow: inset 0 0 0 1.5px #8b5cf6; } .ms-i.short { height: 12px; }
.lp2 .hero-mock .mock-body { padding: 20px 24px 24px; background: #fff; min-width: 0; }
.lp2 .hero-mock .mock-head strong { font-size: 15px; letter-spacing: -.01em; }
.lp2 .hero-mock .mock-stat { background: linear-gradient(180deg, #fff, #faf8ff); border-color: #ece9f4; border-radius: 12px; box-shadow: 0 1px 2px rgba(22,14,54,.04); }
.lp2 .hero-mock .mock-stat .mv { font-size: 24px; font-variant-numeric: tabular-nums; }
.mock-chart { margin: 0 0 16px; border: 1px solid #ece9f4; border-radius: 12px; overflow: hidden; background: #fff; }
.mock-chart svg { display: block; width: 100%; height: 76px; }
.mc-line { stroke-dasharray: 1000; stroke-dashoffset: 0; }
.lp2 .hero-mock .mock-table th { color: #8a86a3; letter-spacing: .06em; }
.lp2 .hero-mock .mock-table td { border-bottom-color: #f1eff6; }
.lp2 .hero-mock .mock-table tr:last-child td { border-bottom: 0; }
.lp2 .hero-mock .mock-table .price { font-weight: 650; font-variant-numeric: tabular-nums; }

/* Alerte flottante */
.hx-float { position: absolute; z-index: 3; }
.hx-toast {
  inset-inline-end: -28px; top: 92px; width: 330px; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: rgba(255,255,255,.96); color: #17142a; border: 1px solid rgba(255,255,255,.6); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 6, 24, .5), 0 0 0 1px rgba(108, 39, 215, .12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hx-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, #dff7f0, #bdeede); color: #0f5746; }
.hx-ico svg { width: 19px; height: 19px; }
.hx-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12.5px; color: #6b6783; line-height: 1.35; }
.hx-tx strong { color: #17142a; font-size: 14px; letter-spacing: -.01em; }
.hx-tx > span { overflow-wrap: anywhere; }
.hx-pc { font-size: 13.5px; color: #17142a; font-variant-numeric: tabular-nums; margin-top: 2px; }
.hx-pc s { color: #8a86a3; } .hx-pc b { color: #18725d; font-weight: 700; }
.hx-toast em { margin-inline-start: auto; font-style: normal; font-size: 11.5px; color: #8a86a3; white-space: nowrap; padding-top: 2px; }
.lp2 .mock-caption { color: rgba(244, 241, 255, .55); margin-top: 22px; }

/* ───────────── 5. Bande « pensé pour… » ───────────── */
.lp-built { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 30px 24px 6px; max-width: var(--rd-wrap); margin: 0 auto; }
.lp-built-l { width: 100%; text-align: center; font-size: 13px; color: var(--muted); font-weight: 550; margin-bottom: 2px; }
.lp-pill { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; font-size: 14px; letter-spacing: -.01em; color: var(--ink-secondary); background: var(--card); box-shadow: var(--rd-shadow-1); }

/* ───────────── 6. Le problème + faits ───────────── */
.lp-problem { max-width: 940px; margin: clamp(56px, 8vw, 104px) auto 0; padding-inline: 24px; text-align: center; }
.lp-big { font-family: "Fraunces", Georgia, "Times New Roman", serif; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; margin: 0 auto; text-wrap: balance; }
.lp-big .grad { display: block; background: linear-gradient(92deg, #6c27d7 0%, #8b5cf6 45%, #20977c 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lp-stats { list-style: none; padding: 0; margin: clamp(32px, 5vw, 52px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-stats li { padding: 22px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--rd-shadow-1); display: flex; flex-direction: column; gap: 6px; align-items: center; transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease); }
.lp-stats li:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); }
.lp-stats strong { font-size: clamp(34px, 5vw, 52px); line-height: 1; letter-spacing: -.045em; font-weight: 760; background: linear-gradient(135deg, #6c27d7, #20977c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.lp-stats span { font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ───────────── 7. Comment ça marche (3 étapes) ───────────── */
.lp-how { margin-top: clamp(72px, 9vw, 120px); }
.lp-how .section-sub { margin-bottom: 0; }
.features.lp-steps { list-style: none; padding: 0; gap: 20px; margin-top: 44px; counter-reset: none; }
.lp-steps .step {
  position: relative; padding: 28px 26px 24px; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--rd-shadow-1); display: flex; flex-direction: column;
  transition: transform .3s var(--rd-ease), box-shadow .3s var(--rd-ease), border-color .3s;
}
.lp-steps .step::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, #8b5cf6, #29c19d); opacity: 0; transition: opacity .3s; }
.lp-steps .step:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-3); border-color: var(--brand-line); }
.lp-steps .step:hover::before { opacity: 1; }
.step-n { position: absolute; inset-block-start: 20px; inset-inline-end: 22px; font-size: 44px; font-weight: 780; letter-spacing: -.05em; color: var(--brand-soft-2); line-height: 1; font-variant-numeric: tabular-nums; }
.lp-steps .feature-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--rd-grad); color: #fff; box-shadow: 0 8px 20px rgba(108, 39, 215, .32); margin-bottom: 20px; }
.lp-steps .feature-icon svg { width: 22px; height: 22px; }
.lp-steps h3 { font-size: 19px; letter-spacing: -.02em; margin: 0 0 8px; }
.lp-steps .step p { font-size: 14.5px; margin-bottom: 22px; }
.step-vis { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; gap: 6px; height: 74px; box-sizing: content-box; }
.sv-url { align-items: center; }
.sv-url i { flex: 1; height: 30px; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); position: relative; }
.sv-url i::after { content: ""; position: absolute; inset-block: 11px; inset-inline-start: 12px; width: 55%; height: 6px; border-radius: 3px; background: var(--line-strong); }
.sv-url b { width: 30px; height: 30px; border-radius: 8px; background: var(--rd-grad); flex: none; }
.sv-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #a78bfa, #ddd0fb); }
.sv-bars i:nth-child(1) { height: 30%; } .sv-bars i:nth-child(2) { height: 46%; } .sv-bars i:nth-child(3) { height: 38%; } .sv-bars i:nth-child(4) { height: 62%; }
.sv-bars i:nth-child(5) { height: 54%; } .sv-bars i:nth-child(6) { height: 78%; } .sv-bars i:nth-child(7) { height: 100%; background: linear-gradient(180deg, #29c19d, #bdeede); }
.sv-alert { align-items: center; }
.sv-alert i { flex: 1; height: 36px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); position: relative; }
.sv-alert i::after { content: ""; position: absolute; inset-block: 14px; inset-inline-start: 14px; width: 50%; height: 7px; border-radius: 4px; background: var(--line-strong); }
.sv-alert b { width: 14px; height: 14px; border-radius: 50%; background: #29c19d; box-shadow: 0 0 0 5px rgba(41, 193, 157, .22); flex: none; }

/* ───────────── 8. Alerte claire (démonstration) ───────────── */
.lp-spot { margin-top: clamp(72px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-spot .section-title, .lp-spot .section-sub { text-align: start; margin-inline: 0; }
.lp-spot .section-sub { margin-bottom: 26px; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: var(--ink-secondary); }
.lp-checks .ic { flex: none; width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--jade-100); color: var(--jade-600); stroke: currentColor; fill: none; stroke-width: 2.4; }
.lp-spot-vis { position: relative; padding: 26px; border-radius: 26px; background: linear-gradient(160deg, var(--brand-soft), var(--soft)); border: 1px solid var(--line); display: grid; gap: 12px; overflow: hidden; }
.lp-spot-vis::before { content: ""; position: absolute; width: 280px; height: 280px; inset: -90px -80px auto auto; background: radial-gradient(closest-side, rgba(139, 92, 246, .28), transparent); }
.al-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--rd-shadow-2); transition: transform .3s var(--rd-ease); }
.al-card:nth-child(2) { margin-inline-start: 22px; } .al-card:nth-child(3) { margin-inline-end: 22px; }
.al-card:hover { transform: translateY(-3px); }
.al-main { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; align-items: flex-start; }
.al-main strong { font-size: 15px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.al-pr { display: flex; flex-direction: column; align-items: flex-end; font-variant-numeric: tabular-nums; }
.al-pr s { font-size: 12px; color: var(--muted); } .al-pr b { font-size: 18px; letter-spacing: -.02em; }
.al-cap { position: relative; margin: 6px 0 0; text-align: center; font-size: 12px; color: var(--muted); }

/* ───────────── 9. Confiance, canaux, transparence ───────────── */
.lp2 > .trust { margin-top: clamp(56px, 7vw, 88px); border: 0; padding: 0 24px; gap: 12px; }
.lp2 .trust-item { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); box-shadow: var(--rd-shadow-1); }
.lp2 .trust-item svg { color: var(--jade-500); }
.lp2 .channels-section { margin-top: clamp(64px, 8vw, 104px); }
.lp2 .channel-tile { border-radius: 16px; box-shadow: var(--rd-shadow-1); transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), border-color .25s; }
.lp2 .channel-tile:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-2); border-color: var(--brand-line); }
.lp2 .honest { margin-top: clamp(64px, 8vw, 104px); padding: clamp(24px, 4vw, 44px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--rd-shadow-2); max-width: var(--rd-wrap); }
.lp2 .honest li .ic { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--jade-100); color: var(--jade-600); stroke: currentColor; fill: none; stroke-width: 2.4; margin-top: 0; }
.lp2 .honest li.no .ic { background: var(--soft); color: var(--muted); }

/* ───────────── 10. Tarifs : teaser + page /pricing ───────────── */
.lp2 .pricing-section { margin-top: clamp(64px, 8vw, 104px); }
.lp2 .price-summary, .lp2 .plan, .lp2 .pricing > .card, .lp2 .setup-offer .card {
  border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--rd-shadow-2);
}
.lp2 .price-summary { max-width: 620px; padding: 38px 28px; position: relative; background: var(--card); overflow: hidden; }
.lp2 .price-summary::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #8b5cf6, #29c19d); }
.lp2 .price-summary .ps-amount { font-size: clamp(40px, 6vw, 56px); letter-spacing: -.045em; }
.lp2 .price-summary .ps-cta { min-height: 52px; padding: 13px 30px; border-radius: 14px; font-size: 16px; font-weight: 650; background: var(--rd-grad); border-color: transparent; color: #fff; box-shadow: 0 10px 28px rgba(108, 39, 215, .35); transition: transform .2s var(--rd-ease), box-shadow .2s; }
.lp2 .price-summary .ps-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(108, 39, 215, .45); }
.lp2 .ps-refund { margin: 18px 0 0; display: inline-flex; gap: 6px; align-items: center; justify-content: center; padding: 6px 14px; border-radius: 999px; background: var(--jade-50); color: var(--jade-800); font-size: 13px; font-weight: 600; }
.lp2 .ps-refund a, .pr-refund a { color: inherit; text-decoration: none; }
.lp2 .ps-refund a:hover, .pr-refund a:hover { text-decoration: underline; }
.lp2 .pricing { max-width: 1040px; gap: 18px; }
.lp2 .plan { padding: 30px 26px; background: var(--card); transition: transform .3s var(--rd-ease), box-shadow .3s var(--rd-ease), border-color .3s; }
.lp2 .plan:hover { transform: translateY(-4px); box-shadow: var(--rd-shadow-3); border-color: var(--brand-line); }
.lp2 .plan .amount { font-size: clamp(38px, 4vw, 46px); letter-spacing: -.045em; }
.lp2 .plan h3 { color: var(--ink); font-size: 17px; letter-spacing: -.02em; }
.lp2 .plan .btn { min-height: 46px; border-radius: 12px; font-weight: 650; }

/* Page /pricing */
.pr-hero { position: relative; isolation: isolate; text-align: center; padding: clamp(48px, 7vw, 88px) 24px clamp(88px, 9vw, 120px); }
.pr-hero .section-label { background: var(--rd-glass); border-color: var(--rd-glass-line); color: #ddd0ff; }
.pr-hero .section-title { color: #fff; font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.03em; margin-bottom: 14px; font-weight: 600; }
.pr-hero .section-sub { color: var(--rd-on-night-2); margin-bottom: 0; }
.pr2 .pricing-page { max-width: var(--rd-wrap); margin: 0 auto; padding: 0 24px; }
.pr2 .pricing-page .pricing { margin-top: -64px; position: relative; z-index: 2; max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Le toggle Mensuel / Annuel est au-dessus des cartes : ne plus les remonter sur le hero. */
.pr2 .pricing-page .public-plans .pricing { margin-top: 0; z-index: auto; }
.pr2 .pricing-footnote { font-size: 13.5px; }
.pr-refund { display: flex; width: fit-content; align-items: center; gap: 8px; margin: 26px auto 0; padding: 9px 18px; border-radius: 999px; background: var(--jade-50); border: 1px solid var(--jade-200); color: var(--jade-800); font-weight: 600; }
.pr2 .pr-refund a, .lp2 .ps-refund a { text-decoration: none; }
.pr-refund .ic { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex: none; }

/* ───────────── 11. Appel final ───────────── */
.lp2 .final-cta {
  position: relative; overflow: hidden; isolation: isolate; max-width: var(--rd-wrap); margin: clamp(64px, 8vw, 112px) auto 0; padding: clamp(44px, 6vw, 80px) 28px; border-radius: 32px;
  background: radial-gradient(700px 320px at 15% 0%, rgba(139, 92, 246, .55), transparent 70%), radial-gradient(520px 300px at 90% 100%, rgba(41, 193, 157, .32), transparent 70%), linear-gradient(135deg, #1b0f45, #0a0618);
  box-shadow: var(--rd-shadow-3); border: 1px solid rgba(255,255,255,.08);
}
.lp2 .final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.lp2 .final-cta h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; color: #fff; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.lp2 .final-cta p { color: var(--rd-on-night-2); opacity: 1; font-size: 17px; }

.lp2 .final-cta p { margin-inline: auto; max-width: 560px; }
.lp2 .final-cta .btn { min-height: 52px; padding: 13px 30px; border-radius: 14px; font-weight: 700; font-size: 16px; background: #fff; color: #1a0f3d; box-shadow: 0 10px 34px rgba(139, 92, 246, .5); transition: transform .2s var(--rd-ease), box-shadow .2s; }
.lp2 .final-cta .btn:hover { transform: translateY(-2px); background: #fff; color: #1a0f3d; box-shadow: 0 16px 44px rgba(139, 92, 246, .65); }
.lp2 + .footer, .is-landing .footer { margin-top: clamp(56px, 7vw, 96px); }

/* ───────────── 12. Mode sombre : adaptations ───────────── */
:root[data-theme="dark"] .lp2 .hero-mock { color: #17142a; }
:root[data-theme="dark"] .lp-spot-vis { background: linear-gradient(160deg, rgba(139, 92, 246, .14), rgba(255,255,255,.02)); }
:root[data-theme="dark"] .lp-stats strong, :root[data-theme="dark"] .lp-big .grad { background: linear-gradient(135deg, #c4b5fd, #7ee7cd); -webkit-background-clip: text; background-clip: text; }
:root[data-theme="dark"] .step-n { color: rgba(255,255,255,.07); }
:root[data-theme="dark"] .lp-checks .ic, :root[data-theme="dark"] .lp2 .honest li .ic { background: rgba(41, 193, 157, .16); color: #7ee7cd; }
:root[data-theme="dark"] .lp2 .ps-refund, :root[data-theme="dark"] .pr-refund { background: rgba(41, 193, 157, .12); color: #7ee7cd; border-color: rgba(41, 193, 157, .3); }
:root[data-theme="dark"] .lp2 .section-label { background: rgba(139, 92, 246, .14); color: #c4b5fd; border-color: rgba(139, 92, 246, .3); }

/* ───────────── 13. Animations (seulement si le mouvement n'est pas réduit) ───────────── */
@keyframes rd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rd-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes rd-orb { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(30px, -24px, 0) scale(1.08); } }
@keyframes rd-draw { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@keyframes rd-mock-in { from { opacity: 0; transform: rotateX(16deg) translateY(40px) scale(.96); } to { opacity: 1; transform: rotateX(7deg) scale(.985); } }
@keyframes rd-toast-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes rd-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hx > .hero-eyebrow, .hx > .hx-h1, .hx > .hero-lead, .hx > .hero-ctas, .hx > .hero-note { animation: rd-rise .8s var(--rd-ease) both; }
  .hx > .hx-h1 { animation-delay: .08s; } .hx > .hero-lead { animation-delay: .18s; } .hx > .hero-ctas { animation-delay: .28s; } .hx > .hero-note { animation-delay: .36s; }
  .hx-orb.o1 { animation: rd-orb 16s ease-in-out infinite; } .hx-orb.o2 { animation: rd-orb 20s ease-in-out -6s infinite; } .hx-orb.o3 { animation: rd-orb 18s ease-in-out -11s infinite; }
  .lp2 .hero-mock { animation: rd-mock-in 1.1s var(--rd-ease) .35s both; }
  .mc-line { animation: rd-draw 1.8s var(--rd-ease) 1s both; }
  .hx-toast { animation: rd-toast-in .7s var(--rd-ease) 1.1s both, rd-float 6s ease-in-out 2s infinite; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lp-stats li, .lp-steps .step, .lp-spot-copy, .al-card, .lp2 .channel-tile, .lp2 .honest, .lp2 .price-summary, .lp2 .plan, .lp2 .final-cta, .lp2 .trust-item {
      animation: rd-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 32%;
    }
  }
}
@media (prefers-reduced-motion: reduce) { .lp2 *, .lp2 *::before, .lp2 *::after { animation: none !important; transition: none !important; } }

/* ───────────── 14. Écrans moyens et mobiles ───────────── */
@media (max-width: 1100px) { .pr2 .pricing-page .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-toast { inset-inline-end: -8px; } }
@media (max-width: 860px) {
  .lp-spot { grid-template-columns: minmax(0, 1fr); }
  .lp-spot .section-title, .lp-spot .section-sub { text-align: center; margin-inline: auto; }
  .features.lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp2 .hero-mock { transform: none; }
  @keyframes rd-mock-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) {
  .lp2 .hero.hx { padding: 56px 18px 28px; min-height: 80svh; }
  .lp2 .hero h1.hx-h1 { font-size: clamp(34px, 10vw, 44px); }
  .hx-stage { margin-top: 36px; margin-bottom: 52px; }
  .mock-app { grid-template-columns: minmax(0, 1fr); } .mock-side { display: none; }
  .lp2 .hero-mock .mock-body { padding: 14px; }
  .lp2 .hero-mock .mock-stat { padding: 9px 10px; } .lp2 .hero-mock .mock-stat .mv { font-size: 19px; }
  .mock-chart svg { height: 56px; }
  .lp2 .hero-mock .mock-url { display: none; }
  .hx-toast { position: absolute; inset: auto 10px -44px 10px; top: auto; width: auto; padding: 11px 12px; }
  .hx-toast .hx-ico { width: 32px; height: 32px; } .hx-toast em { display: none; }
  .lp2 .mock-caption { margin-top: 56px; }
  .lp2 > section:not(.hero):not(.lp-problem), .lp2 > .trust, .lp2 > .honest, .pr2 .pricing-page { padding-inline: 18px; }
  .lp-stats { gap: 8px; } .lp-stats li { padding: 16px 6px; border-radius: 14px; } .lp-stats span { font-size: 12px; }
  .al-card:nth-child(2), .al-card:nth-child(3) { margin-inline: 0; }
  .lp-spot-vis { padding: 16px; border-radius: 20px; }
  .al-card { padding: 12px 14px; gap: 10px; }
  .pr2 .pricing-page .pricing { grid-template-columns: minmax(0, 1fr); margin-top: -48px; }
  .lp2 .final-cta { margin-inline: 14px; border-radius: 24px; }
  .lp2 .honest { margin-inline: 14px; padding: 22px 18px; }
  .lp2 > .trust { gap: 8px; } .lp2 .trust-item { padding: 8px 12px; font-size: 12.5px; }
}

/* Compléments de mise en page */
.lp2 .honest .section-label { margin-inline: 0; }
.lp2 .channels-section { text-align: center; }
.lp2 .channel-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp2 .channel-tile { flex: 0 1 196px; text-align: start; }
.lp2 .channel-grid.all-soon .channel-tile { padding: 14px 16px; }
.lp2 .pricing-section > .section-title { margin-bottom: 30px; }
.lp2 .price-summary { display: flex; flex-direction: column; align-items: center; margin-inline: auto; }
.lp2 .price-summary .ps-cta { order: 3; } .lp2 .price-summary .ps-refund { order: 4; }
.lp2 .price-summary .ps-trial { margin-bottom: 24px; }
.lp2 .setup-offer .pricing { display: flex; flex-wrap: wrap; justify-content: center; max-width: 780px; }
.lp2 .setup-offer .plan { flex: 1 1 300px; max-width: 360px; }
.lp2 .setup-offer > .section-title { margin-bottom: 12px; }
.lp2 .pricing-section .pricing-footnote { max-width: 640px; }

@media (max-width: 640px) {
  .lp2 .hero-mock .mock-table { font-size: 12.5px; }
  .lp2 .hero-mock .mock-table td, .lp2 .hero-mock .mock-table th { padding: 9px 6px; }
  .lp2 .hero-mock .mock-table td strong { font-size: 12.5px; }
  .lp2 .channel-tile { flex: 1 1 calc(50% - 12px); }
  .lp2 .channels-section { padding-inline: 14px; }
}

/* ═════════════ Espace connecté : coque, tableau de bord, cartes ═════════════ */
.is-app { --rd-app-bg: radial-gradient(900px 420px at 85% -80px, rgba(139, 92, 246, .10), transparent 70%), radial-gradient(700px 360px at 0% 0%, rgba(41, 193, 157, .06), transparent 70%); }
.is-app .shell-main { background: var(--rd-app-bg), var(--bg); }

/* Barre latérale épurée */
.is-app .sidebar { background: linear-gradient(180deg, var(--card) 0%, color-mix(in srgb, var(--card) 93%, #8b5cf6) 100%); border-inline-end-color: var(--line); padding-inline: 14px; }
.is-app .side-link { border-radius: 11px; padding: 7px 10px; transition: background .18s var(--rd-ease), color .18s, transform .18s var(--rd-ease); }
.is-app .side-link:hover { transform: translateX(2px); }
.is-app .side-link.active { background: linear-gradient(90deg, var(--brand-soft), transparent 130%); box-shadow: inset 0 0 0 1px var(--brand-line); }
.is-app .side-group { letter-spacing: .09em; padding-top: 18px; }
.is-app .ws-current { border-radius: 14px; box-shadow: var(--rd-shadow-1); background: var(--card); }

/* En-tête de page */
.is-app .page-head { margin-bottom: 28px; }
.is-app .page-head h1 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.035em; font-weight: 720; line-height: 1.1; }
.is-app .page-head .sub { color: var(--muted); font-size: 14.5px; }
.is-app .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.is-app .eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #8b5cf6, #29c19d); }

/* Cartes premium */
.is-app .card { border-radius: 18px; border-color: var(--line); box-shadow: var(--rd-shadow-1); }
.is-app .card-head h2::after, .is-app .card-head h3::after { display: none; }
.is-app .card-head h2 { letter-spacing: -.02em; font-size: 17px; }

/* Indicateurs (KPI) */
.is-app .kpis { gap: 16px; }
.is-app .stat { padding: 20px 22px; border-radius: 18px; transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), border-color .25s; }
.is-app .stat::before { display: none; }
.is-app .stat::after { content: ""; position: absolute; inset: auto -30px -50px auto; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 246, .14), transparent); pointer-events: none; opacity: .0; transition: opacity .3s; }
.is-app .stat:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-3); border-color: var(--brand-line); }
.is-app .stat:hover::after { opacity: 1; }
.is-app .stat .label { font-size: 12.5px; letter-spacing: .005em; }
.is-app .stat[data-kpi] .label > .ic { width: 32px; height: 32px; padding: 7px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.is-app .stat .value { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -.04em; font-weight: 740; margin-top: 14px; }
.is-app .stat .value small { font-size: 14px; font-weight: 550; color: var(--muted); letter-spacing: 0; }

/* Tableaux et listes */
.is-app table th { letter-spacing: .06em; }
.is-app .btn:not(.secondary):not(.ghost):not(.danger):not(.sm):not(.icon) { border-radius: 11px; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 6px 16px rgba(108, 39, 215, .22); transition: transform .18s var(--rd-ease), box-shadow .18s, background .18s; }
.is-app .btn:not(.secondary):not(.ghost):not(.danger):not(.sm):not(.icon):hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 10px 24px rgba(108, 39, 215, .32); }

/* État vide : illustration d'accueil */
.empty-hero { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); align-items: center; gap: clamp(20px, 4vw, 48px); padding: clamp(22px, 3.4vw, 36px); position: relative; overflow: hidden; background: linear-gradient(135deg, var(--card) 40%, color-mix(in srgb, var(--card) 88%, #8b5cf6)); }
.empty-hero::before { content: ""; position: absolute; inset: -80px -60px auto auto; width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(139, 92, 246, .18), transparent); pointer-events: none; }
.empty-ill { width: 100%; height: auto; display: block; overflow: visible; }
.eh-shadow { fill: rgba(76, 29, 149, .14); }
.eh-win { fill: #fff; stroke: #e4defa; stroke-width: 1.5; filter: drop-shadow(0 12px 22px rgba(76, 29, 149, .18)); }
.eh-bar { fill: #f4f0fe; } .eh-bar2 { fill: #f4f0fe; }
.eh-sk { fill: #f0ecfb; }
.eh-line { stroke-dasharray: 600; }
.empty-hero-copy { position: relative; }
.empty-hero-copy h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.035em; margin: 0 0 10px; font-weight: 720; line-height: 1.15; }
.empty-hero-copy p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
:root[data-theme="dark"] .eh-win { fill: #1b1633; stroke: #3a3060; }
:root[data-theme="dark"] .eh-bar, :root[data-theme="dark"] .eh-bar2, :root[data-theme="dark"] .eh-sk { fill: #2a2347; }

@media (prefers-reduced-motion: no-preference) {
  .eh-line { animation: rd-draw 2s var(--rd-ease) .3s both; }
  .eh-bell { transform-origin: 270px 30px; animation: rd-ring 3.6s ease-in-out 1.6s infinite; }
  @keyframes rd-ring { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 88% { transform: rotate(8deg); } 94% { transform: rotate(-4deg); } }
  .is-app .kpis .stat, .empty-hero { animation: rd-rise .6s var(--rd-ease) both; }
  .is-app .kpis .stat:nth-child(2) { animation-delay: .05s; } .is-app .kpis .stat:nth-child(3) { animation-delay: .1s; }
  .is-app .kpis .stat:nth-child(4) { animation-delay: .15s; } .is-app .kpis .stat:nth-child(5) { animation-delay: .2s; } .is-app .kpis .stat:nth-child(6) { animation-delay: .25s; }
}
@media (prefers-reduced-motion: reduce) { .is-app .stat, .is-app .side-link, .is-app .btn { transition: none; } }

@media (max-width: 700px) {
  .empty-hero { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .empty-ill { max-width: 220px; margin-inline: auto; }
  .empty-hero-copy p { margin-inline: auto; }
  .is-app .kpis { gap: 10px; }
  .is-app .stat { padding: 14px 14px; border-radius: 16px; }
  .is-app .stat .value { font-size: 26px; margin-top: 10px; }
}

/* Mobile : les halos restent dans l'écran (aucun élément ne dépasse, même animé) */
@media (max-width: 700px) {
  .hx-orb.o1 { width: 52vw; height: 52vw; left: 2vw; }
  .hx-orb.o2 { width: 44vw; height: 44vw; right: 12vw; }
  .hx-orb.o3 { width: 40vw; height: 40vw; left: 18vw; }
}

/* ═════════════ Passe 4 : accueil resserré ═════════════ */
/* Canaux d'alerte : intégrés sous la section « alertes » */
.lp-spot .lp-chan { grid-column: 1 / -1; margin-top: clamp(8px, 2vw, 20px); padding: clamp(22px, 3vw, 34px) clamp(16px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--rd-shadow-1); text-align: center; }
.lp-spot .lp-chan .section-label { margin-bottom: 8px; }
.lp-spot .lp-chan .section-title { text-align: center; margin-inline: auto; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.025em; }
.lp-spot .lp-chan .section-sub { text-align: center; margin: 0 auto 20px; max-width: 60ch; font-size: 15px; }
.lp-spot .lp-chan .channel-grid { margin: 0; }
.lp2 .lp-spot .lp-chan { margin-top: clamp(8px, 2vw, 20px); }

/* Confiance : puces fondues dans la section transparence */
.lp2 .honest .lp-trust { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 0; padding: 18px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; background: none; max-width: none; }
.lp2 .honest .lp-trust .trust-item { padding: 8px 14px; font-size: 13.5px; }

/* Installation : repliée dans le bloc tarifs */
.lp2 details.setup-offer { max-width: 780px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--rd-shadow-1); padding: 0; overflow: hidden; }
.lp2 details.setup-offer[open] { box-shadow: var(--rd-shadow-2); border-color: var(--brand-line); }
.setup-sum { display: flex; align-items: center; gap: 10px; padding: 16px 20px; cursor: pointer; list-style: none; font-weight: 650; letter-spacing: -.01em; }
.setup-sum::-webkit-details-marker { display: none; }
.setup-sum .setup-title { font-size: 16px; }
.setup-sum .chev { margin-inline-start: auto; width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--rd-ease); }
details.setup-offer[open] .setup-sum .chev { transform: rotate(180deg); }
.setup-sum:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 18px; }
details.setup-offer > :not(summary) { margin-inline: clamp(14px, 3vw, 24px); }
details.setup-offer > .section-sub { margin-top: 0; margin-bottom: 18px; text-align: start; }
details.setup-offer > .pricing-footnote { margin-bottom: 20px; }
details.setup-offer .plan { max-width: none; }

/* Rythme vertical plus serré */
.lp2 .lp-spot { margin-top: clamp(56px, 7vw, 88px); }
.lp2 .honest, .lp2 .pricing-section { margin-top: clamp(48px, 6vw, 80px); }
@media (max-width: 640px) { .lp2 .honest .lp-trust { gap: 8px; } .lp2 .honest .lp-trust .trust-item { font-size: 12.5px; padding: 7px 11px; } .setup-sum { padding: 14px 16px; } }

/* ═════════════ Passe 4 : pages internes (produits, alertes, opportunités, réglages, facturation) ═════════════ */
/* États vides illustrés */
.empty { padding: clamp(36px, 6vw, 64px) 20px; }
.empty .empty-icon.has-art { width: min(240px, 70%); height: auto; margin: 0 auto 8px; background: none; border-radius: 0; display: block; color: inherit; }
.empty-art { width: 100%; height: auto; display: block; overflow: visible; }
.ea-shadow { fill: rgba(76, 29, 149, .12); }
.ea-back { fill: var(--brand-soft-2, #ebe4fb); }
.ea-card { fill: var(--card, #fff); stroke: var(--brand-line, #e4defa); stroke-width: 1.5; filter: drop-shadow(0 10px 18px rgba(76, 29, 149, .16)); }
.ea-chip { fill: var(--brand-soft, #f1ebfd); }
.ea-sk { fill: var(--soft, #f0ecfb); }
.ea-badge { fill: #6c27d7; filter: drop-shadow(0 6px 12px rgba(108, 39, 215, .35)); }
.ea-bell .ea-badge, .ea-bolt .ea-badge { fill: #f59e0b; filter: drop-shadow(0 6px 12px rgba(245, 158, 11, .38)); }
.ea-target .ea-badge, .ea-chart .ea-badge, .ea-link .ea-badge { fill: #20977c; filter: drop-shadow(0 6px 12px rgba(32, 151, 124, .38)); }
.ea-ic { color: #fff; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ea-ic use { fill: none; stroke: #fff; }
:root[data-theme="dark"] .ea-back { fill: #2a2347; }
:root[data-theme="dark"] .ea-card { fill: #1b1633; stroke: #3a3060; }
:root[data-theme="dark"] .ea-chip, :root[data-theme="dark"] .ea-sk { fill: #2a2347; }
.empty .empty-title { font-size: 19px; letter-spacing: -.02em; font-weight: 700; }
.empty p { color: var(--muted); font-size: 14.5px; }

/* Onglets des réglages : barre latérale propre */
.is-app .settings-tabs.subnav { border-radius: 18px; padding: 10px; box-shadow: var(--rd-shadow-1); }
.is-app .settings-tabs a { border-radius: 11px; padding: 9px 12px; font-size: 14px; transition: background .18s var(--rd-ease), color .18s, transform .18s var(--rd-ease); }
.is-app .settings-tabs a:hover { background: var(--soft); transform: translateX(2px); }
.is-app .settings-tabs a.active, .is-app .settings-tabs a[aria-current="page"] { background: linear-gradient(90deg, var(--brand-soft), transparent 140%); box-shadow: inset 0 0 0 1px var(--brand-line); font-weight: 650; }
.is-app .subnav:not(.settings-tabs) a { border-radius: 10px 10px 0 0; }

/* Formulaires */
.is-app input[type=text], .is-app input[type=email], .is-app input[type=password], .is-app input[type=url], .is-app input[type=number], .is-app input[type=search], .is-app input[type=tel], .is-app select, .is-app textarea { border-radius: 12px; min-height: 42px; transition: border-color .15s, box-shadow .15s; }
.is-app label { font-weight: 600; }

/* Tableaux : en-têtes doux, lignes respirantes */
.is-app th { background: color-mix(in srgb, var(--card) 70%, var(--soft)); }
.is-app .card > table:first-child th:first-child, .is-app .card > .table-wrap:first-child th:first-child { border-top-left-radius: 18px; }
.is-app td { padding-block: 14px; }
.is-app tbody tr:hover { background: color-mix(in srgb, var(--brand-soft) 55%, transparent); }

/* Filtres segmentés */
.is-app .seg { border-radius: 12px; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); background: var(--soft); }
.is-app .seg button { border-radius: 9px; padding: 7px 12px; transition: background .15s, color .15s, box-shadow .15s; }
.is-app .seg button.active { box-shadow: var(--rd-shadow-1); color: var(--brand); }

/* Puces, avertissements */
.is-app .callout { border-radius: 14px; }
.is-app .chip, .is-app .pill { padding: 3px 10px; }

/* Offres (facturation) */
.is-app .plan { border-radius: 20px; transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), border-color .25s; }
.is-app .plan:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-3); }
.is-app .plan.featured { box-shadow: 0 0 0 1.5px var(--brand), var(--rd-shadow-3); background: linear-gradient(180deg, color-mix(in srgb, var(--card) 92%, #8b5cf6), var(--card) 40%); }
.is-app .plan .amount { letter-spacing: -.045em; }
.is-app .plan ul li { border-top-color: var(--line); }

/* Opportunités : cartes d'action plus nettes */
.is-app .opp-card { border-radius: 16px; transition: transform .22s var(--rd-ease), box-shadow .22s var(--rd-ease); }
.is-app .opp-card:hover { transform: translateY(-2px); box-shadow: var(--rd-shadow-2); }

@media (prefers-reduced-motion: no-preference) {
  .empty-art .ea-badge, .empty-art .ea-ic { animation: rd-float 4.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .empty-art .ea-ic { animation-name: rd-float-ic; }
  @keyframes rd-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  @keyframes rd-float-ic { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  .is-app main > .card, .is-app .acct > .card, .is-app .settings-shell > div > .card { animation: rd-rise .5s var(--rd-ease) both; }
}
@media (prefers-reduced-motion: reduce) { .is-app .plan, .is-app .opp-card, .is-app .settings-tabs a { transition: none; } }
@media (max-width: 700px) {
  .is-app .settings-tabs.subnav { border-radius: 14px; }
  .is-app .plan { border-radius: 18px; }
  .empty .empty-icon.has-art { width: min(200px, 64%); }
}
.empty .empty-icon.has-art svg.empty-art { width: 100%; height: auto; }
.empty .empty-icon.has-art svg.ea-ic { width: 24px; height: 24px; }
.is-app .seg a { border-radius: 9px; padding: 7px 12px; transition: background .15s, color .15s, box-shadow .15s; }
.is-app .seg a.active { box-shadow: var(--rd-shadow-1); color: var(--brand); }
.is-app .toolbar { gap: 12px; }
.is-app .toolbar .search { flex: 1 1 240px; min-width: 0; max-width: 360px; }
.is-app .toolbar .search.ml-auto { margin-inline-start: auto; }
@media (max-width: 700px) { .is-app .toolbar .search { flex-basis: 100%; max-width: none; } }
