/* ============================================================
   SISMEO ACCESS — Tunnel CSS
   Palette : dark-blue #0F172A, accent #2563EB, vert #059669
============================================================ */

:root {
  --bg:       #F8FAFC;
  --surface:  #FFFFFF;
  --border:   #E2E8F0;
  --text:     #0F172A;
  --muted:    #64748B;
  --accent:   #2563EB;
  --accent-h: #1D4ED8;
  --green:    #059669;
  --red:      #DC2626;
  --orange:   #D97706;
  --yellow:   #CA8A04;
  --radius:   12px;
  --shadow:   0 1px 3px rgba(0,0,0,.08), 0 8px 24px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }

/* ─── HEADER ───────────────────────────────────────────── */
.t-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  height: 64px;
}

.t-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -.3px;
}
.t-logo span { color: var(--accent); }

/* Stepper */
.t-steps {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.t-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--muted);
  position: relative;
}
.t-step.active { color: var(--accent); font-weight: 600; }
.t-step.done   { color: var(--green);  font-weight: 500; }

.t-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
  border: 2px solid var(--border);
  background: var(--bg);
  transition: all .2s;
}
.t-step.active .t-step-num { border-color: var(--accent); background: var(--accent); color: #fff; }
.t-step.done   .t-step-num { border-color: var(--green);  background: var(--green);  color: #fff; }

.t-step-line {
  width: 40px; height: 2px;
  background: var(--border);
  margin: 0 4px;
  transition: background .3s;
}
.t-step-line.done { background: var(--green); }

.t-header-right { margin-left: auto; }

.t-badge-free {
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 99px;
  background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0;
}
.t-badge-paid {
  font-size: .72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 99px;
  background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE;
}

/* ─── MAIN ──────────────────────────────────────────────── */
.t-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ─── STEP HERO ─────────────────────────────────────────── */
.step-container { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

.step-hero {
  text-align: center;
  margin-bottom: 32px;
}
.step-num-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent); background: #DBEAFE;
  padding: 4px 12px; border-radius: 99px; margin-bottom: 12px;
}
.step-hero h1 {
  font-size: 2rem; font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 12px;
}
.step-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ─── SCAN CARD ─────────────────────────────────────────── */
.scan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.scan-form { }

.scan-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s;
  background: var(--bg);
}
.scan-input-wrap:focus-within { border-color: var(--accent); }

.scan-icon { padding: 0 12px; font-size: 1.2rem; }

.scan-input-wrap input[type="url"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 8px;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.btn-scan {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center; gap: 8px;
}
.btn-scan:hover { background: var(--accent-h); }
.btn-scan:disabled { opacity: .6; cursor: not-allowed; }

.scan-note {
  font-size: .82rem; color: var(--muted);
  margin-top: 10px; text-align: center;
}

/* ─── SPINNER ───────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── RÉSULTATS SCAN ────────────────────────────────────── */
.results-header {
  display: flex; gap: 24px; align-items: flex-start;
  margin: 24px 0;
  padding: 24px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.score-ring-wrap {
  position: relative;
  width: 120px; height: 120px;
  flex-shrink: 0;
}
.score-ring { width: 120px; height: 120px; }
.score-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
  line-height: 1;
}
.score-val small { font-size: .8rem; font-weight: 500; color: var(--muted); }

.results-meta h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.results-meta p  { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }

.severity-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sev-pill {
  font-size: .78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 99px;
}
.sev-pill.critique { background: #FEE2E2; color: #991B1B; }
.sev-pill.majeur   { background: #FEF3C7; color: #92400E; }
.sev-pill.mineur   { background: #FFFBEB; color: #78350F; }
.sev-pill.ok       { background: #DCFCE7; color: #166534; }

/* Violations list */
.violations-list { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }

.violation-item {
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}
.violation-item.critique { border-left-color: var(--red); }
.violation-item.mineur   { border-left-color: var(--yellow); }

.violation-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 6px; flex-wrap: wrap;
}
.viol-id   { font-size: .75rem; font-weight: 700; color: var(--muted); }
.viol-sev  { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.viol-sev.critique { background: #FEE2E2; color: #991B1B; }
.viol-sev.majeur   { background: #FEF3C7; color: #92400E; }
.viol-sev.mineur   { background: #FFFBEB; color: #78350F; }
.viol-theme { font-size: .72rem; color: var(--muted); }

.violation-item p { font-size: .9rem; margin-bottom: 4px; }
.violation-fix    { font-size: .83rem; color: var(--green); margin-top: 6px; }
.violation-el     { font-size: .78rem; color: var(--muted); font-family: monospace;
                    background: var(--bg); padding: 4px 8px; border-radius: 4px; margin-top: 4px;
                    word-break: break-all; max-width: 100%; }

/* CTA step 1 */
.step1-cta { text-align: center; padding: 24px 0 0; border-top: 1px solid var(--border); margin-top: 16px; }
.step1-cta-note { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.step1-free-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.info-card .info-icon { font-size: 1.8rem; margin-bottom: 12px; }
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.info-card ul li { font-size: .88rem; color: var(--muted); padding: 4px 0; }
.info-card ul li::before { content: '✓ '; color: var(--green); font-weight: 700; }
.info-card p { font-size: .88rem; color: var(--muted); }
.link-small { font-size: .82rem; color: var(--accent); margin-top: 8px; display: inline-block; }

/* Alerts */
.alert-error {
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: 8px;
  padding: 14px 16px; color: #991B1B; font-size: .9rem; margin-top: 16px;
}

/* ─── FORMS ─────────────────────────────────────────────── */
.t-form { display: flex; flex-direction: column; gap: 0; }

.form-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.form-section h2 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label { font-size: .88rem; font-weight: 600; color: var(--text); }
.form-group .req  { color: var(--red); }
.form-group small { font-size: .78rem; color: var(--muted); }

input[type="text"],
input[type="url"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
textarea { resize: vertical; min-height: 100px; }

.scan-recap {
  background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: 10px;
  padding: 14px 18px; margin-bottom: 24px;
  font-size: .9rem; color: #1E40AF;
}

.form-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0; margin-top: 8px;
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .1s;
}
.btn-primary:hover { background: var(--accent-h); text-decoration: none; }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--muted);
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 12px 20px;
  font-size: .95rem; font-weight: 500;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.btn-loader { display: inline-flex; align-items: center; gap: 8px; }

/* ─── SAVE LINK BANNER ───────────────────────────────────── */
.save-link-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.save-link-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}
.save-link-icon { font-size: 1.4rem; flex-shrink: 0; }
.save-link-left strong { font-size: .9rem; color: #1E40AF; display: block; margin-bottom: 2px; }
.save-link-left p { font-size: .82rem; color: #3B82F6; margin: 0; }
.save-link-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.save-link-input {
  border: 1px solid #BFDBFE;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: .8rem;
  color: #1E40AF;
  background: #fff;
  width: 280px;
  max-width: 50vw;
  font-family: monospace;
  cursor: text;
}
.btn-copy-link {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.btn-copy-link:hover { background: #1D4ED8; }
.btn-copy-link.copied { background: var(--green); }

/* ─── PROGRESS BAR ──────────────────────────────────────── */
.progress-bar-wrap {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
}
.progress-bar {
  flex: 1; height: 8px;
  background: var(--border); border-radius: 99px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--accent);
  border-radius: 99px; transition: width .4s ease;
}
.progress-label { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ─── THEME NAV ─────────────────────────────────────────── */
.theme-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.theme-btn {
  background: var(--surface); color: var(--muted);
  border: 1.5px solid var(--border); border-radius: 99px;
  padding: 6px 14px; font-size: .8rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.theme-btn:hover  { border-color: var(--accent); color: var(--accent); }
.theme-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ─── CRITERIA LIST ─────────────────────────────────────── */
.auto-violations-recap {
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px;
  padding: 12px 16px; margin-bottom: 20px; font-size: .88rem; color: #78350F;
}

.theme-group { margin-bottom: 32px; }
.theme-group[hidden] { display: none; }

.theme-title {
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 12px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 12px;
}
.theme-count {
  font-size: .75rem; font-weight: 500; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 99px;
}

.criterion-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.criterion-card[data-status="conforme"]      { border-left: 4px solid var(--green); }
.criterion-card[data-status="non_conforme"]  { border-left: 4px solid var(--red); }
.criterion-card[data-status="non_applicable"]{ border-left: 4px solid var(--muted); }

.criterion-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
}

.criterion-id { display: flex; align-items: center; gap: 6px; }

.cid-badge {
  font-size: .75rem; font-weight: 700; font-family: monospace;
  background: var(--bg); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 6px; color: var(--text);
}
.level-badge {
  font-size: .68rem; font-weight: 700;
  padding: 2px 6px; border-radius: 99px; text-transform: uppercase;
}
.level-a  { background: #DCFCE7; color: #166534; }
.level-aa { background: #DBEAFE; color: #1E40AF; }
.auto-badge {
  font-size: .68rem; font-weight: 700;
  background: #F3E8FF; color: #6B21A8;
  padding: 2px 6px; border-radius: 99px;
}

.criterion-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.status-btn {
  padding: 6px 12px; font-size: .78rem; font-weight: 600;
  border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--bg); color: var(--muted);
  cursor: pointer; transition: all .15s;
}
.status-btn:hover      { border-color: var(--green); color: var(--green); }
.status-btn.nc:hover   { border-color: var(--red);  color: var(--red); }
.status-btn.na:hover   { border-color: var(--muted); color: var(--text); }

.status-btn.active               { background: var(--green); color: #fff; border-color: var(--green); }
.status-btn.nc.active            { background: var(--red);   color: #fff; border-color: var(--red); }
.status-btn.na.active            { background: var(--muted); color: #fff; border-color: var(--muted); }

.criterion-title {
  font-size: .9rem; color: var(--text); margin-bottom: 8px; line-height: 1.5;
}

.auto-hint {
  font-size: .82rem; color: #92400E;
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 6px;
  padding: 8px 12px; margin-bottom: 8px;
}
.fix-hint { color: var(--green); }

.manual-hint {
  font-size: .82rem; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 12px; margin-bottom: 8px;
}

/* Note */
.criterion-note { margin-top: 8px; }
.note-toggle {
  font-size: .78rem; color: var(--accent);
  background: none; border: none; cursor: pointer; padding: 0;
}
.note-toggle:hover { text-decoration: underline; }
.note-input {
  display: none;
  width: 100%; margin-top: 8px;
  padding: 8px 12px; font-size: .85rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  min-height: 64px; resize: vertical;
}
.criterion-note.open .note-input { display: block; }
.criterion-note.open .note-toggle { display: none; }

.checklist-actions {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 0; border-top: 2px solid var(--border); margin-top: 24px;
}
.checklist-cta-note { font-size: .82rem; color: var(--muted); margin-bottom: 8px; text-align: right; }

/* ─── STEP 4 — PAYWALL ──────────────────────────────────── */
.paywall {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
}
.paywall-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  max-width: 520px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
}
.paywall-inner h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.paywall-inner > p { color: var(--muted); margin-bottom: 24px; }

.paywall-price {
  display: flex; align-items: flex-end; justify-content: center; gap: 6px;
  margin-bottom: 24px;
}
.price-amount { font-size: 3rem; font-weight: 900; letter-spacing: -2px; color: var(--text); }
.price-ht     { font-size: 1.2rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.price-note   { font-size: .8rem; color: var(--muted); width: 100%; margin-top: -8px; }

.paywall-features {
  text-align: left; margin-bottom: 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.paywall-features li { font-size: .9rem; color: var(--text); }

.btn-pay {
  width: 100%; justify-content: center;
  font-size: 1.05rem; padding: 16px;
}
.paywall-legal { font-size: .75rem; color: var(--muted); margin-top: 12px; }

/* ─── STEP 4 — LIVRABLES ────────────────────────────────── */
.conformity-banner {
  border-radius: 12px; padding: 20px 24px; margin-bottom: 28px;
  text-align: center;
}
.conformity-banner.total   { background: #DCFCE7; border: 1px solid #BBF7D0; }
.conformity-banner.partial { background: #FFFBEB; border: 1px solid #FDE68A; }
.conformity-banner.none    { background: #FEF2F2; border: 1px solid #FECACA; }

.conf-badge {
  display: inline-block;
  font-size: .85rem; font-weight: 700;
  padding: 6px 16px; border-radius: 99px;
  background: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.conformity-banner.total   .conf-badge { color: #166534; }
.conformity-banner.partial .conf-badge { color: #92400E; }
.conformity-banner.none    .conf-badge { color: #991B1B; }

.conf-score { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.conformity-banner small { font-size: .8rem; opacity: .8; }

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-bottom: 28px;
}

.deliverable-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.deliverable-card.full-width { grid-column: 1 / -1; }

.del-icon { font-size: 2rem; margin-bottom: 12px; }
.deliverable-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.deliverable-card p  { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.deliverable-card code {
  font-size: .82rem; background: var(--bg); padding: 2px 6px; border-radius: 4px;
}

.del-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-del {
  padding: 8px 16px;
  border: 1.5px solid var(--accent); color: var(--accent);
  border-radius: 8px; font-size: .85rem; font-weight: 600;
  text-decoration: none; transition: all .15s;
}
.btn-del:hover { background: var(--accent); color: #fff; text-decoration: none; }

.legal-reminder {
  background: #F8FAFC; border: 1px solid var(--border); border-left: 4px solid var(--orange);
  border-radius: 10px; padding: 20px 24px;
}
.legal-reminder h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.legal-reminder p  { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.legal-reminder em { font-style: italic; color: var(--text); }

/* ─── FOOTER ────────────────────────────────────────────── */
.t-footer {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--muted);
  background: var(--surface);
}
.t-footer a { color: var(--muted); }
.t-footer a:hover { color: var(--accent); }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 640px) {
  .t-header { padding: 0 12px; gap: 12px; }
  .t-step span { display: none; }
  .t-step-line { width: 20px; }
  .step-hero h1 { font-size: 1.4rem; }
  .results-header { flex-direction: column; align-items: center; text-align: center; }
  .scan-card { padding: 16px; }
  .paywall-inner { padding: 28px 20px; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .checklist-actions { flex-direction: column; }
  .checklist-cta-note { text-align: left; }
  .pricing-cards { grid-template-columns: 1fr; }
  .rdv-banner { flex-direction: column; text-align: center; }
}

/* ─── HERO OFFERS (Step 1) ───────────────────────────────── */
.hero-offers {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero-offer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  flex: 1;
  min-width: 220px;
}

.hero-offer-alt {
  background: rgba(37,99,235,.06);
  border-color: #BFDBFE;
}

.hero-offer-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.hero-offer-price small {
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-offer-label {
  font-size: .85rem;
  color: var(--text);
  line-height: 1.4;
}

.hero-offer-sep {
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero-offers { flex-direction: column; }
  .hero-offer-sep { display: none; }
}

/* ─── PRICING CARDS (Step 2) ─────────────────────────────── */
.pricing-section { margin-top: 40px; }
.pricing-section h2 { margin-bottom: 4px; }
.pricing-intro { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.plan-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.plan-card-body {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  background: var(--surface);
  height: 100%;
  box-sizing: border-box;
}

.plan-card:has(input:checked) .plan-card-body {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  background: #F5F8FF;
}

.plan-card-recommended .plan-card-body {
  border-color: #93C5FD;
}

.plan-recommended-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 1;
}

.plan-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.plan-price span {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: .875rem;
  color: var(--text);
  line-height: 1.4;
}

/* ─── RDV BANNER (Step 3 — accompagné) ───────────────────── */
.rdv-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.rdv-icon { font-size: 2rem; flex-shrink: 0; }

.rdv-content { flex: 1; }

.rdv-content strong {
  display: block;
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 4px;
}

.rdv-content p {
  margin: 0;
  color: #374151;
  font-size: .85rem;
  line-height: 1.5;
}

.btn-rdv {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .875rem;
  white-space: nowrap;
  transition: background .2s, transform .1s;
  flex-shrink: 0;
}

.btn-rdv:hover { background: #1D4ED8; transform: translateY(-1px); }
