/* ==========================================================
   Bonnie IA — Calculateur ROI
   ========================================================== */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --line: #E2E8F0;
  --line-2: #F1F5F9;
  --brand: #6366F1;
  --brand-2: #8B5CF6;
  --brand-ink: #4338CA;
  --brand-soft: #EEF2FF;
  --success: #10B981;
  --success-soft: #D1FAE5;
  --warn: #F59E0B;
  --danger: #EF4444;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 4px 20px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 40px rgba(99,102,241,.18);
  --radius: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { margin:0; color: var(--ink); letter-spacing:-.01em; }
h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; line-height:1.1; letter-spacing:-.025em; }
h2 { font-size: 20px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; }
p  { margin: 0 0 8px; color: var(--ink-2); }
a  { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size:13px; background:var(--line-2); padding:2px 6px; border-radius:6px; }
.hidden { display: none !important; }

/* ========== HEADER ========== */
.hdr {
  position: sticky; top:0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner {
  max-width: 1400px; margin: 0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 28px;
}
.brand { display:inline-flex; align-items:center; gap:10px; font-weight:800; font-size:17px; color:var(--ink); }
.brand-dot {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 2px 8px rgba(99,102,241,.4);
}
.brand-name span { color: var(--brand); }
.hdr-nav { display:flex; align-items:center; gap:16px; }
.live {
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; color:var(--ink-3); font-weight:500;
}
.live-dot { width:8px; height:8px; border-radius:50%; background:var(--success); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.2); } }

.btn-ghost {
  padding: 9px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: white;
  font-weight: 600; font-size: 14px; color: var(--ink);
  cursor: pointer; transition: all .15s;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; }

.progress-wrap { height: 3px; background: var(--line-2); }
.progress-bar {
  height:100%; width:0%;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  transition: width .4s ease;
}

/* ========== LAYOUT ========== */
.layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  padding: 32px 28px 120px;
}
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; padding-bottom: 100px; }
}

/* ========== FORM COLUMN ========== */
.col-form { min-width: 0; }

.hero { margin-bottom: 40px; }
.eyebrow {
  display:inline-block; font-size:12px; font-weight:700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { margin-bottom: 14px; }
.accent {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 17px; color: var(--ink-2); max-width: 620px; }

/* ========== STEP ========== */
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.step-head {
  display:flex; align-items:center; gap: 14px;
  margin-bottom: 20px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: 6px 10px; border-radius: 8px;
}
.step-head h2 { flex: 1; }
.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--brand-ink); font-weight: 600; font-size: 13px;
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; }

/* ========== FIELD ========== */
.field { margin-bottom: 18px; }
.field label {
  display:flex; align-items:center; justify-content:space-between;
  font-weight: 600; font-size: 13px; color: var(--ink);
  margin-bottom: 8px;
}
.field .val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: white;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus {
  outline: 0; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.help { font-size: 12.5px; color: var(--ink-3); margin: 6px 0 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width:640px) { .grid-2 { grid-template-columns: 1fr; } }

/* ========== SLIDERS ========== */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; background: var(--line);
  border-radius: 999px; outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: white; border: 3px solid var(--brand);
  box-shadow: 0 2px 10px rgba(99,102,241,.35);
  cursor: pointer; transition: transform .12s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: white; border: 3px solid var(--brand);
  box-shadow: 0 2px 10px rgba(99,102,241,.35);
  cursor: pointer;
}
.scale {
  display:flex; justify-content:space-between;
  font-size: 11px; color: var(--ink-3);
  margin-top: 6px; font-family:'JetBrains Mono', monospace;
}

/* ========== CHIPS (secteurs) ========== */
.chips { display:flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.chip.active {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
}

/* ========== POLES ========== */
.poles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width:640px) { .poles { grid-template-columns: 1fr; } }
.pole {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line-2);
}
.pole-head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 8px;
}
.pole-name { font-weight: 600; font-size: 13.5px; display:flex; align-items:center; gap:8px; }
.pole-dot { width:9px; height:9px; border-radius:50%; }
.pole-val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: 13px;
  color: var(--brand-ink);
}
.pole-desc { font-size:11.5px; color:var(--ink-3); margin-bottom:10px; }

/* ========== DOMAINES ========== */
.domains {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.dom-card {
  display:flex; align-items:center; gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer; transition: all .15s;
  font-size: 14px; font-weight: 500;
  user-select: none;
}
.dom-card:hover { border-color: var(--brand); background: var(--brand-soft); }
.dom-card.active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-ink); font-weight: 600;
}
.dom-card .dom-dot {
  width:12px; height:12px; border-radius: 4px; flex-shrink:0;
}
.dom-card .check { margin-left:auto; color: var(--brand); font-weight: 700; opacity: 0; transition: opacity .15s; }
.dom-card.active .check { opacity: 1; }

/* ========== UC ========== */
.uc-toolbar {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 10px;
}
.uc-count-wrap { display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.uc-count {
  font-weight:600; font-size:13px; color: var(--ink);
  font-family:'JetBrains Mono', monospace;
}
.uc-range { font-size:12px; color: var(--ink-3); font-family:'JetBrains Mono', monospace; }

.uc-groups { display:flex; flex-direction: column; gap: 22px; }
.uc-group-head {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.uc-group-title { display:flex; align-items:center; gap:8px; font-weight:700; font-size:14px; }
.uc-group-dot { width:10px; height:10px; border-radius:3px; }
.uc-group-empty {
  padding: 32px 20px; background: var(--line-2);
  border: 1px dashed var(--line); border-radius: 12px;
  text-align: center; color: var(--ink-3); font-size: 13.5px;
}
.uc-filters { display:flex; gap:6px; }
.chip-f {
  padding: 6px 12px; border: 1px solid var(--line);
  background: white; border-radius: 8px;
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all .15s;
}
.chip-f:hover { border-color: var(--brand); }
.chip-f.active { background: var(--ink); color:white; border-color: var(--ink); }

.uc-list { display:flex; flex-direction: column; gap:8px; }
.uc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all .15s;
}
.uc-item:hover { border-color: var(--brand); background: var(--brand-soft); }
.uc-item.active { border-color: var(--brand); background: var(--brand-soft); }
.uc-check {
  width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--line); background: white;
  flex-shrink: 0; display:flex; align-items:center; justify-content:center;
  color: white; font-weight: 700; font-size: 13px;
}
.uc-item.active .uc-check { background: var(--brand); border-color: var(--brand); }
.uc-item.active .uc-check::after { content: '✓'; }
.uc-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.uc-meta {
  display:flex; gap:10px; align-items:center;
  font-size:12px; color: var(--ink-3); margin-top: 3px;
}
.uc-meta .diff {
  padding: 2px 7px; border-radius: 6px;
  font-size:10.5px; font-weight: 600; text-transform: uppercase; letter-spacing:.04em;
}
.uc-meta .diff.facile  { background: var(--success-soft); color: #065F46; }
.uc-meta .diff.moyen   { background: #FEF3C7; color: #92400E; }
.uc-meta .diff.avancé  { background: #FEE2E2; color: #991B1B; }
.uc-gain {
  font-family:'JetBrains Mono', monospace;
  font-weight: 700; font-size: 13.5px; color: var(--brand-ink);
  white-space: nowrap;
}

/* ========== ADVANCED ========== */
.advanced {
  margin-top: 14px; padding-top: 18px;
  border-top: 1px dashed var(--line);
}

/* ========== INFO TOOLTIP ========== */
.info {
  display:inline-flex; align-items:center; justify-content:center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--line-2); color: var(--ink-3);
  font-size: 11px; font-weight: 700; cursor: help;
  margin-left: 6px; position: relative;
}
.info:hover::after {
  content: attr(data-tip);
  position: absolute; top: 22px; right: 0;
  width: 260px; padding: 10px 12px;
  background: var(--ink); color: white;
  font-size: 12px; font-weight: 400; line-height: 1.4;
  border-radius: 8px; z-index: 100;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  white-space: normal; text-transform: none; letter-spacing: 0;
}

/* ========== FORM CTA ========== */
.form-cta { margin-top: 28px; text-align: center; }
.btn-big { max-width: 520px; margin: 0 auto; padding: 18px 28px; font-size: 16px; }
.cta-error {
  margin-top: 12px; padding: 10px 14px;
  background: #FEE2E2; border: 1px solid #FCA5A5;
  color: #991B1B; border-radius: 10px;
  font-size: 13px; font-weight: 500;
}

/* ========== FORM FOOT ========== */
.form-foot { margin-top: 30px; }
.rgpd {
  padding: 14px 16px; background: var(--line-2);
  border-radius: 10px; font-size: 12.5px; color: var(--ink-2);
}
.sources { font-size:11.5px; color: var(--ink-3); margin-top: 14px; }

/* ========== ROI PANEL ========== */
.col-roi { min-width: 0; }
.roi-card {
  position: sticky; top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}
.roi-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 10px;
}
.roi-main { margin-bottom: 20px; }
.roi-num {
  display:block;
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.025em;
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}

.roi-range {
  display:flex; flex-direction:column; gap: 6px;
  padding: 14px; margin-bottom: 18px;
  background: var(--line-2); border-radius: 12px;
}
.range-row {
  display:flex; justify-content:space-between; align-items:center;
  font-size: 12.5px; color: var(--ink-2);
}
.range-row b {
  font-family:'JetBrains Mono', monospace;
  font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.range-row.bold { color: var(--ink); font-weight: 600; }
.range-row.bold b { color: var(--brand-ink); font-size: 14px; }

.roi-kpis {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  margin-bottom: 18px;
}
.kpi {
  padding: 12px 10px;
  background: var(--line-2); border-radius: 10px;
  text-align: center;
}
.k-label { display:block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing:.06em; margin-bottom: 6px; }
.kpi b { font-family:'JetBrains Mono', monospace; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); }

.roi-doms { display:flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.r-dom {
  display: grid; grid-template-columns: 8px 1fr auto; gap: 8px; align-items:center;
  font-size: 12.5px;
}
.r-dom-dot { width: 8px; height: 8px; border-radius: 50%; }
.r-dom-bar {
  height: 6px; background: var(--line-2);
  border-radius: 999px; overflow: hidden;
}
.r-dom-bar-in { height: 100%; border-radius: 999px; transition: width .4s; }
.r-dom-val { font-family: 'JetBrains Mono', monospace; font-weight:600; font-size:11.5px; color: var(--ink-2); }

.roi-sanity {
  padding: 11px 12px; margin-bottom: 14px;
  background: #FEF3C7; border: 1px solid #FDE68A;
  border-radius: 10px; font-size: 12.5px; color: #92400E;
}

.btn-primary {
  display:flex; flex-direction: column; align-items:center;
  width: 100%; padding: 14px 20px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: white; font-weight: 700; font-size: 15px;
  border: 0; border-radius: 12px;
  cursor: pointer; transition: all .2s;
  box-shadow: 0 4px 16px rgba(99,102,241,.35);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.45); text-decoration: none; }
.btn-sub { font-weight: 500; font-size: 11px; opacity: .9; margin-top: 3px; letter-spacing: .03em; }

.roi-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); text-align: center; }

/* mobile ROI bottom-sheet trigger */
.roi-toggle {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: white;
  border: 0; border-top: 1px solid var(--line);
  padding: 14px 20px;
  justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 14px; color: var(--ink);
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
  cursor: pointer;
}
.roi-toggle b { color: var(--brand-ink); font-family:'JetBrains Mono', monospace; }

@media (max-width:1024px) {
  .col-roi { position: fixed; bottom: 0; left:0; right:0; max-height: 80vh; overflow-y: auto; transform: translateY(calc(100% - 64px)); transition: transform .3s; z-index: 45; background: white; border-top-left-radius: 20px; border-top-right-radius: 20px; box-shadow: 0 -10px 40px rgba(0,0,0,.1);}
  .col-roi.open { transform: translateY(0); }
  .roi-card { position: static; border: 0; box-shadow: none; border-radius: 0; padding-top: 52px; }
  .roi-toggle { display:flex; }
  .col-roi.open .roi-toggle { transform: rotate(180deg); position: absolute; top: 10px; right: 10px; left: auto; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; }
  .col-roi.open .roi-toggle span:first-child { display: none; }
}

/* ========== MODAL ========== */
.modal {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display:flex; align-items:center; justify-content:center;
  padding: 20px;
}
.modal-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 520px; width: 100%;
  box-shadow: 0 20px 60px rgba(15,23,42,.3);
  animation: modal-in .3s ease;
}
@keyframes modal-in { from { opacity:0; transform: translateY(20px);} to { opacity:1; transform:translateY(0);} }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--line-2); border: 0; border-radius: 8px;
  font-size: 20px; color: var(--ink-3);
  cursor: pointer;
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-head { margin-bottom: 24px; }
.modal-head h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.lead-sub { font-size: 14px; color: var(--ink-2); }
.lead-form .field { margin-bottom: 14px; }
.lead-form .check label {
  font-weight: 400; font-size: 12.5px; color: var(--ink-2);
  justify-content: flex-start; gap: 8px;
}
.lead-form .check input { margin-top: 2px; }

/* ========== REPORT ========== */
.report {
  max-width: 1100px; margin: 0 auto;
  padding: 32px 28px 100px;
  animation: report-in .4s ease;
}
@keyframes report-in { from { opacity:0; transform: translateY(10px);} to { opacity:1; transform:translateY(0);} }
.report-head {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.report-meta {
  display:flex; gap:12px; font-size: 12px; color: var(--ink-3);
  font-family:'JetBrains Mono', monospace;
}
.report-meta span { padding: 4px 10px; background: var(--line-2); border-radius: 6px; }

.report-hero {
  text-align: center; padding: 48px 32px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: var(--radius-lg);
  color: white;
  margin-bottom: 24px;
}
.report-hero .eyebrow { background: rgba(255,255,255,.2); color: white; }
.report-hero h1 {
  color: white;
  font-size: clamp(42px, 6vw, 72px);
  font-variant-numeric: tabular-nums;
  margin: 12px 0;
}
.r-sub { color: rgba(255,255,255,.9); font-size: 16px; }
.r-sub b { color: white; }

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.card h2 { margin-bottom: 16px; }

.card.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width:640px) { .card.split { grid-template-columns: 1fr; } }
.big-loss { font-size: 36px; font-weight: 900; color: var(--danger); font-variant-numeric: tabular-nums; margin: 8px 0; letter-spacing:-.02em; }
.big-gain { font-size: 36px; font-weight: 900; color: var(--success); font-variant-numeric: tabular-nums; margin: 8px 0; letter-spacing:-.02em; }

.r-doms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.r-dom-card {
  padding: 18px; border-radius: 14px;
  border: 1px solid var(--line);
  border-top: 3px solid; /* colored per domain */
}
.r-dom-card h3 { font-size: 14px; margin-bottom: 6px; }
.r-dom-card .v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -.01em; }
.r-dom-card .s { font-size: 12px; color: var(--ink-3); margin-top: 4px; }

.r-table-wrap { overflow-x: auto; }
.r-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.r-table th, .r-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.r-table th { font-weight: 700; color: var(--ink-3); font-size: 11.5px; text-transform: uppercase; letter-spacing:.04em; background: var(--line-2); }
.r-table td.num { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

.method { display: flex; flex-direction: column; gap: 10px; }
.m-row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.m-row b { color: var(--ink); }
@media (max-width:640px) { .m-row { grid-template-columns: 1fr; gap:4px; } }

.plan { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width:768px) { .plan { grid-template-columns: 1fr; } }
.plan-col { padding: 20px; background: var(--line-2); border-radius: 14px; border-top: 3px solid var(--brand); }
.plan-day { display:inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 8px; border-radius: 6px; margin-bottom: 10px; }
.plan-col h3 { margin-bottom: 10px; }
.plan-col ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); }
.plan-col li { margin-bottom: 6px; }

.cta-final { text-align: center; background: linear-gradient(135deg, var(--brand-soft) 0%, #FDF2F8 100%); border-color: transparent; }
.cta-final h2 { font-size: 24px; margin-bottom: 10px; }
.cta-final p { margin-bottom: 20px; font-size: 15px; }
.cta-final .btn-primary { display:inline-flex; flex-direction: row; align-items: center; gap: 8px; width: auto; padding: 14px 28px; }

/* ========== DRAWER ========== */
.drawer {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(4px);
  z-index: 100;
  display:flex; justify-content: flex-end;
}
.drawer-card {
  position: relative;
  width: 100%; max-width: 460px;
  background: white;
  padding: 36px 28px;
  overflow-y: auto;
  animation: drawer-in .3s ease;
}
@keyframes drawer-in { from { transform: translateX(20px); opacity: 0;} to { transform: translateX(0); opacity: 1;} }
.ass-list { padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.ass-list li { margin-bottom: 8px; }
.ass-src { margin-top: 20px; font-size: 11.5px; color: var(--ink-3); }

/* num-flash */
@keyframes flash { 0% { opacity:0; transform: translateY(-4px);} 100% { opacity:1; transform: translateY(0); } }
.flash { animation: flash .25s ease-out; }
