/* ============================================
   REGISTREOR - CSS UNIFIÉ PAGES LÉGALES
   Landing + CGU + CGV + Mentions légales + Politique confidentialité
   ============================================ */

/* ── Variables ── */
:root {
  --gold:       #d4af37;
  --gold-light: #f0d060;
  --gold-pale:  rgba(212,175,55,.08);
  --dark:       #12111a;
  --dark2:      #1c1b28;
  --dark3:      #252438;
  --text:       #e8e6f0;
  --text-muted: #9896b0;
  --white:      #ffffff;
  --border:     rgba(212,175,55,.18);
  --border-sub: rgba(255,255,255,.06);
  --radius:     10px;
  --green:      #22c55e;
  --green-pale: rgba(34,197,94,.07);
  --green-bdr:  rgba(34,197,94,.2);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); text-decoration: underline; }
img { max-width: 100%; }

/* ── Utilitaires ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(212,175,55,.12); color: var(--gold); border: 1px solid var(--border);
}

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: var(--dark);
  box-shadow: 0 4px 20px rgba(212,175,55,.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 28px rgba(212,175,55,.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(255,255,255,.18);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(212,175,55,.06);
}
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 10px; }

/* ── Navigation ── */
nav {
  background: rgba(18,17,26,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.nav-logo span { 
  font-size: 13px; font-weight: 400; color: var(--text-muted); 
  margin-left: 8px; font-family: 'DM Sans', sans-serif; letter-spacing: 0; 
}
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav-links a { font-size: 13px; color: var(--text-muted); transition: color .15s; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }
.nav-links a.active { color: var(--gold); }
.nav-back {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.nav-back:hover { color: var(--gold); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ── Badge Beta ── */
.beta-bar {
  background: rgba(212,175,55,.07);
  border-bottom: 1px solid rgba(212,175,55,.2);
  padding: 10px 24px;
  text-align: center;
  font-size: 12px; color: var(--gold);
  letter-spacing: .4px;
}
.beta-bar strong { font-weight: 600; }

/* ── Layout Pages Légales ── */
.page {
  max-width: 900px; margin: 0 auto;
  padding: 48px 24px 80px;
}
.page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.page-header .label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px); font-weight: 700;
  color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.page-header .meta { font-size: 13px; color: var(--text-muted); }
.page-header .intro {
  font-size: 15px; color: var(--text-muted); max-width: 580px; line-height: 1.7;
}

/* ── Sections ── */
.section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212,175,55,.08);
  scroll-margin-top: 80px;
}
.section:last-child { border-bottom: none; margin-bottom: 0; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 600; color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.section-title .icon { font-size: 20px; }

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600;
  color: #fff; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section h2 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-pale); border: 1px solid var(--border);
  font-size: 12px; font-weight: 700; color: var(--gold);
  font-family: 'DM Sans', sans-serif; flex-shrink: 0;
}
.section h3 {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin: 20px 0 8px;
  display: flex; align-items: center; gap: 8px;
}
.section h3::before {
  content: '';
  display: inline-block; width: 3px; height: 14px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
.section p { font-size: 15px; color: var(--text-muted); margin-bottom: 12px; }
.section p:last-child { margin-bottom: 0; }
.section p strong { color: var(--text); font-weight: 600; }
.section ul, .section ol {
  margin: 8px 0 16px 20px; display: flex; flex-direction: column; gap: 6px;
}
.section ul { list-style: none; margin-left: 0; }
.section ul li {
  font-size: 14px; color: var(--text-muted);
  padding-left: 16px; position: relative;
}
.section ul li::before {
  content: '–'; position: absolute; left: 0; color: var(--gold); font-weight: 600;
}
.section ol li { font-size: 14px; color: var(--text-muted); }
.section li strong { color: var(--text); }

/* ── Table des matières ── */
.toc {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.toc h3 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.toc ol {
  list-style: none; counter-reset: toc;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px;
}
.toc ol li { counter-increment: toc; font-size: 13px; }
.toc ol li::before {
  content: counter(toc) ". "; color: var(--gold); font-weight: 600;
}
.toc ol li a { color: var(--text-muted); transition: color .15s; }
.toc ol li a:hover { color: var(--gold); text-decoration: none; }

/* ── Sidebar TOC (Politique confidentialité) ── */
.layout {
  max-width: 960px; margin: 0 auto;
  padding: 48px 24px 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.sidebar { position: sticky; top: 80px; }
.toc-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.toc-box h3 {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--gold); font-weight: 600; margin-bottom: 14px;
}
.toc-box ol { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-box ol li a {
  display: block; padding: 5px 8px; border-radius: 5px;
  font-size: 12.5px; color: var(--text-muted);
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.toc-box ol li a:hover,
.toc-box ol li a.active {
  background: var(--gold-pale); color: var(--gold);
  text-decoration: none;
}

/* ── Boîtes d'info ── */
.info-box {
  background: var(--gold-pale);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 16px 0;
  font-size: 14px; color: var(--text-muted);
}
.info-box strong { color: var(--gold); }

.warn-box {
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.2);
  border-left: 3px solid #ef4444;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 16px 0;
  font-size: 14px; color: #fca5a5;
}
.warn-box strong { color: #f87171; }

/* ── Cartes spéciales ── */
.editor-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin-top: 8px;
}
.editor-card .field { font-size: 14px; }
.editor-card .field dt {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold); font-weight: 600; margin-bottom: 3px;
}
.editor-card .field dd { color: var(--text); }

.host-box {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 8px;
  font-size: 14px;
}
.host-box dt {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold); font-weight: 600; margin-bottom: 3px;
}
.host-box dd { color: var(--text); margin-bottom: 10px; }
.host-box dd:last-child { margin-bottom: 0; }

.tester-card {
  background: rgba(34,197,94,.05);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 12px 0;
}
.tester-card .tc-title {
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: #4ade80; font-weight: 600; margin-bottom: 10px;
}
.tester-card p { font-size: 14px; color: #86efac; margin-bottom: 6px; }
.tester-card p:last-child { margin-bottom: 0; }
.tester-card strong { color: #4ade80; }

.free-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px; font-weight: 600;
  color: #4ade80;
  margin: 16px 0;
}

/* ── Grille tarifaire ── */
.pricing-preview {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 16px 0;
}
.pricing-preview .pp-title {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-muted); font-weight: 600; margin-bottom: 16px;
}
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.pricing-item {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  position: relative;
}
.pricing-item.featured { border-color: var(--gold); }
.pricing-item .featured-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--dark);
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}
.pricing-item .pi-name { 
  font-size: 11px; text-transform: uppercase; letter-spacing: .8px; 
  color: var(--text-muted); font-weight: 600; margin-bottom: 8px; 
}
.pricing-item .pi-price { 
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; 
  color: #fff; line-height: 1.1; margin-bottom: 4px; 
}
.pricing-item .pi-price .pi-period { 
  font-size: 13px; font-weight: 400; color: var(--text-muted); 
  font-family: 'DM Sans', sans-serif; 
}
.pricing-item .pi-note { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ── Tableaux ── */
.treatment-table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0; font-size: 13px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.treatment-table th {
  background: var(--dark3);
  color: var(--gold); font-weight: 600;
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.treatment-table td {
  padding: 10px 14px; color: var(--text-muted);
  border-bottom: 1px solid var(--border-sub);
  vertical-align: top;
}
.treatment-table tr:last-child td { border-bottom: none; }
.treatment-table tr:nth-child(even) td { background: rgba(255,255,255,.015); }
.treatment-table td strong { color: var(--text); display: block; margin-bottom: 2px; }
.treatment-table td .base-leg {
  display: inline-block; padding: 1px 7px; border-radius: 4px;
  font-size: 10px; font-weight: 600; letter-spacing: .3px;
  background: var(--gold-pale); color: var(--gold);
  border: 1px solid var(--border); white-space: nowrap;
}
.treatment-table td .base-leg.ob { background: rgba(34,197,94,.07); color: #4ade80; border-color: rgba(34,197,94,.2); }
.treatment-table td .base-leg.li { background: rgba(99,102,241,.07); color: #a5b4fc; border-color: rgba(99,102,241,.2); }
.treatment-table td .base-leg.co { background: rgba(251,191,36,.07); color: #fcd34d; border-color: rgba(251,191,36,.2); }

/* ── Listes de conservation ── */
.retention-list {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden; margin: 16px 0;
}
.retention-item {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 8px 16px; align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-sub);
  font-size: 13px;
}
.retention-item:last-child { border-bottom: none; }
.retention-item .ri-label { color: var(--text); font-weight: 500; }
.retention-item .ri-ref { font-size: 11px; color: var(--text-muted); font-family: monospace; margin-top: 2px; }
.retention-item .ri-duration {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 10px;
  font-size: 12px; font-weight: 700; color: var(--gold);
  white-space: nowrap;
}

/* ── Grilles de sécurité et droits ── */
.security-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 16px 0;
}
.security-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.security-card .sc-icon { font-size: 22px; margin-bottom: 8px; }
.security-card .sc-title {
  font-size: 13px; font-weight: 600; color: var(--text);
  margin-bottom: 5px;
}
.security-card .sc-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

.rights-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 16px 0;
}
.right-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.right-card .rc-name {
  font-size: 12px; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 5px;
}
.right-card .rc-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.right-card .rc-limit { font-size: 11px; color: rgba(212,175,55,.5); margin-top: 5px; font-style: italic; }

/* ── Carte DPO ── */
.dpo-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  margin: 16px 0;
}
.dpo-card .dpo-icon { font-size: 28px; flex-shrink: 0; }
.dpo-card .dpo-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.dpo-card .dpo-info { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }
.dpo-card .dpo-info a { color: var(--gold); }

/* ── Résumé rapide ── */
.quick-summary {
  background: var(--green-pale);
  border: 1px solid var(--green-bdr);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 16px;
}
.quick-summary h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--green); font-weight: 600; margin-bottom: 12px;
}
.quick-summary ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.quick-summary li {
  font-size: 12px; color: rgba(134,239,172,.85);
  display: flex; align-items: flex-start; gap: 6px;
}
.quick-summary li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ── HERO (Landing page) ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(212,175,55,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(212,175,55,.05) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .03;
  background-image:
    linear-gradient(rgba(212,175,55,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-eyebrow { margin-bottom: 20px; }
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; line-height: 1.1;
  color: var(--white); margin-bottom: 24px;
}
h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 18px; color: var(--text-muted); max-width: 480px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.trust-item svg { flex-shrink: 0; }

/* Mockup terminal */
.hero-visual {
  background: var(--dark2); border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.06);
  overflow: hidden;
}
.mockup-bar {
  background: var(--dark3); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-url {
  flex: 1; background: rgba(0,0,0,.3); border-radius: 5px;
  padding: 4px 12px; font-size: 12px; color: var(--text-muted);
  font-family: monospace;
}
.mockup-body { padding: 20px; }
.mockup-title { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; letter-spacing: .5px; }
.mockup-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 8px; margin-bottom: 6px; font-size: 12px;
  animation: fadeSlide .4s ease both;
}
.mockup-row:nth-child(1) { animation-delay: .1s; }
.mockup-row:nth-child(2) { animation-delay: .25s; }
.mockup-row:nth-child(3) { animation-delay: .4s; }
.mockup-row:nth-child(4) { animation-delay: .55s; }
.mockup-row:nth-child(5) { animation-delay: .7s; }
.mockup-row.row-achat { background: rgba(34,197,94,.07); border: 1px solid rgba(34,197,94,.15); }
.mockup-row.row-vente { background: rgba(59,130,246,.07); border: 1px solid rgba(59,130,246,.15); }
.badge-op {
  padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; white-space: nowrap;
}
.badge-a { background: rgba(34,197,94,.2); color: #4ade80; }
.badge-v { background: rgba(59,130,246,.2); color: #60a5fa; }
.mockup-client { flex: 1; color: var(--text); font-weight: 500; }
.mockup-metal { color: var(--text-muted); }
.mockup-amount { color: var(--gold); font-weight: 700; font-family: monospace; }
.mockup-hash { font-family: monospace; font-size: 10px; color: rgba(255,255,255,.2); }
.mockup-footer {
  margin-top: 14px; padding: 10px 12px;
  background: rgba(212,175,55,.06); border-radius: 8px; border: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--text-muted);
}
.mockup-footer strong { color: var(--gold); }

@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Sections communes Landing ── */
section { padding: 96px 0; }
.section-tag { margin-bottom: 16px; }
.section-title-lg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: var(--white); margin-bottom: 16px; line-height: 1.2;
}
.section-sub {
  font-size: 17px; color: var(--text-muted); max-width: 560px; line-height: 1.7;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── Grille problèmes ── */
.pain-section { background: var(--dark2); }
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pain-card {
  padding: 28px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.02);
}
.pain-icon { font-size: 28px; margin-bottom: 14px; }
.pain-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Grille fonctionnalités ── */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feature-card {
  padding: 28px 32px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(212,175,55,.04) 0%, transparent 60%);
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .2s;
}
.feature-card:hover { border-color: rgba(212,175,55,.4); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }
.feature-card.wide { grid-column: span 2; }
.feature-icon { font-size: 26px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.feature-list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.feature-list li {
  font-size: 13px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 8px;
}
.feature-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── Conformité ── */
.compliance-section { background: var(--dark2); }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compliance-card {
  padding: 24px 28px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--dark);
}
.compliance-card .reg-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
.compliance-card h3 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.compliance-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.compliance-ref {
  margin-top: 10px; font-size: 11px; color: rgba(212,175,55,.6);
  font-family: monospace;
}

/* ── Intégrité ── */
.integrity-section { position: relative; overflow: hidden; }
.integrity-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,175,55,.06) 0%, transparent 70%);
}
.integrity-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hash-visual {
  background: var(--dark2); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px;
  font-family: monospace; font-size: 12px;
}
.hash-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.hash-row:last-child { border-bottom: none; }
.hash-seq { color: var(--gold); font-weight: 700; width: 28px; flex-shrink: 0; }
.hash-content { flex: 1; }
.hash-op { color: var(--text); font-weight: 500; font-size: 11px; margin-bottom: 3px; }
.hash-val { color: var(--text-muted); font-size: 10px; word-break: break-all; line-height: 1.4; }
.hash-val em { color: var(--gold); font-style: normal; }
.hash-chain-line {
  width: 1px; background: linear-gradient(to bottom, var(--gold), rgba(212,175,55,.1));
  height: 24px; margin: 0 auto; margin-left: 13px; opacity: .4;
}

/* ── Tarifs ── */
.pricing-section-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.pricing-card-lg {
  border-radius: 16px; padding: 36px 32px;
  border: 1px solid var(--border);
  background: var(--dark2);
  transition: transform .2s;
}
.pricing-card-lg.featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(212,175,55,.08) 0%, var(--dark2) 50%);
  transform: translateY(-8px);
  box-shadow: 0 0 0 1px rgba(212,175,55,.2), 0 32px 60px rgba(0,0,0,.3);
}
.pricing-card-lg:not(.featured):hover { transform: translateY(-4px); }
.pricing-badge-lg {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--gold); color: var(--dark);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.pricing-name-lg { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-price-lg { margin-bottom: 6px; }
.pricing-price-lg .amount {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700; color: var(--white); line-height: 1;
}
.pricing-price-lg .currency { font-size: 20px; color: var(--text-muted); vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-price-lg .period { font-size: 14px; color: var(--text-muted); }
.pricing-desc-lg { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.5; }
.pricing-features-lg { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features-lg li { font-size: 14px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; }
.pricing-features-lg li .check { color: var(--gold); font-weight: 700; flex-shrink: 0; }
.pricing-features-lg li .cross { color: rgba(255,255,255,.2); flex-shrink: 0; }
.pricing-cta-lg { display: block; text-align: center; width: 100%; }

/* ── CTA final ── */
.cta-section {
  text-align: center; padding: 100px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark2) 50%, var(--dark) 100%);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,175,55,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .section-title-lg { max-width: 600px; margin: 0 auto 16px; }
.cta-section .section-sub { margin: 0 auto 40px; }
.cta-section .hero-cta { justify-content: center; }

/* ── Footer ── */
footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo { display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-refs {
  font-size: 11px; color: rgba(255,255,255,.2); line-height: 1.6; margin-top: 8px;
}
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-muted);
}

/* ── Footer simple (pages légales) ── */
.footer-simple {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 12px; color: var(--text-muted);
}
.footer-simple .links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.footer-simple .links a { font-size: 12px; color: var(--text-muted); transition: color .15s; }
.footer-simple .links a:hover { color: var(--gold); text-decoration: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner, .integrity-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pain-grid, .compliance-grid, .pricing-section-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: span 1; }
  .pricing-card-lg.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .layout { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .sidebar { position: static; margin-bottom: 32px; }
  .toc-box ol { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
  .quick-summary { display: none; }
  .security-grid, .rights-grid, .editor-card, .pricing-grid { grid-template-columns: 1fr; }
  .retention-item { grid-template-columns: 1fr auto; }
  .retention-item .ri-ref { grid-column: 1; }
  .toc ol { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .editor-card { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .toc-box ol { grid-template-columns: 1fr; }
  .treatment-table { font-size: 12px; }
  .treatment-table th, .treatment-table td { padding: 8px 10px; }
}