/*
Theme Name: MonProjetCapital
Theme URI: https://monprojetcapital.fr
Description: Thème custom léger et performant pour MonProjetCapital — optimisé SEO, finance & capital
Version: 1.0
Author: MonProjetCapital
Author URI: https://monprojetcapital.fr
Text Domain: monprojetcapital
*/

/* ════════════════════════════════════════════════════════════════════ */
/* VARIABLES & RESET                                                    */
/* ════════════════════════════════════════════════════════════════════ */

:root {
  --ink:          #0f1f17;       /* vert très sombre — texte principal */
  --ink-light:    #3d5247;       /* texte secondaire */
  --bg:           #f7f9f7;       /* fond général légèrement vert */
  --bg-card:      #ffffff;
  --accent:       #1A4A3A;       /* vert forêt — action principale */
  --accent-hover: #0f2b20;
  --accent-soft:  #e6f0ec;
  --gold:         #C9A84C;       /* or — accent secondaire */
  --gold-soft:    #faf4e4;
  --gold-dark:    #a07828;
  --border:       #dde6e0;
  --radius:       12px;
  --shadow:       0 2px 16px rgba(15,31,23,0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Fraunces', Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════════ */
/* LAYOUT                                                               */
/* ════════════════════════════════════════════════════════════════════ */

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-body {
  padding: 60px 0 80px;
}

/* ════════════════════════════════════════════════════════════════════ */
/* HERO                                                                 */
/* ════════════════════════════════════════════════════════════════════ */

.hero {
  background: var(--accent);
  color: #fff;
  padding: 56px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Motif géométrique subtil */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.03) 40px,
    rgba(255,255,255,0.03) 41px
  );
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  max-width: 800px;
  margin: 0 auto 22px;
  letter-spacing: -0.02em;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.hero h1 span { color: var(--gold); }

.hero-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 32px;
  font-weight: 300;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 36px;
  position: relative;
  z-index: 1;
}

.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.15s;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink) !important;
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18) !important;
}

.hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════ */
/* SIMULATEUR HERO — bloc encart dans le hero page d'accueil           */
/* ════════════════════════════════════════════════════════════════════ */

.hero-sim-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sim-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 28px 32px;
  backdrop-filter: blur(4px);
  text-align: left;
}

.sim-card-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.sim-field label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}

.sim-field input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.sim-val {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

.sim-result-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.sim-result-main {}
.sim-result-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}
.sim-result-amount {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.sim-result-split {
  flex: 1;
  min-width: 160px;
  display: flex;
  gap: 16px;
}

.sim-result-item { flex: 1; }
.sim-result-item .sim-result-label {}
.sim-result-item .sim-result-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.sim-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--ink) !important;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.sim-result-cta:hover { background: var(--gold-dark); }

@media(max-width: 700px) {
  .sim-fields { grid-template-columns: 1fr; }
  .sim-result-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ════════════════════════════════════════════════════════════════════ */
/* HEADINGS                                                             */
/* ════════════════════════════════════════════════════════════════════ */

h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 60px 0 20px;
  color: var(--ink);
}

h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--ink);
}

p { margin-bottom: 20px; }
strong { font-weight: 600; }
ul, ol { padding-left: 24px; margin-bottom: 20px; }
li { margin-bottom: 6px; }

/* ════════════════════════════════════════════════════════════════════ */
/* BREADCRUMB                                                           */
/* ════════════════════════════════════════════════════════════════════ */

.breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.breadcrumb a { color: var(--ink-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 4px; color: var(--border); }

/* ════════════════════════════════════════════════════════════════════ */
/* CHIFFRES CLÉS — encart en haut d'article                            */
/* ════════════════════════════════════════════════════════════════════ */

.key-facts {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0 40px;
  box-shadow: var(--shadow);
}

.key-facts-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 20px;
  font-weight: 700;
}

.key-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.key-fact {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}

.key-fact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--ink-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.key-fact-value {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

/* ════════════════════════════════════════════════════════════════════ */
/* SOMMAIRE                                                             */
/* ════════════════════════════════════════════════════════════════════ */

.toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 52px;
}

.toc-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.toc ol { list-style: none; counter-reset: toc; padding: 0; }
.toc ol li {
  counter-increment: toc;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
  min-width: 24px;
}
.toc a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; font-family: 'DM Sans', sans-serif; }
.toc a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════════ */
/* CALLOUTS                                                             */
/* ════════════════════════════════════════════════════════════════════ */

.callout {
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 32px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.callout-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.callout-body { flex: 1; }
.callout-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.callout p { margin: 0; font-size: 15px; line-height: 1.65; font-family: 'DM Sans', sans-serif; }

/* ✅ À retenir */
.callout-retenir {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
}
.callout-retenir .callout-title { color: var(--accent); }

/* 💡 Bon à savoir */
.callout-info {
  background: #f0f7ff;
  border-left: 4px solid #3b82f6;
}
.callout-info .callout-title { color: #1d4ed8; }

/* ⚠️ Vigilance */
.callout-warn {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
}
.callout-warn .callout-title { color: var(--gold-dark); }

/* 🔴 Attention */
.callout-danger {
  background: #fff0f0;
  border-left: 4px solid #ef4444;
}
.callout-danger .callout-title { color: #b91c1c; }

/* ════════════════════════════════════════════════════════════════════ */
/* SIMULATEUR INLINE — dans les articles                               */
/* ════════════════════════════════════════════════════════════════════ */

.sim-inline {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 48px 0;
  box-shadow: var(--shadow);
}

.sim-inline-title {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.sim-inline-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 24px;
}

.sim-inline-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media(max-width: 620px) { .sim-inline-fields { grid-template-columns: 1fr; } }

.sim-inline-field label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.sim-inline-field .sim-val {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.sim-inline-field input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.sim-inline-result {
  background: var(--accent);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sim-inline-result-main { color: #fff; }
.sim-inline-result-main .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.sim-inline-result-main .amount {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.sim-inline-result-details {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.sim-inline-result-detail { color: rgba(255,255,255,0.8); }
.sim-inline-result-detail .label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.sim-inline-result-detail .val {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--gold);
}

/* ════════════════════════════════════════════════════════════════════ */
/* TABLEAU                                                              */
/* ════════════════════════════════════════════════════════════════════ */

.table-wrapper {
  overflow-x: auto;
  margin: 36px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--bg-card); font-family: 'DM Sans', sans-serif; }
thead th {
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}
thead th:first-child { border-radius: var(--radius) 0 0 0; }
thead th:last-child  { border-radius: 0 var(--radius) 0 0; }
tbody tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: #f5f8f6; }
tbody tr.highlight { background: var(--accent-soft); }
tbody tr.highlight:hover { background: #d9ebe3; }
td { padding: 13px 16px; vertical-align: middle; line-height: 1.5; }
td:first-child { font-weight: 600; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.06em; font-family: 'DM Sans', sans-serif; }
.badge-green  { background: var(--accent-soft); color: var(--accent); }
.badge-gold   { background: var(--gold-soft); color: var(--gold-dark); }
.badge-gray   { background: #f0ede8; color: var(--ink-light); }
.check { color: var(--accent); font-size: 17px; }
.cross { color: #ef4444; font-size: 17px; }

/* ════════════════════════════════════════════════════════════════════ */
/* CARTES PRODUITS (ETF, SCPI, PEA…)                                  */
/* ════════════════════════════════════════════════════════════════════ */

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 24px rgba(26,74,58,0.12); }

.product-card.featured {
  border-color: var(--accent);
  border-width: 2px;
}
.product-card.featured::before {
  content: '⭐ Notre sélection';
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.product-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 4px;
  color: var(--ink);
}

.product-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 14px;
}

.product-rendement {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 2px;
}

.product-rendement-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--ink-light);
  margin-bottom: 16px;
}

.product-pros { list-style: none; flex: 1; margin-bottom: 18px; padding: 0; }
.product-pros li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 4px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.product-pros li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.product-cons { list-style: none; margin-bottom: 18px; padding: 0; }
.product-cons li {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  padding: 3px 0;
  display: flex;
  gap: 8px;
}
.product-cons li::before { content: '–'; color: #ef4444; font-weight: 700; flex-shrink: 0; }

.product-cta {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.15s;
  margin-top: auto;
}
.product-cta:hover { background: var(--accent-hover); }
.product-card.featured .product-cta { background: var(--gold); color: var(--ink) !important; }
.product-card.featured .product-cta:hover { background: var(--gold-dark); }

/* ════════════════════════════════════════════════════════════════════ */
/* CTA BLOC                                                             */
/* ════════════════════════════════════════════════════════════════════ */

.cta-block {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  margin: 52px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% -10%, rgba(201,168,76,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-block h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  position: relative;
}
.cta-block p {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  margin-bottom: 24px;
  position: relative;
}
.cta-multi {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink) !important;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.15s, transform 0.15s;
}
.cta-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }

.cta-btn-alt {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.15s;
}
.cta-btn-alt:hover { background: rgba(255,255,255,0.18); }
.cta-note { font-family: 'DM Sans', sans-serif; font-size: 12px !important; color: rgba(255,255,255,0.45) !important; margin-top: 14px !important; margin-bottom: 0 !important; }

/* ════════════════════════════════════════════════════════════════════ */
/* ÉTAPES — guides pas à pas                                           */
/* ════════════════════════════════════════════════════════════════════ */

.steps { margin: 28px 0; }

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.step-num {
  background: var(--accent);
  color: #fff;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 18px;
  min-width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 2px solid rgba(201,168,76,0.4);
}

.step-body { flex: 1; }
.step-body h3 { margin-top: 0; margin-bottom: 8px; font-size: 18px; }
.step-body p { margin-bottom: 0; font-size: 16px; font-family: 'DM Sans', sans-serif; }

/* ════════════════════════════════════════════════════════════════════ */
/* CHECKLIST                                                            */
/* ════════════════════════════════════════════════════════════════════ */

.checklist { list-style: none; margin: 20px 0 28px; padding: 0; }
.checklist li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
}
.checklist li:last-child { border-bottom: none; }
.checklist li .cl-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ════════════════════════════════════════════════════════════════════ */
/* FAQ                                                                  */
/* ════════════════════════════════════════════════════════════════════ */

.faq { margin: 52px 0; }
.faq-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-card);
}
.faq-q {
  padding: 18px 22px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: none;
  width: 100%;
  text-align: left;
  color: var(--ink);
  transition: background 0.15s;
}
.faq-q::after { content: '↓'; font-size: 14px; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open { background: var(--accent-soft); }
.faq-q.open::after { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; font-family: 'DM Sans', sans-serif; font-size: 15px; color: var(--ink-light); line-height: 1.65; display: none; }
.faq-a.open { display: block; }
.faq-a a { color: var(--accent); }

/* ════════════════════════════════════════════════════════════════════ */
/* MAILLAGE INTERNE                                                     */
/* ════════════════════════════════════════════════════════════════════ */

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.link-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(26,74,58,0.1);
}
.link-card .lc-icon { font-size: 18px; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════════ */
/* GRAPHIQUE SIMPLE — croissance du capital                            */
/* ════════════════════════════════════════════════════════════════════ */

.chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
  box-shadow: var(--shadow);
}

.chart-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.chart-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  margin-bottom: 20px;
}

/* ════════════════════════════════════════════════════════════════════ */
/* SOURCES                                                              */
/* ════════════════════════════════════════════════════════════════════ */

.sources-block {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 36px 0;
  font-size: 14px;
}

.sources-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.sources-block ul { margin: 0; padding-left: 18px; }
.sources-block li { padding: 3px 0; color: var(--ink-light); font-family: 'DM Sans', sans-serif; }
.sources-block a { color: var(--accent); text-decoration: none; font-weight: 500; }
.sources-block a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════════════════════════════ */
/* ARTICLE FOOTER                                                       */
/* ════════════════════════════════════════════════════════════════════ */

.article-footer {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 60px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                           */
/* ════════════════════════════════════════════════════════════════════ */

@media(max-width: 640px) {
  .hero { padding: 36px 16px 52px; }
  .article-body { padding: 40px 0 60px; }
  .cta-block { padding: 28px 20px; }
  .key-facts-grid { grid-template-columns: 1fr 1fr; }
  .product-cards { grid-template-columns: 1fr; }
  .step-item { gap: 14px; }
  .step-num { min-width: 36px; height: 36px; font-size: 16px; }
  .sim-card { padding: 20px; }
  .sim-inline { padding: 20px; }
  .sim-inline-result { flex-direction: column; }
}

@media(max-width: 400px) {
  .key-facts-grid { grid-template-columns: 1fr; }
}
