/* ══════════════════════════════════════════════════════════════
   FidWallet — Système typographique partagé
   Injecté sur les pages /blog et /secteurs uniquement.
   NE PAS importer ailleurs.
   ══════════════════════════════════════════════════════════════ */

/* ── 1. HERO ARTICLE ─────────────────────────────────────────── */
.blog-article-hero-green {
  background: #3d6b5a;
  padding: 72px 80px;
  text-align: center;
}
.blog-article-hero-eyebrow {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.blog-article-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 20px;
}
.blog-article-hero-title em {
  font-style: italic;
  color: #e8c547;
}

/* ── 2. LIEN "← Tous les articles" ──────────────────────────── */
.blog-back {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #3d6b5a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  transition: color .15s;
}
.blog-back:hover { text-decoration: underline; }
.blog-back svg { width: 14px; height: 14px; }

/* ── 3. META (date + auteur) ─────────────────────────────────── */
.blog-article-meta {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #9a9a8f;
  letter-spacing: 0.05em;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.blog-article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.blog-article-meta svg { width: 14px; height: 14px; color: #9a9a8f; }

/* ── 4. DESCRIPTION INTRO ───────────────────────────────────── */
.blog-article-desc {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  font-weight: 300;
  color: #9a9a8f;
  line-height: 1.6;
  font-style: italic;
  max-width: 600px;
  margin: 0;
}

/* ── 5. CONTENU ARTICLE ─────────────────────────────────────── */
.blog-article-content {
  max-width: 680px;
  margin: 0 auto;
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: #58584f;
}

/* H2 */
.blog-article-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: #1c1c1a;
  border-bottom: 2px solid #e8c547;
  padding-bottom: 10px;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* H3 */
.blog-article-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #3d6b5a;
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Paragraphes */
.blog-article-content p { margin: 0 0 20px; }

/* Bold inline */
.blog-article-content strong {
  font-weight: 600;
  color: #1c1c1a;
}

/* Liens */
.blog-article-content a {
  color: #3d6b5a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Listes UL */
.blog-article-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px;
}
.blog-article-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.blog-article-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #3d6b5a;
  font-weight: 500;
}

/* Listes OL */
.blog-article-content ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.blog-article-content ol li { margin-bottom: 8px; }

/* Blockquote */
.blog-article-content blockquote {
  border-left: 3px solid #3d6b5a;
  background: #e8f0ec;
  margin: 32px 0;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  font-weight: 300;
  color: #58584f;
  font-style: italic;
}

/* Images */
.blog-article-content img {
  width: 100%;
  border-radius: 14px;
  margin: 32px 0;
  border: 1px solid #e8e6df;
}

/* ── 6. TABLEAUX ────────────────────────────────────────────── */
.blog-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: 12px;
  border: 1px solid #e8e6df;
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Geist', sans-serif;
}
.blog-table thead tr { background: #3d6b5a; }
.blog-table thead th {
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 13px 16px;
  text-align: left;
}
.blog-table tbody tr { border-bottom: 1px solid #e8e6df; }
.blog-table tbody tr:last-child { border-bottom: none; }
.blog-table tbody tr:hover { background: #faf9f6; }
.blog-table td {
  font-weight: 300;
  font-size: 14px;
  color: #58584f;
  padding: 12px 16px;
}
.blog-table td:first-child { font-weight: 500; color: #1c1c1a; }

/* ── 7. CARTES /blog ─────────────────────────────────────────── */
.blog-card {
  background: #ffffff;
  border: 1px solid #e8e6df;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.blog-card:hover {
  box-shadow: 0 8px 28px rgba(61,107,90,0.1);
  transform: translateY(-2px);
}
.blog-card-img-placeholder {
  height: 200px;
  background: #e8f0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px 14px 0 0;
}
.blog-card-body { padding: 20px; }
.blog-card-meta {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #9a9a8f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
  align-items: center;
}
.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card-meta svg { width: 12px; height: 12px; }
.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1c1c1a;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.blog-card-excerpt {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #9a9a8f;
  line-height: 1.6;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-link {
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #3d6b5a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card-link:hover { text-decoration: underline; }
.blog-card-link svg { width: 13px; height: 13px; }

/* ── 8. CTA FIN D'ARTICLE ───────────────────────────────────── */
.blog-article-cta {
  max-width: 680px;
  margin: 56px auto 0;
}
.blog-article-cta-inner {
  background: #3d6b5a;
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}
/* Reset h2 inside CTA (ne pas hériter du style contenu) */
.blog-article-cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.blog-article-cta-inner h2 em { font-style: italic; }
.blog-article-cta-inner p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin: 0 0 24px;
}
.blog-article-cta-inner .btn-primary,
.blog-article-cta-inner a[href="/register"] {
  background: #e8c547;
  color: #1c1c1a;
  border: none;
  border-radius: 9px;
  padding: 13px 28px;
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background .15s;
}
.blog-article-cta-inner .btn-primary:hover,
.blog-article-cta-inner a[href="/register"]:hover {
  background: #d4b030;
}

/* ── 9. SECTEURS — section headers ──────────────────────────── */
.secteur-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #1c1c1a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.secteur-section-header h2 em {
  font-style: italic;
  color: #3d6b5a;
}
.secteur-section-header p {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #9a9a8f;
  line-height: 1.6;
}

/* ── 10. SECTEURS — feature cards ───────────────────────────── */
.secteur-feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #1c1c1a;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.secteur-feature-card p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #58584f;
  line-height: 1.65;
  margin: 0;
}

/* ── 11. SECTEURS — steps ───────────────────────────────────── */
.secteur-step h3 {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1c1c1a;
  margin: 0 0 8px;
}
.secteur-step p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #58584f;
  line-height: 1.65;
  margin: 0;
}

/* ── 12. SECTEURS — FAQ ─────────────────────────────────────── */
.secteur-faq-item h3 {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1c1c1a;
  margin: 0 0 8px;
}
.secteur-faq-item p {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #58584f;
  line-height: 1.65;
  margin: 0;
}

/* ── 13. SECTEURS — stats ───────────────────────────────────── */
.secteur-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #3d6b5a;
  letter-spacing: -0.02em;
  line-height: 1;
}
.secteur-stat-label {
  font-family: 'Geist', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #9a9a8f;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

/* ── 14. SECTEURS — hero ────────────────────────────────────── */
.secteur-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
}
.secteur-hero h1 em {
  font-style: italic;
  font-weight: 800;
}
.secteur-hero p {
  font-family: 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}
.secteur-label {
  font-family: 'Geist', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── 15. SECTEURS — CTA final ───────────────────────────────── */
.secteur-cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.secteur-cta-inner p {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-article-hero-green { padding: 48px 24px; }
  .blog-article-cta-inner { padding: 32px 24px; }
  .blog-article-cta-inner h2 { font-size: 22px; }
}
@media (max-width: 480px) {
  .blog-article-hero-green { padding: 40px 16px; }
}
