/* Ex-bloc <style> de extension.html (lot 21, CSP sans 'unsafe-inline'). */
/* ── Hero ── */
.ext-hero {
  text-align: center;
  padding: 72px 0 56px;
}
.ext-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.ext-hero h1 span { color: var(--accent); }
.ext-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.btn-ext-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 9px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .15s;
}
.btn-ext-dl:hover { background: #2563eb; }
.btn-ext-sec {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 9px;
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.btn-ext-sec:hover { border-color: var(--accent); color: var(--accent); }

/* ── Providers ── */
.providers {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 8px;
}
.provider-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.provider-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ── Mock panel ── */
.mock-wrap {
  max-width: 400px;
  margin: 0 auto 64px;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.5));
}
.mock-panel {
  background: #18181b;
  border-radius: 12px;
  border: 2px solid #f59e0b;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
.mock-accent { height: 4px; background: #f59e0b; }
.mock-head {
  background: rgba(245,158,11,.08);
  border-bottom: 1px solid rgba(245,158,11,.2);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.mock-logo { font-size: 13px; font-weight: 700; color: #f59e0b; font-family: 'DM Mono', 'Consolas', monospace; }
.mock-close { color: #71717a; font-size: 14px; background: none; border: none; cursor: pointer; }
.mock-body { padding: 14px 16px; }
.mock-score-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.mock-score { font-size: 2.2rem; font-weight: 800; color: #f59e0b; line-height: 1; font-family: 'DM Mono', 'Consolas', monospace; }
.mock-score-sub { font-size: 13px; color: #52525b; }
.mock-badge { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.25); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; letter-spacing: .04em; }
.mock-bar { height: 5px; background: #2a2a2f; border-radius: 99px; margin-bottom: 12px; overflow: hidden; }
.mock-fill { height: 100%; background: #f59e0b; border-radius: 99px; width: 82%; }
.mock-from { display: flex; gap: 6px; font-size: 12px; margin-bottom: 6px; align-items: center; }
.mock-from-label { color: #52525b; font-weight: 700; min-width: 22px; text-transform: uppercase; letter-spacing: .04em; font-size: 10px; }
.mock-from-val { color: #a1a1aa; }
.mock-auth { display: flex; gap: 5px; margin-bottom: 12px; }
.mock-badge-auth { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: .04em; }
.mock-pass { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.mock-fail { background: rgba(239,68,68,.12); color: #f87171; border: 1px solid rgba(239,68,68,.25); }
.mock-unk  { background: #1f1f23; color: #a1a1aa; border: 1px solid #3f3f46; }
.mock-sep { border: none; border-top: 1px solid #2a2a2f; margin: 10px 0; }
.mock-findings { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 5px; }
.mock-finding { font-size: 12px; color: #a1a1aa; display: flex; gap: 6px; }
.mock-bullet { color: #52525b; }
.mock-link-title { font-size: 11px; font-weight: 700; color: #71717a; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; }
.mock-link { font-size: 10px; font-family: 'DM Mono', 'Consolas', monospace; color: #f87171; background: #1f1f23; border: 1px solid #3f3f46; border-radius: 3px; padding: 3px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; margin-bottom: 3px; }
.mock-footer { display: flex; justify-content: space-between; align-items: center; font-size: 11px; padding-top: 8px; border-top: 1px solid #2a2a2f; }
.mock-footer a { color: #f59e0b; text-decoration: none; font-weight: 500; }
.mock-time { color: #3f3f46; }

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 48px 0;
}
.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.feature-icon {
  width: 40px; height: 40px;
  background: rgba(59,130,246,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ── Comparison table ── */
.section-title {
  font-size: 1.75rem; font-weight: 800;
  text-align: center; margin-bottom: 8px;
}
.section-subtitle {
  color: var(--text-secondary); text-align: center;
  font-size: 1rem; margin-bottom: 40px;
}
.compare-table {
  width: 100%; border-collapse: collapse;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  font-size: .93rem;
}
.compare-table th {
  background: rgba(245,158,11,.06);
  padding: 14px 20px; text-align: left;
  font-size: .85rem; font-weight: 700;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--border);
}
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table td:first-child { color: var(--text); font-weight: 500; }
.check { color: #22c55e; font-weight: 700; font-size: 1.1rem; }
.cross { color: var(--text-muted); }
.partial { color: #f59e0b; font-size: .85rem; font-weight: 600; }
.col-ext { color: var(--accent); font-weight: 700; }

/* ── Install steps ── */
.install-tabs { display: flex; gap: 0; margin-bottom: 0; }
.install-tab {
  padding: 10px 24px; border: 1px solid var(--border);
  background: var(--bg-secondary); color: var(--text-muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .15s;
}
.install-tab:first-child { border-radius: 8px 0 0 0; }
.install-tab:last-child { border-radius: 0 8px 0 0; border-left: none; }
.install-tab.active { background: var(--bg-secondary); color: var(--text); border-color: var(--border); border-bottom-color: var(--bg-secondary); }
.install-panels {
  background: var(--bg-secondary); border: 1px solid var(--border);
  border-radius: 0 8px 8px 8px; padding: 28px;
}
.install-panel { display: none; }
.install-panel.active { display: block; }
.install-steps { display: flex; flex-direction: column; gap: 16px; }
.install-step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.step-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.step-text strong { color: var(--text); }
.step-text code { background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-family: monospace; font-size: 13px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
details.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
details.faq-item summary {
  padding: 16px 20px; font-size: .95rem; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--accent); font-weight: 400; }
details.faq-item[open] summary::after { content: "−"; }
details.faq-item .faq-body {
  padding: 0 20px 16px;
  font-size: .9rem; color: var(--text-secondary); line-height: 1.6;
}
details.faq-item .faq-body a { color: var(--accent); text-decoration: none; }

/* ── CTA final ── */
.cta-section {
  text-align: center; padding: 72px 0;
  border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-section p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .ext-hero h1 { font-size: 1.8rem; }
  .compare-table { font-size: .82rem; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

