/* =========================================================
   Obligations LCB-FT Bijouterie — feuille de style commune
   aux pages intérieures (guides, mentions légales, RGPD).
   Reprend les jetons de design de la page d'accueil.
   ========================================================= */
:root {
  --primary: #0f172a;
  --primary-blue: #1e3a8a;
  --accent: #dc2626;
  --accent-alt: #ea580c;
  --success: #059669;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: #fff;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 42px; width: auto; display: block; }
.logo-badge { background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.header-cta {
  background: var(--accent); color: #fff; padding: 10px 20px;
  border-radius: 8px; text-decoration: none; font-weight: 600;
  transition: background 0.2s;
}
.header-cta:hover { background: #b91c1c; }
.header-tel { color: var(--primary); font-weight: 700; text-decoration: none; font-size: 15px; }

/* ===== Fil d'ariane ===== */
.breadcrumb { background: var(--gray-50); padding: 14px 0; font-size: 13px; color: var(--gray-500); border-bottom: 1px solid var(--gray-100); }
.breadcrumb a { color: var(--primary-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== En-tête d'article ===== */
.article-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff; padding: 60px 0;
}
.article-hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.article-hero h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.2; font-weight: 800; max-width: 860px; }
.article-hero .chapeau { font-size: 18px; opacity: 0.9; margin-top: 18px; max-width: 780px; }
.article-hero .meta { margin-top: 22px; font-size: 13px; opacity: 0.75; }

/* ===== Corps d'article ===== */
.article { padding: 56px 0 72px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }

.prose { max-width: 760px; font-size: 17px; color: var(--gray-700); }
.prose h2 {
  font-size: clamp(24px, 3vw, 30px); color: var(--primary); font-weight: 800;
  margin: 44px 0 16px; line-height: 1.25;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--primary); font-weight: 700; margin: 30px 0 12px; }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px 22px; }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--primary); }
.prose a { color: var(--primary-blue); }
.prose a:hover { color: var(--accent); }

/* Encadré article de loi */
.legal-box {
  background: var(--gray-50); border-left: 4px solid var(--primary-blue);
  padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 26px 0;
  font-size: 15px;
}
.legal-box .ref { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gray-500); font-weight: 700; margin-bottom: 8px; }
.legal-box blockquote { font-style: italic; color: var(--gray-700); }

/* Encadré alerte */
.warn-box {
  background: #fff7ed; border: 2px solid var(--accent);
  padding: 22px 24px; border-radius: 12px; margin: 26px 0; font-size: 15px;
}
.warn-box h3 { color: var(--accent); margin: 0 0 10px; font-size: 18px; }

/* Encadré pratique */
.tip-box {
  background: #ecfdf5; border-left: 4px solid var(--success);
  padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 26px 0; font-size: 15px;
}
.tip-box h3 { color: #047857; margin: 0 0 10px; font-size: 17px; }

/* Tableau */
.table-wrap { overflow-x: auto; margin: 26px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
th { background: var(--gray-50); color: var(--primary); font-weight: 700; font-size: 14px; }

/* Sommaire */
.toc { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 22px 24px; margin-bottom: 32px; }
.toc h2 { font-size: 15px !important; text-transform: uppercase; letter-spacing: 0.6px; color: var(--gray-500) !important; margin: 0 0 12px !important; }
.toc ol { margin: 0 0 0 18px; }
.toc li { margin-bottom: 6px; font-size: 15px; }
.toc a { color: var(--primary-blue); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ===== Colonne latérale ===== */
.sidebar { position: sticky; top: 92px; }
.side-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 14px; padding: 26px; box-shadow: var(--shadow-md); margin-bottom: 22px; }
.side-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 12px; }
.side-card p { font-size: 14px; color: var(--gray-700); margin-bottom: 16px; }
.side-card .btn-primary { display: block; text-align: center; }
.side-links { list-style: none; }
.side-links li { margin-bottom: 10px; }
.side-links a { color: var(--primary-blue); text-decoration: none; font-size: 14px; font-weight: 600; }
.side-links a:hover { color: var(--accent); }

.btn-primary {
  background: var(--accent); color: #fff; padding: 14px 28px;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px;
  display: inline-block; box-shadow: var(--shadow-md); transition: all 0.2s;
}
.btn-primary:hover { background: #b91c1c; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: var(--gray-50); color: var(--primary); padding: 14px 28px;
  border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px;
  border: 1px solid var(--gray-100); display: inline-block;
}
.btn-secondary:hover { border-color: var(--primary-blue); }

/* ===== Bandeau CTA ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
  color: #fff; padding: 56px 0; text-align: center;
}
.cta-banner h2 { font-size: clamp(24px, 3.5vw, 32px); margin-bottom: 14px; }
.cta-banner p { font-size: 17px; margin-bottom: 28px; opacity: 0.95; }
.cta-banner .btn-primary { background: #fff; color: var(--accent); }
.cta-banner .btn-primary:hover { background: #fafafa; color: #b91c1c; }

/* ===== Pages suivantes ===== */
.next-pages { background: var(--gray-50); padding: 60px 0; }
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 28px; }
.next-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 12px; padding: 24px; text-decoration: none; display: block; transition: all 0.2s; }
.next-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.next-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.next-card p { font-size: 14px; color: var(--gray-700); }
.next-card span { display: inline-block; margin-top: 12px; color: var(--primary-blue); font-weight: 700; font-size: 14px; }
.section-title { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: var(--primary); text-align: center; }
.section-lead { font-size: 17px; color: var(--gray-500); text-align: center; max-width: 680px; margin: 12px auto 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 860px; margin: 32px auto 0; }
.faq-item { border: 1px solid var(--gray-100); border-radius: 12px; padding: 22px; margin-bottom: 14px; background: #fff; }
.faq-item summary { font-weight: 700; font-size: 16px; color: var(--primary); list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--accent); font-weight: 400; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--gray-700); font-size: 15px; }

/* ===== Footer ===== */
.footer { background: var(--primary); color: #fff; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 16px; margin-bottom: 16px; color: #fbbf24; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; opacity: 0.85; font-size: 14px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fbbf24; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 13px; opacity: 0.7; }
.footer-bottom a { color: #fbbf24; text-decoration: none; }

/* ===== Avertissement ===== */
.disclaimer { background: var(--gray-50); border-radius: 10px; padding: 18px 22px; font-size: 13px; color: var(--gray-500); margin-top: 36px; }

/* ===== Bandeau cookies ===== */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--primary); color: #fff; padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2); display: none;
}
#cookie-banner.visible { display: block; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-inner p { font-size: 14px; line-height: 1.6; flex: 1; min-width: 260px; }
.cookie-inner a { color: #fbbf24; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn { padding: 10px 22px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; font-family: inherit; }
.cookie-btn.refuse { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.cookie-btn.refuse:hover { background: rgba(255,255,255,0.1); }
.cookie-btn.accept { background: var(--accent); color: #fff; }
.cookie-btn.accept:hover { background: #b91c1c; }

/* Accessibilité : contenu réservé aux lecteurs d'écran */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
