:root{--primary:#1a56db;--primary-dark:#1e40af;--accent:#059669;--bg:#f8fafc;--surface:#fff;--text:#1e293b;--text-light:#64748b;--border:#e2e8f0;--radius:8px;--shadow:0 1px 3px rgba(0,0,0,.08)}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--text);background:var(--bg);line-height:1.6}
.skip-link{position:absolute;top:-100%;left:0;background:var(--primary);color:#fff;padding:.5rem 1rem;z-index:10000;border-radius:0 0 var(--radius) 0}
.skip-link:focus{top:0}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible{outline:3px solid var(--primary);outline-offset:2px;border-radius:2px}
img{max-width:100%;height:auto}
.container{max-width:1120px;margin:0 auto;padding:0 1.25rem}

/* Header */
.site-header{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 0;position:sticky;top:0;z-index:100}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.logo{font-size:1.2rem;color:var(--text);text-decoration:none;white-space:nowrap}
.logo strong{color:var(--primary)}
.logo-dot{color:var(--accent)}
.nav-main{display:flex;list-style:none;gap:.25rem;flex-wrap:wrap}
.nav-main a{padding:.4rem .75rem;border-radius:var(--radius);font-size:.875rem;font-weight:500;color:var(--text);transition:background .15s}
.nav-main a:hover{background:var(--bg);text-decoration:none}
.nav-highlight{background:#fef3c7!important;color:#92400e!important;font-weight:600!important}

/* Hero */
.hero{background:linear-gradient(135deg,#1e3a5f 0%,#1a56db 100%);color:#fff;padding:3rem 0;text-align:center}
.hero h1{font-size:2rem;font-weight:700;margin-bottom:.75rem;line-height:1.2}
.hero-subtitle{font-size:1.1rem;opacity:.9;max-width:640px;margin:0 auto .75rem}
.hero-alert{display:inline-block;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.3);border-radius:var(--radius);padding:.6rem 1.2rem;font-size:.9rem;margin-top:.5rem}
.hero-alert a{color:#fbbf24;font-weight:600}

/* Grid */
.grid{display:grid;gap:1.25rem}
.grid-3{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}

/* Cards */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;transition:box-shadow .15s,transform .15s;display:block;color:var(--text);text-decoration:none}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px);text-decoration:none}
.card h3{font-size:1rem;margin-bottom:.4rem}
.card p{font-size:.875rem;color:var(--text-light);margin-bottom:.4rem}
.card-icon{font-size:1.5rem;margin-bottom:.5rem;display:block}
.card-count{font-size:.8rem;color:var(--primary);font-weight:600}
.card-pricing{color:var(--accent);font-weight:600;font-size:.875rem}
.card-vs{text-align:center;font-weight:600;font-size:1rem;padding:1.5rem}

/* Logiciel list */
.card-logiciel-list{display:flex;align-items:flex-start;gap:1rem;padding:1.5rem}
.card-rank{font-size:1.5rem;font-weight:700;color:var(--primary);min-width:2.5rem;text-align:center}
.card-body{flex:1}
.card-body h2{font-size:1.1rem;margin-bottom:.3rem}
.card-body h2 a{color:var(--text)}
.card-features{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}
.card-features li{background:var(--bg);padding:.2rem .6rem;border-radius:4px;font-size:.8rem;color:var(--text-light)}
.card-actions{display:flex;flex-direction:column;gap:.5rem;min-width:160px}

/* Buttons */
.btn-primary,.btn-affiliate{display:inline-block;background:var(--primary);color:#fff!important;padding:.6rem 1.2rem;border-radius:var(--radius);font-weight:600;font-size:.875rem;text-align:center;text-decoration:none;border:none;cursor:pointer;transition:background .15s;min-height:44px;line-height:1.4}
.btn-primary:hover,.btn-affiliate:hover{background:var(--primary-dark);text-decoration:none}
.btn-secondary{display:inline-block;border:1px solid var(--border);color:var(--text);padding:.5rem 1rem;border-radius:var(--radius);font-size:.85rem;text-align:center;text-decoration:none;min-height:44px;line-height:1.6}
.btn-secondary:hover{background:var(--bg);text-decoration:none}
.cta-affiliate{display:inline-block;background:var(--accent);color:#fff!important;padding:.5rem 1rem;border-radius:var(--radius);font-weight:600;font-size:.875rem;text-decoration:none;min-height:44px}
.cta-affiliate:hover{opacity:.9;text-decoration:none}

/* Fiche */
.fiche-header{display:flex;align-items:center;gap:1rem;margin:1.5rem 0}
.fiche-logo{border-radius:var(--radius);border:1px solid var(--border)}
.fiche-tagline{color:var(--text-light);font-size:1rem}
.fiche-grid{display:grid;grid-template-columns:1fr 300px;gap:2rem;margin-top:1.5rem}
.fiche-main section{margin-bottom:2rem}
.fiche-main h2{font-size:1.3rem;margin-bottom:.75rem;padding-bottom:.4rem;border-bottom:2px solid var(--border)}
.fiche-sidebar{position:sticky;top:80px;height:fit-content}
.sidebar-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}
.sidebar-card h3{font-size:1rem;margin-bottom:.75rem}
.sidebar-card dl{display:grid;grid-template-columns:auto 1fr;gap:.3rem .75rem;font-size:.875rem}
.sidebar-card dt{font-weight:600;color:var(--text-light)}
.sidebar-card .btn-affiliate{width:100%;margin-top:1rem}

/* VS page */
.vs-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.vs-col{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}
.vs-col h3{font-size:1.1rem;margin-bottom:.75rem;color:var(--primary)}
.comparison-table{width:100%;border-collapse:collapse;margin:1rem 0}
.comparison-table th,.comparison-table td{padding:.75rem 1rem;border:1px solid var(--border);text-align:left;font-size:.875rem}
.comparison-table th{background:var(--bg);font-weight:600}
.comparison-table thead th:first-child{width:30%}
.verdict-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--radius);padding:1.25rem}
.verdict-box p{margin-bottom:.5rem}

/* Pros/Cons */
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.pros h3{color:var(--accent)}
.cons h3{color:#dc2626}
.pros ul,.cons ul{list-style:none;padding:0}
.pros li::before{content:"✓ ";color:var(--accent);font-weight:700}
.cons li::before{content:"✗ ";color:#dc2626;font-weight:700}

/* TOC */
.toc{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.5rem;margin:1.5rem 0}
.toc h2{font-size:.9rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-light);margin-bottom:.5rem}
.toc ol{padding-left:1.5rem;font-size:.9rem}
.toc li{margin-bottom:.3rem}

/* Breadcrumb */
.breadcrumb ol{display:flex;list-style:none;gap:.3rem;font-size:.8rem;color:var(--text-light);flex-wrap:wrap;padding:.75rem 0}
.breadcrumb li::after{content:" ›";margin-left:.3rem}
.breadcrumb li:last-child::after{content:""}
.breadcrumb a{color:var(--text-light)}

/* FAQ */
.faq-list details{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.5rem}
.faq-list summary{padding:.75rem 1rem;cursor:pointer;font-weight:500;font-size:.95rem;min-height:44px;display:flex;align-items:center}
.faq-list summary:hover{background:var(--bg)}
.faq-list details p{padding:0 1rem 1rem;color:var(--text-light);font-size:.9rem}

/* Features list */
.features-list{columns:2;column-gap:1.5rem;list-style:none;padding:0}
.features-list li{padding:.4rem 0;font-size:.9rem;break-inside:avoid}
.features-list li::before{content:"→ ";color:var(--primary)}

/* Disclosure */
.affiliate-disclosure{background:#fefce8;border:1px solid #fef08a;border-radius:var(--radius);padding:.75rem 1rem;margin-top:2rem}

/* Guide */
.guide-content{line-height:1.7;font-size:.95rem}
.guide-content h2{font-size:1.3rem;margin:2rem 0 .75rem;padding-bottom:.3rem;border-bottom:2px solid var(--border)}
.guide-content h3{font-size:1.1rem;margin:1.5rem 0 .5rem}
.guide-content p{margin-bottom:1rem}
.guide-content ul,.guide-content ol{margin-bottom:1rem;padding-left:1.5rem}
.guide-content table{width:100%;border-collapse:collapse;margin:1rem 0}
.guide-content th,.guide-content td{padding:.5rem .75rem;border:1px solid var(--border);font-size:.875rem;text-align:left}
.guide-content th{background:var(--bg);font-weight:600}

/* Legal pages */
.page-legal{padding:2rem 0}
.page-legal h1{font-size:1.5rem;margin-bottom:1.5rem}
.page-legal h2{font-size:1.1rem;margin:1.5rem 0 .5rem;color:var(--primary)}
.page-legal h3{font-size:1rem;margin:1rem 0 .3rem}
.page-legal p,.page-legal li{font-size:.9rem;line-height:1.6;margin-bottom:.5rem}

/* Footer */
.site-footer{background:#1e293b;color:#94a3b8;padding:2.5rem 0 1.5rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2rem;margin-bottom:2rem}
.footer-col h4{color:#fff;font-size:.9rem;margin-bottom:.75rem}
.footer-col ul{list-style:none;padding:0}
.footer-col li{margin-bottom:.3rem}
.footer-col a{color:#94a3b8;font-size:.85rem}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid #334155;padding-top:1rem;text-align:center;font-size:.8rem}
.footer-bottom a{color:#94a3b8}

/* Responsive */
@media(max-width:768px){
  .hero h1{font-size:1.5rem}
  .fiche-grid{grid-template-columns:1fr}
  .fiche-sidebar{position:static}
  .vs-grid{grid-template-columns:1fr}
  .pros-cons{grid-template-columns:1fr}
  .features-list{columns:1}
  .card-logiciel-list{flex-direction:column}
  .card-actions{min-width:auto;flex-direction:row}
  .nav-main{display:none}
  .comparison-table{font-size:.8rem}
  .comparison-table th,.comparison-table td{padding:.4rem}
}
