/* ============================================================
   LIDESK — Landing Partenaires (compléments à landing-user.css)
   ============================================================ */

/* hero partenaires : visuel = aperçu du tableau de bord */
.hero.partner { padding: 70px 0 88px; }
.hero.partner .hero-grid { grid-template-columns: 1fr 1.02fr; }
.hero.partner .hero-eyebrow .pin { background: var(--warm); box-shadow: 0 0 0 4px var(--warm-soft); }

/* dashboard preview card */
.dash-preview { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-top .tt { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-left: 6px; }
.dash-body { padding: 22px; }
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.kpi .kl { font-size: 12px; color: var(--ink-3); }
.kpi .kv { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; color: var(--ink); margin-top: 4px; }
.kpi .kd { font-size: 12px; font-weight: 600; margin-top: 4px; display: inline-flex; align-items: center; gap: 4px; }
.kpi .kd.up { color: var(--ok); }
.dash-chart { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.dash-chart .ch-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dash-chart .ch-head .t { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.dash-chart .ch-head .lg { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; }
.bars .b { flex: 1; background: var(--accent-soft); border-radius: 5px 5px 0 0; position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.bars .b i { display: block; background: var(--accent); border-radius: 5px 5px 0 0; }
.bars .b span { position: absolute; bottom: -20px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.dash-float { position: absolute; right: -18px; bottom: 30px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 13px 16px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 11px; }
.dash-float .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.dash-float .t { font-size: 13.5px; font-weight: 700; }
.dash-float .s { font-size: 12px; color: rgba(255,255,255,.6); }

/* value props — 3 grandes cartes */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; }
.value .vi { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value .vi.teal { background: var(--accent-soft); color: var(--accent-press); }
.value .vi.warm { background: var(--warm-soft); color: var(--warm); }
.value .vi.ink { background: var(--ink); color: #fff; }
.value h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.value p { font-size: 14.5px; color: var(--ink-2); margin-top: 10px; line-height: 1.55; }
.value .free { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--accent-press); background: var(--accent-soft); padding: 5px 10px; border-radius: 7px; }

/* tool features — split layout */
.tool { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.tool .feat { display: flex; flex-direction: column; gap: 8px; }
.feat-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feat-item:last-child { border-bottom: none; }
.feat-item .fi { width: 42px; height: 42px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); color: var(--accent-press); display: flex; align-items: center; justify-content: center; flex: none; }
.feat-item h4 { font-family: var(--display); font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; }
.feat-item p { font-size: 14px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.tool-visual { background: var(--ink); border-radius: var(--r-xl); padding: 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(520px 420px at 100% 0%, color-mix(in srgb, var(--accent-bright) 28%, transparent), transparent 60%),
    var(--ink); }

/* calendar mock inside tool visual */
.cal { position: relative; z-index: 2; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.cal-head .m { font-family: var(--display); font-weight: 700; font-size: 15px; }
.cal-head .nav-c { display: flex; gap: 8px; }
.cal-head .nav-c button { width: 28px; height: 28px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; }
.cal-grid { display: grid; grid-template-columns: 54px repeat(5, 1fr); }
.cal-grid .cell { border-right: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); min-height: 44px; padding: 5px; }
.cal-grid .cell.hh { min-height: auto; padding: 9px 5px; text-align: center; font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.5); }
.cal-grid .cell.time { font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.4); text-align: right; padding-right: 8px; }
.ev { border-radius: 6px; padding: 5px 7px; font-size: 10.5px; font-weight: 600; line-height: 1.25; height: 100%; }
.ev.net { background: var(--accent); color: #fff; }
.ev.direct { background: rgba(255,90,54,.9); color: #fff; }
.ev.soft { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); border: 1px dashed rgba(255,255,255,.2); }
.cal-legend { display: flex; gap: 18px; padding: 12px 18px; color: rgba(255,255,255,.7); font-size: 12px; }
.cal-legend .lg { display: flex; align-items: center; gap: 7px; }
.cal-legend .lg i { width: 10px; height: 10px; border-radius: 3px; }

/* revenue estimator */
.estimator { background: var(--ink); border-radius: var(--r-xl); overflow: hidden; position: relative;
  background:
    radial-gradient(640px 520px at 4% 50%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 58%),
    radial-gradient(520px 420px at 96% 8%, color-mix(in srgb, var(--warm) 14%, transparent), transparent 60%),
    var(--ink); }
.est-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.est-controls { padding: 52px 48px; }
.est-controls .kicker { color: var(--accent-bright); }
.est-controls h2 { font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -.025em; color: #fff; margin: 14px 0 8px; }
.est-controls .sub { color: rgba(255,255,255,.6); font-size: 15px; margin-bottom: 34px; }
.ctrl { margin-bottom: 30px; }
.ctrl .cl { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.ctrl .cl .name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); }
.ctrl .cl .val { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent-bright); letter-spacing: -.01em; }
.ctrl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: rgba(255,255,255,.16); outline: none; }
.ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-bright); cursor: pointer; border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.ctrl input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent-bright); cursor: pointer; border: 4px solid #fff; }
.est-result { background: rgba(255,255,255,.03); border-left: 1px solid rgba(255,255,255,.1); padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.est-result .rl { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.est-result .rbig { font-family: var(--display); font-weight: 800; font-size: 60px; letter-spacing: -.03em; color: #fff; line-height: 1; margin: 14px 0 6px; }
.est-result .rbig small { font-size: 24px; color: rgba(255,255,255,.55); font-weight: 600; }
.est-result .rsub { color: rgba(255,255,255,.6); font-size: 14px; }
.est-break { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 12px; }
.est-break .br { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; }
.est-break .br .k { color: rgba(255,255,255,.6); }
.est-break .br .v { font-family: var(--mono); color: #fff; font-weight: 500; }
.est-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 22px; line-height: 1.5; }

@media (max-width: 1000px) {
  .hero.partner .hero-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .tool { grid-template-columns: 1fr; gap: 36px; }
  .est-grid { grid-template-columns: 1fr; }
  .est-result { border-left: none; border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 720px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .est-controls, .est-result { padding: 36px 26px; }
  .dash-float { right: 8px; }
}
