/* ── Variables ─────────────────────────────────────────────── */
:root {
  --violet:      #7c3aed;
  --violet-d:    #5b21b6;
  --violet-l:    #ede9fe;
  --cyan:        #06b6d4;
  --cyan-d:      #0891b2;
  --cyan-l:      #cffafe;
  --slate:       #0f172a;
  --slate-700:   #334155;
  --slate-500:   #64748b;
  --slate-300:   #cbd5e1;
  --slate-100:   #f1f5f9;
  --slate-50:    #f8fafc;
  --white:       #ffffff;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 4px 24px rgba(124,58,237,.12);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --font:        'Inter', system-ui, sans-serif;
  --font-title:  'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--slate); background: var(--white); line-height: 1.7; font-size: 16px; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-d); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 72px 0; }

/* ── Boutons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--violet); color: #fff;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 12px 28px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-primary:hover { background: var(--violet-d); transform: translateY(-1px); color: #fff; }
.btn-cyan {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cyan); color: #fff;
  font-size: 15px; font-weight: 700; padding: 12px 28px;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.btn-cyan:hover { background: var(--cyan-d); transform: translateY(-1px); color: #fff; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--violet);
  font-size: 14px; font-weight: 600; padding: 10px 22px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--violet);
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-outline:hover { background: var(--violet-l); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--violet);
  font-size: 15px; font-weight: 700; padding: 12px 28px;
  border-radius: var(--radius-sm); border: none; cursor: pointer;
  transition: all .2s; text-decoration: none;
}
.btn-white:hover { background: var(--violet-l); }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: 0 1px 0 var(--slate-100);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 24px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; }
.logo-text { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--slate); }
.logo-text span { color: var(--violet); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 14px; font-weight: 500; color: var(--slate-500);
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: all .15s; text-decoration: none;
}
.main-nav a:hover { color: var(--violet); background: var(--violet-l); }
.main-nav a.active { color: var(--violet); font-weight: 600; }
.btn-nav {
  background: var(--violet); color: #fff !important;
  padding: 8px 18px !important; border-radius: var(--radius-sm);
  font-weight: 700 !important;
}
.btn-nav:hover { background: var(--violet-d) !important; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--slate); margin: 4px 0; border-radius: 2px; transition: all .2s; }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--slate-100); padding: 16px 24px; z-index: 99; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 15px; color: var(--slate); border-bottom: 1px solid var(--slate-100); }
.mobile-menu.open { display: block; }

/* ── Simulateur hero ──────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--slate) 0%, #1e1b4b 60%, #312e81 100%);
  padding: 64px 0 48px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -80px; left: 20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { text-align: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--cyan);
  background: rgba(6,182,212,.15); border: 1px solid rgba(6,182,212,.3);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 20px;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 16px;
}
.hero h1 span { color: var(--cyan); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Simulateur */
.simulateur {
  background: rgba(255,255,255,.06); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 32px; max-width: 720px; margin: 0 auto 0; position: relative; z-index: 2;
}
.sim-label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 16px; text-align: center; }
.sim-go-display {
  font-family: var(--font-title); font-size: 3rem; font-weight: 800;
  color: #fff; text-align: center; margin-bottom: 8px; min-height: 60px;
}
.sim-go-display span { color: var(--cyan); }
.sim-slider-wrap { padding: 0 8px; margin-bottom: 20px; }
.sim-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--violet) 0%, var(--cyan) 100%);
  outline: none; cursor: pointer;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--violet);
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.sim-tranches {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px;
}
.sim-btn {
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.25); background: transparent;
  color: rgba(255,255,255,.7); cursor: pointer; transition: all .15s;
  font-family: var(--font);
}
.sim-btn:hover, .sim-btn.active {
  background: var(--violet); border-color: var(--violet); color: #fff;
}
.sim-cta-wrap { text-align: center; }
.sim-count { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 12px; }

/* ── Offres grille ─────────────────────────────────────────── */
.offres-section { padding: 56px 0; }
.offres-header { text-align: center; margin-bottom: 36px; }
.offres-header h2 { font-family: var(--font-title); font-size: 2rem; font-weight: 800; margin-bottom: 10px; }
.offres-header p { font-size: 16px; color: var(--slate-500); }
.offres-grid { display: grid; gap: 16px; }
.offre-card {
  background: #fff; border: 1px solid var(--slate-100);
  border-radius: var(--radius); padding: 20px 24px;
  display: grid; grid-template-columns: 140px 120px 1fr auto auto;
  align-items: center; gap: 20px; transition: all .2s;
  box-shadow: var(--shadow-sm); position: relative;
}
.offre-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--violet); }
.offre-card.featured { border: 2px solid var(--violet); }
.offre-badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--violet); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 10px; border-radius: 20px;
  letter-spacing: .04em; text-transform: uppercase;
}
.offre-logo { display: flex; align-items: center; }
.offre-logo img { max-height: 36px; max-width: 120px; object-fit: contain; }
.offre-logo-txt { font-family: var(--font-title); font-size: 18px; font-weight: 800; color: var(--violet); }
.offre-data { text-align: center; }
.offre-go { font-family: var(--font-title); font-size: 2rem; font-weight: 800; color: var(--slate); line-height: 1; }
.offre-go small { font-size: 1rem; font-weight: 500; color: var(--slate-500); }
.offre-reseau {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px;
  border-radius: 4px; margin-top: 4px;
  background: var(--violet-l); color: var(--violet);
}
.offre-reseau.g5 { background: var(--cyan-l); color: var(--cyan-d); }
.offre-features { display: flex; flex-direction: column; gap: 4px; }
.offre-feature { font-size: 13px; color: var(--slate-700); display: flex; align-items: center; gap: 6px; }
.offre-feature::before { content: '✓'; color: var(--violet); font-weight: 700; flex-shrink: 0; }
.offre-prix { text-align: right; }
.offre-prix-num { font-family: var(--font-title); font-size: 2.2rem; font-weight: 800; color: var(--violet); line-height: 1; }
.offre-prix-unit { font-size: 13px; color: var(--slate-500); margin-top: 2px; }
.offre-prix-note { font-size: 11px; color: var(--slate-300); margin-top: 4px; }
.offre-cta { text-align: right; min-width: 140px; }
.btn-offre {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cyan); color: #fff;
  font-size: 14px; font-weight: 700; padding: 12px 20px;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.btn-offre:hover { background: var(--cyan-d); color: #fff; transform: translateY(-1px); }
.offre-annonce { font-size: 10px; color: var(--slate-300); margin-top: 6px; text-align: center; }

/* ── Stats barre ───────────────────────────────────────────── */
.stats-bar { background: var(--violet); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-title); font-size: 2.5rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ── Blog ──────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card {
  background: #fff; border: 1px solid var(--slate-100);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none;
  transition: all .2s; box-shadow: var(--shadow-sm);
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-stripe { height: 4px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.blog-card-body { padding: 20px; flex: 1; }
.blog-cat { font-size: 11px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 15px; font-weight: 700; color: var(--slate); line-height: 1.4; margin-bottom: 8px; }
.blog-card-body p { font-size: 13px; color: var(--slate-500); line-height: 1.6; }
.blog-card-footer { padding: 12px 20px; border-top: 1px solid var(--slate-100); display: flex; justify-content: space-between; font-size: 12px; color: var(--slate-300); }

/* ── Article ───────────────────────────────────────────────── */
.article-hero { background: linear-gradient(135deg, var(--slate) 0%, #1e1b4b 100%); padding: 48px 0 40px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.article-cat-badge { display: inline-block; background: rgba(124,58,237,.3); color: var(--cyan); font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.article-hero h1 { font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.article-meta { display: flex; gap: 20px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.article-intro-hero { font-size: 17px; color: rgba(255,255,255,.75); max-width: 700px; line-height: 1.7; }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
.article-content h2 { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; color: var(--slate); margin: 32px 0 12px; }
.article-content p { font-size: 16px; color: var(--slate-700); line-height: 1.8; margin-bottom: 16px; }
.article-cta-box { background: linear-gradient(135deg, var(--violet-l), var(--cyan-l)); border: 1px solid rgba(124,58,237,.2); border-radius: var(--radius); padding: 24px; margin-top: 32px; display: flex; align-items: center; gap: 20px; }
.article-cta-icon { font-size: 36px; flex-shrink: 0; }
.article-cta-text { font-size: 15px; color: var(--slate-700); margin-bottom: 12px; font-weight: 500; }

/* FAQ */
.faq-block { margin-top: 40px; }
.faq-block h2 { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.faq-item { border: 1px solid var(--slate-100); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; }
.faq-q { padding: 16px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; user-select: none; }
.faq-q:hover { background: var(--slate-50); }
.faq-arr { color: var(--violet); font-size: 12px; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-arr { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 16px 16px; font-size: 14px; color: var(--slate-700); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* Sidebar article */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: #fff; border: 1px solid var(--slate-100); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.widget-title { font-size: 13px; font-weight: 700; color: var(--slate); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--violet-l); }
.sidebar-offre { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--slate-100); text-decoration: none; }
.sidebar-offre:last-of-type { border-bottom: none; }
.sidebar-offre-op { font-size: 13px; font-weight: 700; color: var(--slate); }
.sidebar-offre-go { font-size: 12px; color: var(--slate-500); }
.sidebar-offre-prix { font-size: 14px; font-weight: 700; color: var(--violet); }
.sidebar-link { display: block; font-size: 13px; color: var(--slate-700); padding: 6px 0; border-bottom: 1px solid var(--slate-100); line-height: 1.4; }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--violet); }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner { background: linear-gradient(135deg, var(--violet) 0%, var(--violet-d) 100%); padding: 72px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(6,182,212,.2) 0%, transparent 70%); pointer-events: none; }
.cta-banner h2 { font-family: var(--font-title); font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 28px; position: relative; z-index: 1; }
.cta-banner .btn-white { position: relative; z-index: 1; }

/* ── Section header ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }
.eyebrow { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.section-header h2 { font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--slate); margin-bottom: 12px; }
.section-header h2 span { color: var(--violet); }
.section-header p { font-size: 17px; color: var(--slate-500); max-width: 600px; margin: 0 auto; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--slate); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 8px; text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.25); }

/* ── Mentions légales ──────────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-content h2 { font-size: 1.2rem; margin: 32px 0 10px; }
.legal-content div { color: var(--slate-700); line-height: 1.8; margin-bottom: 8px; }

/* ── Admin ─────────────────────────────────────────────────── */
.admin-body { background: #f8fafc; font-family: var(--font); }
.admin-sidebar { width: 240px; height: 100vh; position: fixed; top: 0; left: 0; background: #0f172a; display: flex; flex-direction: column; z-index: 50; overflow-y: auto; }
.sidebar-logo { padding: 20px 16px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar-logo a { font-family: var(--font-title); font-size: 17px; font-weight: 800; color: #fff; text-decoration: none; display: block; }
.sidebar-logo a span { color: var(--violet); }
.nav-section { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .1em; padding: 14px 16px 4px; }
.nav-item { display: flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; transition: all .15s; cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-family: var(--font); }
.nav-item:hover { background: rgba(124,58,237,.15); color: #fff; }
.nav-item.active { background: rgba(124,58,237,.2); color: #fff; border-right: 2px solid var(--violet); }
.nav-children { background: rgba(0,0,0,.2); }
.nav-child { padding-left: 28px !important; font-size: 12px !important; }
.nav-child.active { border-right: 2px solid var(--violet); color: rgba(124,58,237,.9) !important; }
.admin-main { margin-left: 240px; padding: 24px; min-height: 100vh; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.admin-topbar h1 { font-size: 22px; font-weight: 700; color: #0f172a; }
.topbar-actions { display: flex; gap: 8px; }
.panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 20px; }
.panel-title { font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f3f4f6; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 5px; }
.form-input { width: 100%; padding: 8px 12px; font-size: 13px; border: 1.5px solid #e2e8f0; border-radius: 7px; background: #fff; font-family: var(--font); color: #0f172a; transition: border-color .15s; }
.form-input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid transparent; font-family: var(--font); transition: all .15s; }
.btn-primary-sm { background: var(--violet); color: #fff; border-color: var(--violet); }
.btn-primary-sm:hover { background: var(--violet-d); }
.btn-outline-sm { background: #fff; color: #374151; border-color: #e2e8f0; }
.btn-outline-sm:hover { background: #f8fafc; }
.alert-success { background: #f0fdf4; border: 1px solid #6ee7b7; color: #166534; padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: #f9fafb; padding: 10px 14px; font-weight: 600; color: #374151; border-bottom: 2px solid #e5e7eb; text-align: left; font-size: 11px; text-transform: uppercase; }
.admin-table td { padding: 10px 14px; border-bottom: 1px solid #f3f4f6; }
.admin-table tr:hover td { background: #fafafa; }
.badge { display: inline-flex; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-violet { background: #ede9fe; color: #6d28d9; }
.btn-xs { display: inline-flex; align-items: center; padding: 3px 8px; font-size: 11px; font-weight: 600; border-radius: 5px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; font-family: var(--font); color: #374151; text-decoration: none; transition: all .15s; }
.btn-xs:hover { background: #f8fafc; border-color: var(--violet); color: var(--violet); }
.empty-state { text-align: center; padding: 3rem; color: #94a3b8; font-size: 14px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .offre-card { grid-template-columns: 1fr 1fr; gap: 12px; }
  .offre-cta { grid-column: 1/-1; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .simulateur { padding: 20px; }
  .offre-card { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
}
/* Tables Markdown dans les articles */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.md-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.md-table th { background: var(--violet, #7c3aed); color: #fff; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.md-table td { padding: 10px 14px; border-bottom: 1px solid var(--slate-100, #f1f5f9); color: var(--slate-700, #334155); line-height: 1.5; }
.md-table tr:last-child td { border-bottom: none; }
.md-table tr:hover td { background: var(--slate-50, #f8fafc); }
.md-table tr:nth-child(even) td { background: #fafafa; }
.section-content p { font-size: 15px; color: var(--slate-700, #334155); line-height: 1.85; margin-bottom: 1rem; }

/* ── Tables Markdown dans les articles ──────────────────────── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.md-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.md-table th { background: var(--violet); color: #fff; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.md-table td { padding: 10px 14px; border-bottom: 1px solid var(--slate-100); color: var(--slate-700); line-height: 1.5; }
.md-table tr:last-child td { border-bottom: none; }
.md-table tr:hover td { background: var(--slate-50); }
.md-table tr:nth-child(even) td { background: #fafafa; }
.section-content { font-size: 15px; color: var(--slate-700); line-height: 1.85; }
.section-content p { margin-bottom: 1rem; }