/* ═══════════════════════════════════════════════════════
   SKB-AUDIT.CSS — Styles spécifiques aux pages audit
   Utilisé par : audit.html · audit-transition.html
                 audit-iso.html · audit-site.html
   Requiert : skb-shared.css chargé en premier
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════
   COULEURS SPÉCIFIQUES AUDIT
══════════════════════════ */

/* Bleu (transition numérique) */
.accent-blue { color: var(--accent-light); }
.skb-page[data-theme="light"] .accent-blue { color: var(--accent); }

/* Teal (ISO 27001) */
:root, .skb-page[data-theme="dark"]  { --teal: #0d9488; --teal-light: #2dd4bf; --teal-dim: rgba(13,148,136,0.12); }
.skb-page[data-theme="light"] { --teal: #0f766e; --teal-light: #0d9488; --teal-dim: rgba(13,148,136,0.08); }

/* Indigo (site internet) */
:root, .skb-page[data-theme="dark"]  { --indigo: #7c3aed; --indigo-light: #a78bfa; --indigo-dim: rgba(124,58,237,0.12); }
.skb-page[data-theme="light"] { --indigo: #6d28d9; --indigo-light: #7c3aed; --indigo-dim: rgba(124,58,237,0.08); }

/* ══════════════════════════
   HUB — FAMILLES D'AUDIT
══════════════════════════ */
.famille {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
  box-shadow: var(--card-shadow);
}
.famille-header {
  padding: 32px 40px 28px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 32px;
}
.famille-header.orga {
  background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, var(--surface) 100%);
  border-left: 4px solid var(--accent);
}
.famille-header.web {
  background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, var(--surface) 100%);
  border-left: 4px solid var(--indigo);
}
.fh-left { flex: 1; }
.fh-icon { font-size: 32px; margin-bottom: 14px; }
.fh-title {
  font-family: 'geist', sans-serif; font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.fh-desc { font-size: 15px; color: var(--muted); line-height: 1.7; max-width: 560px; }
.fh-badge {
  flex-shrink: 0; padding: 8px 16px; border-radius: 50px;
  font-family: 'geist', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap; align-self: flex-start; margin-top: 4px;
}
.fh-badge.orga {
  background: var(--accent-dim); color: var(--accent-light);
  border: 1px solid rgba(37,99,235,0.2);
}
.fh-badge.web {
  background: var(--indigo-dim); color: var(--indigo-light);
  border: 1px solid rgba(124,58,237,0.2);
}
.famille-body { background: var(--surface); padding: 32px 40px; }

/* ══════════════════════════
   HUB — CARTES OFFRES MINI
══════════════════════════ */
.offres-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.offre-mini {
  padding: 28px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg);
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
  box-shadow: var(--card-shadow);
  position: relative; overflow: hidden;
}
.offre-mini::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.offre-mini:hover { transform: translateY(-4px); }

.offre-mini.blue::before  { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.offre-mini.blue:hover    { border-color: rgba(37,99,235,0.25); }
.offre-mini.teal::before  { background: linear-gradient(90deg, #0d9488, #5eead4); }
.offre-mini.teal:hover    { border-color: rgba(13,148,136,0.25); }
.offre-mini.indigo::before { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.offre-mini.indigo:hover  { border-color: rgba(124,58,237,0.25); }

.om-num {
  font-family: 'geist', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .2em; color: var(--faint); margin-bottom: 14px;
}
.om-icon { font-size: 26px; margin-bottom: 14px; }
.om-title {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 10px; font-family: 'geist', sans-serif;
}
.om-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; flex: 1; }
.om-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.om-tag {
  font-size: 11px; padding: 3px 9px; border-radius: 50px;
  font-family: 'geist', sans-serif; border: 1px solid;
}
.offre-mini.blue .om-tag   { background: rgba(37,99,235,0.08);  color: var(--accent-light); border-color: rgba(37,99,235,0.15); }
.offre-mini.teal .om-tag   { background: rgba(13,148,136,0.08); color: #2dd4bf; border-color: rgba(13,148,136,0.15); }
.offre-mini.indigo .om-tag { background: rgba(124,58,237,0.08);  color: #a78bfa; border-color: rgba(124,58,237,0.15); }
.skb-page[data-theme="light"] .offre-mini.blue .om-tag   { color: var(--accent); }
.skb-page[data-theme="light"] .offre-mini.teal .om-tag   { color: #0d9488; }
.skb-page[data-theme="light"] .offre-mini.indigo .om-tag { color: #6d28d9; }

.offre-mini.blue .arrow-link   { color: var(--accent-light); }
.offre-mini.teal .arrow-link   { color: #2dd4bf; }
.offre-mini.indigo .arrow-link { color: #a78bfa; }
.skb-page[data-theme="light"] .offre-mini.blue .arrow-link   { color: var(--accent); }
.skb-page[data-theme="light"] .offre-mini.teal .arrow-link   { color: #0d9488; }
.skb-page[data-theme="light"] .offre-mini.indigo .arrow-link { color: #6d28d9; }

/* ══════════════════════════
   DÉTAIL — PAGE LABEL COLORÉ
══════════════════════════ */
.lbl-teal   { color: #2dd4bf !important; }
.lbl-indigo { color: #a78bfa !important; }
.skb-page[data-theme="light"] .lbl-teal   { color: #0d9488 !important; }
.skb-page[data-theme="light"] .lbl-indigo { color: #6d28d9 !important; }

/* Barre top page (héro) colorée */
.page-stripe {
  height: 4px; margin-bottom: 0;
  border: none;
}
.page-stripe.blue   { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.page-stripe.teal   { background: linear-gradient(90deg, #0d9488, #5eead4); }
.page-stripe.indigo { background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* ══════════════════════════
   DÉTAIL — PÉRIMÈTRE ISO
══════════════════════════ */
.iso-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px;
}
.iso-card {
  padding: 24px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--card-shadow);
  transition: border-color .25s, transform .25s;
}
.iso-card:hover { border-color: rgba(13,148,136,0.25); transform: translateY(-3px); }
.iso-num {
  font-family: 'geist', sans-serif; font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: #2dd4bf; margin-bottom: 10px; display: block;
}
.skb-page[data-theme="light"] .iso-num { color: #0d9488; }
.iso-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; font-family: 'geist', sans-serif; }
.iso-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ══════════════════════════
   DÉTAIL — PÉRIMÈTRE SITE
   80+ points de contrôle
══════════════════════════ */
.controle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px;
}
.controle-axe {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--surface); overflow: hidden;
  box-shadow: var(--card-shadow); transition: border-color .25s;
}
.controle-axe:hover { border-color: rgba(124,58,237,0.25); }
.ca-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ca-title {
  font-family: 'geist', sans-serif; font-size: 14px; font-weight: 700; color: var(--text);
}
.ca-count {
  font-family: 'geist', sans-serif; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 50px;
  background: var(--indigo-dim); color: var(--indigo-light);
  border: 1px solid rgba(124,58,237,0.15);
}
.skb-page[data-theme="light"] .ca-count { color: var(--indigo); }
.ca-body { padding: 14px 20px; }
.ca-items { display: flex; flex-direction: column; gap: 6px; }
.ca-item {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: flex-start; gap: 8px; line-height: 1.5;
}
.ca-item::before { content: '→'; color: var(--faint); font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.ca-norm {
  font-family: 'geist', sans-serif; font-size: 10px; color: var(--faint);
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  letter-spacing: 0.05em;
}

/* Total controles banner */
.controles-total {
  margin-top: 24px; padding: 20px 28px;
  border-radius: 12px; border: 1px solid rgba(124,58,237,0.2);
  background: var(--indigo-dim);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ct-num {
  font-family: 'geist', sans-serif; font-size: 42px; font-weight: 800;
  color: var(--indigo-light); line-height: 1; flex-shrink: 0;
}
.skb-page[data-theme="light"] .ct-num { color: var(--indigo); }
.ct-label { font-size: 15px; color: var(--muted); line-height: 1.6; }
.ct-label strong { color: var(--text); display: block; margin-bottom: 4px; }

/* ══════════════════════════
   DÉTAIL — TARIFS (3 colonnes)
══════════════════════════ */
.tarif-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

/* Tarif teal */
.tarif-card.teal {
  border-color: rgba(13,148,136,0.25);
  background: linear-gradient(135deg, rgba(13,148,136,0.04), var(--surface));
}
.tarif-card.teal .tarif-badge  { background: rgba(13,148,136,0.1); color: #2dd4bf; border-color: rgba(13,148,136,0.2); }
.tarif-card.teal .tf-check     { color: #2dd4bf; }
.tarif-card.teal .tarif-cta    { background: #0d9488; color: #fff; border: none; }
.tarif-card.teal .tarif-cta:hover { background: #0f766e; transform: translateY(-1px); }
.skb-page[data-theme="light"] .tarif-card.teal .tarif-badge { color: #0d9488; }
.skb-page[data-theme="light"] .tarif-card.teal .tf-check    { color: #0d9488; }

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 1024px) {
  .offres-2    { grid-template-columns: 1fr; }
  .famille-header { flex-direction: column; gap: 16px; }
  .iso-grid    { grid-template-columns: 1fr; }
  .controle-grid { grid-template-columns: 1fr 1fr; }
  .tarif-g3    { grid-template-columns: 1fr; }
  .controles-total { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 640px) {
  .famille-body   { padding: 20px; }
  .famille-header { padding: 20px; }
  .controle-grid  { grid-template-columns: 1fr; }
}

/* ============================================================
   ADDITIONS — à coller à la fin de skb-audit.css
   Sections : gamme cards, diff table, bonus, modal, audit widget
   ============================================================ */

/* ── Gamme cards ─────────────────────────────────────────── */
.gamme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 48px;
  max-width: 100%;
}
.gamme-card {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}
.gamme-card:hover { background: var(--surface-2); }
.gamme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.gamme-card.starter::before { background: linear-gradient(90deg,#7c3aed,#a78bfa); }
.gamme-card.premium::before { background: linear-gradient(90deg,var(--accent),var(--accent-light)); }
.gamme-card.premium { background: var(--surface); }

.gc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.gc-badge.starter { background: rgba(124,58,237,.12); color: #a78bfa; }
.gc-badge.premium { background: rgba(var(--accent-rgb),.12); color: var(--accent-light); }

.gc-name  { font-family: 'geist', sans-serif; font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.gc-price { font-family: 'geist', sans-serif; font-size: 32px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 6px; }
.gc-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.gc-delay { font-size: 12px; color: var(--muted); margin-bottom: 20px; }

.gc-feats { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-bottom: 24px; }
.gc-feat  { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.gc-feat-check { color: var(--accent-light); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.gamme-card.premium .gc-feat { color: var(--text-2); }

/* ── Tableau comparatif ──────────────────────────────────── */
.diff-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 13px;
}
.diff-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.diff-table th:not(:first-child) { text-align: center; }
.diff-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.diff-table td:not(:first-child) { text-align: center; }
.diff-table tr:last-child td { border-bottom: none; }
.diff-table tr:hover td { background: var(--surface-2); }
.diff-yes  { color: #4ade80; font-weight: 700; }
.diff-no   { color: var(--faint); }
.diff-part { color: #fbbf24; font-weight: 600; }

/* ── Section bonus gratuit ───────────────────────────────── */
.bonus-section {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.bonus-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.bonus-title {
  font-family: 'geist', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.bonus-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.bonus-url-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
}
.bonus-url-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.bonus-url-input:focus { border-color: var(--accent); }

/* ── Modal overlay ───────────────────────────────────────── */
.wsa-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.wsa-overlay.open { opacity: 1; pointer-events: all; }

.wsa-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.wsa-overlay.open .wsa-modal { transform: translateY(0); }

.wsa-modal-head {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
  border-radius: 24px 24px 0 0;
}
.wsa-modal-title {
  font-family: 'geist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.wsa-modal-meta { display: flex; align-items: center; gap: 16px; }
.wsa-modal-warn {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.wsa-modal-warn::before { content: '⏱'; font-size: 13px; }
.wsa-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.wsa-close:hover { background: var(--surface-3); color: var(--text); }
.wsa-modal-body { padding: 28px 32px 36px; }

/* ── Audit widget ────────────────────────────────────────── */
@keyframes wsa-progress {
  0%   { margin-left: -30%; }
  100% { margin-left: 100%; }
}
@keyframes wsa-spin {
  to { transform: rotate(360deg); }
}

.wsa-form {
  display: flex;
  gap: 8px;
  max-width: 580px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
}
.wsa-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.wsa-input:focus { border-color: var(--accent); }

.wsa-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 520px;
  margin: 40px auto 0;
}
.wsa-domain-item { text-align: center; padding: 16px 8px; }
.wsa-emoji       { font-size: 1.8rem; margin-bottom: 6px; display: block; }

.wsa-loading { text-align: center; padding: 56px 16px; }
.wsa-progress {
  width: 100%;
  max-width: 380px;
  height: 5px;
  background: var(--surface-3);
  border-radius: 3px;
  margin: 0 auto 20px;
  overflow: hidden;
}
.wsa-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 30%;
  border-radius: 3px;
  animation: wsa-progress 2s ease-in-out infinite;
}
.wsa-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--surface-3);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: wsa-spin 1s linear infinite;
}
.wsa-loading-msg {
  font-size: .95rem;
  color: var(--muted);
  min-height: 26px;
  transition: opacity .3s;
}
.wsa-reassure { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }

.wsa-gauge { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.wsa-gauge svg         { transform: rotate(-90deg); width: 100%; height: 100%; }
.wsa-gauge-bg          { fill: none; stroke: var(--surface-3); stroke-width: 12; }
.wsa-gauge-fg          { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.2s ease-out; }
.wsa-gauge-text        { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wsa-gauge-score       { font-size: 2.4rem; font-weight: 800; line-height: 1; font-family: 'geist', sans-serif; }
.wsa-gauge-total       { font-size: .82rem; color: var(--muted); }

.wsa-result-header     { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wsa-url-info          { flex: 1; min-width: 220px; }
.wsa-url-text          { font-size: 1rem; font-weight: 600; word-break: break-all; color: var(--text); margin-top: 4px; }

.wsa-card-score        { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; font-family: 'geist', sans-serif; line-height: 1; }
.wsa-card-score small  { font-size: .72rem; color: var(--muted); font-weight: 400; }
.wsa-card-bar          { height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.wsa-card-bar-fg       { height: 100%; border-radius: 3px; transition: width 1s ease-out; }

.wsa-check-list        { list-style: none; }
.wsa-check-item        { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.wsa-check-item:last-child { border-bottom: none; }
.wsa-check-icon        { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: #fff; }
.wsa-check-text strong { display: block; font-weight: 500; color: var(--text); }
.wsa-check-text em     { font-style: normal; color: var(--muted); font-size: .8rem; display: block; margin-top: 2px; }

.wsa-ok   { background: #4ade80; }
.wsa-ko   { background: #f87171; }
.wsa-warn { background: #fbbf24; }
.wsa-skip { background: var(--faint); }

.wsa-c-red    { color: #f87171; }
.wsa-c-orange { color: #fbbf24; }
.wsa-c-blue   { color: var(--accent-light); }
.wsa-c-green  { color: #4ade80; }

.wsa-bg-red    { background: #f87171; }
.wsa-bg-orange { background: #fbbf24; }
.wsa-bg-blue   { background: var(--accent-light); }
.wsa-bg-green  { background: #4ade80; }

/* ── Upsell tiers (dans la modal) ────────────────────────── */
.upsell-grid {
  display: grid;
  /* 2 colonnes depuis le 03/08/2026 : le palier « Audit Starter » a ete retire de
     wsa-audit.js (offre plus vendue). Restent le diagnostic gratuit et l'audit complet.
     NB : ce bloc .upsell-grid est duplique dans ce fichier — a dedoublonner au portage. */
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 28px;
}
.upsell-tier {
  background: var(--bg);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .25s;
}
.upsell-tier:hover   { background: var(--surface-2); }
.upsell-tier.done    { opacity: .6; }
.upsell-tier.featured{ background: var(--surface); }
.upsell-tier::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; }
.upsell-tier.done::before     { background: linear-gradient(90deg, var(--faint), var(--faint)); }
.upsell-tier.starter::before  { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.upsell-tier.featured::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

.ut-label { font-family: 'geist', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.ut-name  { font-family: 'geist', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.ut-price { font-family: 'geist', sans-serif; font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 16px; }
.ut-price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.ut-feats { display: flex; flex-direction: column; gap: 7px; flex: 1; margin-bottom: 20px; }
.ut-feat  { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.ut-feat::before { content: '→'; color: var(--faint); font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.upsell-tier.featured .ut-feat::before { color: var(--accent-light); }
.ut-done-badge { font-size: 12px; color: #4ade80; font-family: 'geist', sans-serif; font-weight: 700; margin-top: auto; }

.ut-email-form  { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ut-email-input { padding: 11px 14px; font-size: 13px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font-family: inherit; outline: none; transition: border-color .2s; }
.ut-email-input:focus { border-color: var(--accent); }
.ut-status { font-size: 11px; color: var(--muted); text-align: center; min-height: 16px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .gamme-grid          { grid-template-columns: 1fr; }
  .gamme-card          { padding: 28px 20px; }
  .wsa-modal-body      { padding: 20px; }
  .wsa-domain-grid     { grid-template-columns: repeat(2, 1fr); }
  .upsell-grid         { grid-template-columns: 1fr; }
  .diff-table          { display: none; }
  .bonus-section       { padding: 32px 20px; }
  .bonus-url-form      { flex-direction: column; }
}

.bonus-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.bonus-tag  { font-size: 11px; color: var(--muted); padding: 4px 12px; border: 1px solid var(--border); border-radius: 20px; }

/* ============================================================
   ADDITIONS — à coller à la fin de skb-audit.css
   Sections : gamme cards, diff table, bonus, modal, audit widget
   ============================================================ */

/* ── Gamme cards ─────────────────────────────────────────── */
.gamme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 48px;
  max-width: 100%;
}
.gamme-card {
  background: var(--bg);
  padding: 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .2s;
}
.gamme-card:hover { background: var(--surface-2); }
.gamme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.gamme-card.starter::before { background: linear-gradient(90deg,#7c3aed,#a78bfa); }
.gamme-card.premium::before { background: linear-gradient(90deg,var(--accent),var(--accent-light)); }
.gamme-card.premium { background: var(--surface); }

.gc-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.gc-badge.starter { background: rgba(124,58,237,.12); color: #a78bfa; }
.gc-badge.premium { background: rgba(var(--accent-rgb),.12); color: var(--accent-light); }

.gc-name  { font-family: 'geist', sans-serif; font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.gc-price { font-family: 'geist', sans-serif; font-size: 32px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 6px; }
.gc-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.gc-delay { font-size: 12px; color: var(--muted); margin-bottom: 20px; }

.gc-feats { display: flex; flex-direction: column; gap: 8px; flex: 1; margin-bottom: 24px; }
.gc-feat  { font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.gc-feat-check { color: var(--accent-light); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.gamme-card.premium .gc-feat { color: var(--text-2); }

/* ── Tableau comparatif ──────────────────────────────────── */
.diff-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 13px;
}
.diff-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.diff-table th:not(:first-child) { text-align: center; }
.diff-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.diff-table td:not(:first-child) { text-align: center; }
.diff-table tr:last-child td { border-bottom: none; }
.diff-table tr:hover td { background: var(--surface-2); }
.diff-yes  { color: #4ade80; font-weight: 700; }
.diff-no   { color: var(--faint); }
.diff-part { color: #fbbf24; font-weight: 600; }

/* ── Section bonus gratuit ───────────────────────────────── */
.bonus-section {
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.bonus-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.bonus-title {
  font-family: 'geist', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.bonus-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.bonus-url-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
}
.bonus-url-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.bonus-url-input:focus { border-color: var(--accent); }

/* ── Modal overlay ───────────────────────────────────────── */
.wsa-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.wsa-overlay.open { opacity: 1; pointer-events: all; }

.wsa-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.wsa-overlay.open .wsa-modal { transform: translateY(0); }

.wsa-modal-head {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
  border-radius: 24px 24px 0 0;
}
.wsa-modal-title {
  font-family: 'geist', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.wsa-modal-meta { display: flex; align-items: center; gap: 16px; }
.wsa-modal-warn {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.wsa-modal-warn::before { content: '⏱'; font-size: 13px; }
.wsa-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.wsa-close:hover { background: var(--surface-3); color: var(--text); }
.wsa-modal-body { padding: 28px 32px 36px; }

/* ── Audit widget ────────────────────────────────────────── */
@keyframes wsa-progress {
  0%   { margin-left: -30%; }
  100% { margin-left: 100%; }
}
@keyframes wsa-spin {
  to { transform: rotate(360deg); }
}

.wsa-form {
  display: flex;
  gap: 8px;
  max-width: 580px;
  margin: 0 auto 12px;
  flex-wrap: wrap;
}
.wsa-input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.wsa-input:focus { border-color: var(--accent); }

.wsa-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 520px;
  margin: 40px auto 0;
}
.wsa-domain-item { text-align: center; padding: 16px 8px; }
.wsa-emoji       { font-size: 1.8rem; margin-bottom: 6px; display: block; }

.wsa-loading { text-align: center; padding: 56px 16px; }
.wsa-progress {
  width: 100%;
  max-width: 380px;
  height: 5px;
  background: var(--surface-3);
  border-radius: 3px;
  margin: 0 auto 20px;
  overflow: hidden;
}
.wsa-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 30%;
  border-radius: 3px;
  animation: wsa-progress 2s ease-in-out infinite;
}
.wsa-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--surface-3);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: wsa-spin 1s linear infinite;
}
.wsa-loading-msg {
  font-size: .95rem;
  color: var(--muted);
  min-height: 26px;
  transition: opacity .3s;
}
.wsa-reassure { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 8px; }

.wsa-gauge { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.wsa-gauge svg         { transform: rotate(-90deg); width: 100%; height: 100%; }
.wsa-gauge-bg          { fill: none; stroke: var(--surface-3); stroke-width: 12; }
.wsa-gauge-fg          { fill: none; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.2s ease-out; }
.wsa-gauge-text        { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wsa-gauge-score       { font-size: 2.4rem; font-weight: 800; line-height: 1; font-family: 'geist', sans-serif; }
.wsa-gauge-total       { font-size: .82rem; color: var(--muted); }

.wsa-result-header     { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.wsa-url-info          { flex: 1; min-width: 220px; }
.wsa-url-text          { font-size: 1rem; font-weight: 600; word-break: break-all; color: var(--text); margin-top: 4px; }

.wsa-card-score        { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; font-family: 'geist', sans-serif; line-height: 1; }
.wsa-card-score small  { font-size: .72rem; color: var(--muted); font-weight: 400; }
.wsa-card-bar          { height: 5px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.wsa-card-bar-fg       { height: 100%; border-radius: 3px; transition: width 1s ease-out; }

.wsa-check-list        { list-style: none; }
.wsa-check-item        { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.wsa-check-item:last-child { border-bottom: none; }
.wsa-check-icon        { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: #fff; }
.wsa-check-text strong { display: block; font-weight: 500; color: var(--text); }
.wsa-check-text em     { font-style: normal; color: var(--muted); font-size: .8rem; display: block; margin-top: 2px; }

.wsa-ok   { background: #4ade80; }
.wsa-ko   { background: #f87171; }
.wsa-warn { background: #fbbf24; }
.wsa-skip { background: var(--faint); }

.wsa-c-red    { color: #f87171; }
.wsa-c-orange { color: #fbbf24; }
.wsa-c-blue   { color: var(--accent-light); }
.wsa-c-green  { color: #4ade80; }

.wsa-bg-red    { background: #f87171; }
.wsa-bg-orange { background: #fbbf24; }
.wsa-bg-blue   { background: var(--accent-light); }
.wsa-bg-green  { background: #4ade80; }

/* ── Upsell tiers (dans la modal) ────────────────────────── */
.upsell-grid {
  display: grid;
  /* 2 colonnes depuis le 03/08/2026 : le palier « Audit Starter » a ete retire de
     wsa-audit.js (offre plus vendue). Restent le diagnostic gratuit et l'audit complet.
     NB : ce bloc .upsell-grid est duplique dans ce fichier — a dedoublonner au portage. */
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 28px;
}
.upsell-tier {
  background: var(--bg);
  padding: 28px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: background .25s;
}
.upsell-tier:hover   { background: var(--surface-2); }
.upsell-tier.done    { opacity: .6; }
.upsell-tier.featured{ background: var(--surface); }
.upsell-tier::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: transparent; }
.upsell-tier.done::before     { background: linear-gradient(90deg, var(--faint), var(--faint)); }
.upsell-tier.starter::before  { background: linear-gradient(90deg, #7c3aed, #a78bfa); }
.upsell-tier.featured::before { background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

.ut-label { font-family: 'geist', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.ut-name  { font-family: 'geist', sans-serif; font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.ut-price { font-family: 'geist', sans-serif; font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 16px; }
.ut-price small { font-size: 13px; color: var(--muted); font-weight: 400; }
.ut-feats { display: flex; flex-direction: column; gap: 7px; flex: 1; margin-bottom: 20px; }
.ut-feat  { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.ut-feat::before { content: '→'; color: var(--faint); font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.upsell-tier.featured .ut-feat::before { color: var(--accent-light); }
.ut-done-badge { font-size: 12px; color: #4ade80; font-family: 'geist', sans-serif; font-weight: 700; margin-top: auto; }

.ut-email-form  { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ut-email-input { padding: 11px 14px; font-size: 13px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font-family: inherit; outline: none; transition: border-color .2s; }
.ut-email-input:focus { border-color: var(--accent); }
.ut-status { font-size: 11px; color: var(--muted); text-align: center; min-height: 16px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .gamme-grid          { grid-template-columns: 1fr; }
  .gamme-card          { padding: 28px 20px; }
  .wsa-modal-body      { padding: 20px; }
  .wsa-domain-grid     { grid-template-columns: repeat(2, 1fr); }
  .upsell-grid         { grid-template-columns: 1fr; }
  .diff-table          { display: none; }
  .bonus-section       { padding: 32px 20px; }
  .bonus-url-form      { flex-direction: column; }
}

/* ══════════════════════════
   QUESTIONNAIRE CONDITIONNEL
══════════════════════════ */
.qst-wrapper {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.qst-progress-track {
  height: 3px;
  background: var(--surface-3);
  width: 100%;
}
.qst-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, var(--accent));
  transition: width .4s ease;
  border-radius: 0 3px 3px 0;
}
.qst-inner { padding: 40px; }
.qst-step-label {
  font-family: 'geist', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 12px;
}
.qst-question {
  font-family: 'geist', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800; color: var(--text);
  margin-bottom: 32px; line-height: 1.3;
}
.qst-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.qst-option {
  padding: 20px 22px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  text-align: left;
  display: flex; align-items: flex-start; gap: 14px;
}
.qst-option:hover {
  border-color: rgba(124,58,237,.4);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.qst-option.selected {
  border-color: var(--indigo);
  background: var(--indigo-dim);
}
.qst-option-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.qst-option-label {
  font-family: 'geist', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 4px;
}
.qst-option-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.qst-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}
.qst-nav-back {
  font-size: 13px; color: var(--muted);
  background: none; border: none; cursor: pointer;
  font-family: 'Roboto', sans-serif;
  transition: color .2s; padding: 0;
}
.qst-nav-back:hover { color: var(--text); }
.qst-nav-back:disabled { opacity: 0; pointer-events: none; }


/* ═══════════════════════════════════════════════════════════
   WORKFLOW « gratuit → payant » (audit de site) — composant .wf
═══════════════════════════════════════════════════════════ */
.wf-wrap{margin-top:44px}
.wf-lane{position:relative;border:1px solid var(--line);border-radius:var(--r-xl);background:var(--surface);padding:26px 26px 30px;box-shadow:var(--sh-1)}
.wf-lane-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:22px}
.wf-tag{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.06em;padding:6px 14px;border-radius:var(--pill)}
.wf-tag.free{background:oklch(0.72 0.17 150 / .14);color:oklch(0.52 0.16 150);border:1px solid oklch(0.72 0.17 150 / .30)}
.wf-tag.paid{background:oklch(0.55 0.20 285 / .14);color:oklch(0.52 0.22 285);border:1px solid oklch(0.55 0.20 285 / .30)}
.wf-lane-sub{font-size:13.5px;color:var(--muted)}
.wf-lane-sub b{color:var(--text)}
.wf-steps{display:grid;gap:0}
.wf-lane.free .wf-steps{grid-template-columns:repeat(3,1fr)}
.wf-lane.paid .wf-steps{grid-template-columns:repeat(4,1fr)}
.wf-step{position:relative;padding:0 18px}
.wf-step::after{content:'\2192';position:absolute;right:-7px;top:13px;font-size:15px;color:var(--faint)}
.wf-step:last-child::after{content:''}
.wf-node{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;background:var(--surface-2);border:1px solid var(--line-2);margin-bottom:14px}
.wf-lane.free .wf-node{box-shadow:0 0 0 4px oklch(0.72 0.17 150 / .10)}
.wf-lane.paid .wf-node{box-shadow:0 0 0 4px oklch(0.55 0.20 285 / .10)}
.wf-num{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--faint);margin-bottom:6px}
.wf-st-title{font-size:14.5px;font-weight:700;color:var(--text);margin-bottom:6px;line-height:1.3}
.wf-st-desc{font-size:12.5px;color:var(--muted);line-height:1.55}
.wf-deliver{margin-top:22px;display:flex;justify-content:flex-end}
.wf-deliver span{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;padding:8px 16px;border-radius:var(--pill);background:var(--surface-2);border:1px solid var(--line-2);color:var(--text)}
.wf-deliver.free span{border-color:oklch(0.72 0.17 150 / .35);color:oklch(0.50 0.16 150)}
.wf-deliver.paid span{border-color:oklch(0.55 0.20 285 / .35);color:oklch(0.52 0.22 285)}
.wf-bridge{display:flex;align-items:center;gap:14px;justify-content:center;padding:18px 0;color:var(--muted);font-size:14px;text-align:center}
.wf-bridge .pill{font-weight:800;color:oklch(0.52 0.22 285);background:oklch(0.55 0.20 285 / .12);padding:4px 12px;border-radius:var(--pill);border:1px solid oklch(0.55 0.20 285 / .25)}
.wf-bridge svg{width:22px;height:22px;color:var(--faint);flex-shrink:0}
.wf-lane.free-lane{border-color:oklch(0.72 0.17 150 / .35);background:linear-gradient(180deg,oklch(0.72 0.17 150 / .04),var(--surface))}
.wf-lane.paid-lane{border-color:oklch(0.55 0.20 285 / .35);background:linear-gradient(180deg,oklch(0.55 0.20 285 / .035),var(--surface))}
@media(max-width:900px){.wf-lane.free .wf-steps,.wf-lane.paid .wf-steps{grid-template-columns:repeat(2,1fr);gap:24px 0}.wf-step::after{content:''}}


/* ═══════════════════════════════════════════════════════════
   HUB AUDIT — panneau « 2 familles » dans le hero (colonne droite)
═══════════════════════════════════════════════════════════ */
.fam-list{display:flex;flex-direction:column;gap:12px}
.fam-row{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface-2);text-decoration:none;transition:border-color .2s,transform .2s}
.fam-row:hover{border-color:var(--border-hover);transform:translateY(-2px)}
.fam-ic{font-size:26px;flex-shrink:0;line-height:1}
.fam-tx{flex:1;min-width:0}
.fam-t{display:block;font-size:15px;font-weight:700;color:var(--text)}
.fam-d{display:block;font-size:12.5px;color:var(--muted);margin-top:4px;line-height:1.5}
.fam-arrow{flex-shrink:0;color:var(--faint)}
.fam-row:hover .fam-arrow{color:var(--accent)}

/* Résultat */
.qst-result { padding: 40px; }
.qst-result-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'geist', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 20px;
}
.qst-result-badge.starter {
  background: rgba(124,58,237,.12); color: #a78bfa;
  border: 1px solid rgba(124,58,237,.2);
}
.qst-result-badge.premium {
  background: var(--accent-dim); color: var(--accent-light);
  border: 1px solid rgba(37,99,235,.2);
}
.skb-page[data-theme="light"] .qst-result-badge.starter { color: #6d28d9; }
.skb-page[data-theme="light"] .qst-result-badge.premium { color: var(--accent); }
.qst-result-title {
  font-family: 'geist', sans-serif;
  font-size: clamp(22px, 3vw, 32px); font-weight: 800;
  color: var(--text); line-height: 1.2; margin-bottom: 12px;
}
.qst-result-desc {
  font-size: 15px; color: var(--muted); line-height: 1.8;
  max-width: 560px; margin-bottom: 32px;
}
.qst-starter-form {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  max-width: 520px; margin-bottom: 16px;
}
.qst-form-label {
  font-family: 'geist', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 12px; display: block;
}
.qst-field-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.qst-input {
  flex: 1; min-width: 220px;
  padding: 13px 16px; font-size: 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text);
  font-family: inherit; outline: none; transition: border-color .2s;
}
.qst-input:focus { border-color: var(--indigo); }
.qst-form-note { font-size: 11px; color: var(--faint); margin-top: 8px; line-height: 1.5; }
.qst-status { font-size: 13px; color: var(--muted); margin-top: 10px; min-height: 18px; }
.qst-status.ok { color: #4ade80; }
.qst-restart {
  font-size: 12px; color: var(--faint);
  background: none; border: none; cursor: pointer;
  font-family: 'Roboto', sans-serif;
  margin-top: 24px; display: inline-block;
  transition: color .2s; padding: 0;
}
.qst-restart:hover { color: var(--muted); }
.diff-section-label {
  display: flex; align-items: center; gap: 12px;
  margin-top: 40px; margin-bottom: 4px;
}
.diff-section-label span {
  font-family: 'geist', sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.diff-section-label::before,
.diff-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

@media (max-width: 640px) {
  .qst-options { grid-template-columns: 1fr; }
  .qst-inner, .qst-result { padding: 24px; }
}