/* ==========================================================================
   SuivX - Feuille de Style des Guides & Articles (guide.css)
   Conformité Stricte Google Mobile-First, Touch Targets >= 44px, Anti-Zoom iOS
   ========================================================================== */

:root {
  /* Palette SuivX */
  --suivx-forest-deep: #0D3D2C;
  --suivx-forest: #134E38;
  --suivx-forest-hover: #0A2F22;
  --suivx-forest-light: #E8F5EF;
  --suivx-emerald: #10B981;
  --suivx-emerald-hover: #059669;
  --suivx-emerald-soft: rgba(16, 185, 129, 0.12);
  
  /* Neutres */
  --bg-page: #F8FAF9;
  --bg-surface: #FFFFFF;
  --bg-secondary: #F1F5F3;
  --text-main: #1E293B;
  --text-heading: #09261B;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --border-color: #E2E8F0;
  
  /* Badges */
  --badge-success-bg: #DCFCE7;
  --badge-success-text: #166534;
  --badge-amber-bg: #FEF3C7;
  --badge-amber-text: #92400E;
  --badge-indigo-bg: #EDE9FE;
  --badge-indigo-text: #5B21B6;
  --badge-blue-bg: #E0F2FE;
  --badge-blue-text: #075985;
  
  /* Rayons & Ombres */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(13, 61, 44, 0.06);
  --shadow-lg: 0 16px 36px rgba(13, 61, 44, 0.1);

  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Règle Google Mobile : Anti-zoom automatique forcé iOS Safari */
input, select, textarea, input[type="range"], input[type="number"], input[type="text"], input[type="email"] {
  font-size: 16px !important;
}

/* ==========================================================================
   BUTTONS & COMMON COMPONENTS
   ========================================================================== */
.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--suivx-forest);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.2s;
  touch-action: manipulation;
}

.btn-ghost:hover {
  background: rgba(19, 78, 56, 0.08);
}

.btn-primary {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--suivx-forest-deep);
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.btn-primary:hover {
  background: var(--suivx-forest);
}

/* ==========================================================================
   ARTICLE HERO HEADER
   ========================================================================== */
.article-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem) clamp(1.75rem, 4vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 2px;
}

.breadcrumbs a:hover {
  color: var(--suivx-forest);
}

.breadcrumbs span {
  color: #CBD5E1;
}

.article-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--badge-indigo-bg, #EDE9FE);
  color: var(--badge-indigo-text, #5B21B6);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 1rem;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.6px;
}

.article-lead {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  flex-wrap: wrap;
}

.author-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-heading);
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--suivx-forest);
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

/* ==========================================================================
   ARTICLE MAIN LAYOUT & CONTENT
   ========================================================================== */
.article-layout {
  max-width: 1180px;
  margin: clamp(2rem, 4vw, 3rem) auto clamp(3rem, 6vw, 5rem);
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 961px) {
  .article-layout {
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
  }
}

.article-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  color: var(--text-heading);
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.article-content h2:first-child,
.article-content section:first-child h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 700;
  color: var(--text-heading);
  margin: 1.75rem 0 0.75rem;
  line-height: 1.35;
}

.article-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.5rem 1.5rem;
  color: #334155;
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.timeline-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 3vw, 1.5rem);
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 600px) {
  .timeline-item {
    flex-direction: row;
    gap: 1rem;
  }
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--suivx-forest);
  min-width: 140px;
  flex-shrink: 0;
}

.callout-box {
  background: #F0FDF4;
  border-left: 4px solid var(--suivx-emerald);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.75rem 0;
  font-size: 0.95rem;
  color: #065F46;
  line-height: 1.6;
}

.callout-box strong {
  color: #064E3B;
}

.legal-disclaimer-box {
  background: var(--bg-secondary, #F1F5F3);
  border: 1px solid var(--border-color, #E2E8F0);
  border-left: 4px solid var(--text-muted, #64748B);
  border-radius: var(--radius-sm, 8px);
  padding: 1.15rem 1.35rem;
  margin: 2.25rem 0;
  font-size: 0.875rem;
  color: var(--text-muted, #64748B);
  line-height: 1.6;
}

.legal-disclaimer-box p {
  margin: 0;
}

.legal-disclaimer-box strong {
  color: var(--text-main, #1E293B);
  font-weight: 600;
}

.article-cta-box {
  background: var(--suivx-forest-deep, #0D3D2C);
  color: #FFFFFF;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-md);
  margin: 2rem 0;
  text-align: center;
  box-sizing: border-box;
}

.article-cta-box h3 {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.article-cta-box p {
  color: #CBD5E1;
  font-size: clamp(0.875rem, 2vw, 0.95rem);
  margin-bottom: 16px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta-box .btn-primary {
  background: var(--suivx-emerald, #10B981);
  color: #FFFFFF;
  font-weight: 700;
}

.article-cta-box .btn-primary:hover {
  background: var(--suivx-emerald-hover, #059669);
}

/* ==========================================================================
   TABLEAU COMPARATIF AVANT / APRÈS 2026 (HYBRIDE DESKTOP / MOBILE)
   ========================================================================== */
.table-container,
.comparison-table-wrapper,
.comparison-table-desktop {
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.comparison-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0;
  width: 100%;
}

@media (max-width: 768px) {
  .comparison-table-desktop,
  .table-container.hide-on-mobile {
    display: none !important;
  }
  .comparison-cards-mobile {
    display: flex !important;
  }
}

.comp-guide-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.comp-guide-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.comp-guide-card-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comp-guide-pill {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
  box-sizing: border-box;
}

.comp-guide-pill.before {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.comp-guide-pill.after {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-weight: 600;
}

.comp-guide-pill-lbl {
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.comp-guide-pill-lbl.before-lbl {
  color: #991B1B;
}

.comp-guide-pill-lbl.after-lbl {
  color: #059669;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

.comparison-table th {
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-color);
}

.comparison-table th:first-child {
  background: #F8FAFC;
  color: var(--text-heading);
  width: 25%;
}

.comparison-table th:nth-child(2) {
  background: #FEF2F2;
  color: #991B1B;
  width: 37.5%;
}

.comparison-table th:nth-child(3) {
  background: #ECFDF5;
  color: #065F46;
  width: 37.5%;
}

.comparison-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
  color: var(--text-main);
  line-height: 1.5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 700;
  background: #F8FAFC;
  color: var(--text-heading);
}

.comparison-table td:nth-child(2) {
  background: #FFF5F5;
  color: #7F1D1D;
}




/* ==========================================================================
   MATRICE DE DOCUMENTS COMMERCIAUX COMPARATIFS (docs-matrix-card / compare-table)
   ========================================================================== */
.docs-matrix-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: 14px;
  box-shadow: 0 4px 20px -2px rgba(13, 61, 44, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  margin: 2rem 0;
  overflow: hidden;
  box-sizing: border-box;
}

.docs-matrix-header {
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, #F8FAF9 0%, #F1F5F3 100%);
  border-bottom: 1px solid var(--border-color, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.docs-matrix-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.docs-matrix-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #E8F5EF;
  color: var(--suivx-forest, #134E38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #D1E7DD;
}

.docs-matrix-title-wrap h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading, #09261B);
  margin: 0;
  line-height: 1.3;
}

.docs-matrix-title-wrap p {
  font-size: 0.8rem;
  color: var(--text-muted, #64748B);
  margin: 2px 0 0;
  line-height: 1.35;
}

.docs-matrix-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.docs-matrix-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #1E293B;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.docs-matrix-scroll-hint {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--suivx-forest, #134E38);
  background: #E8F5EF;
  padding: 3px 8px;
  border-radius: 6px;
}

@media (max-width: 1024px) {
  .docs-matrix-scroll-hint {
    display: inline-flex;
  }
}

.docs-matrix-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  position: relative;
}

.docs-matrix-table-wrap::-webkit-scrollbar {
  height: 6px;
}
.docs-matrix-table-wrap::-webkit-scrollbar-track {
  background: #F1F5F9;
}
.docs-matrix-table-wrap::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}
.docs-matrix-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Thead */
.compare-table thead {
  background: #FAFCFB;
}

.compare-table th {
  padding: 12px 14px !important;
  font-family: var(--font-heading);
  vertical-align: top;
  border-bottom: 2px solid #E2E8F0;
  line-height: 1.3;
  box-sizing: border-box;
}

.compare-table th.col-feature {
  width: 18%;
  min-width: 145px;
  background: #F8FAFC !important;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-right: 1.5px solid #E2E8F0;
  position: sticky;
  left: 0;
  z-index: 3;
}

.compare-table th.col-doc {
  width: 20%;
  min-width: 155px;
  background: #FFFFFF;
  color: var(--text-heading, #09261B);
  font-size: 0.88rem;
  font-weight: 800;
  border-right: 1px solid #F1F5F9;
}

.compare-table th.col-bl-hero {
  width: 21%;
  min-width: 175px;
  background: #F0FDF4 !important;
  color: #14532D;
  font-size: 0.9rem;
  font-weight: 800;
  border-top: 3.5px solid var(--suivx-emerald, #10B981) !important;
  border-left: 1.5px solid #BBF7D0 !important;
  border-right: 1.5px solid #BBF7D0 !important;
}

.compare-table th:last-child {
  width: 21%;
  min-width: 180px;
}

.compare-th-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted, #64748B);
  margin-top: 3px;
  text-transform: none;
  letter-spacing: normal;
}

.compare-th-badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
  padding: 1px 7px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

/* Tbody */
.compare-table tbody tr {
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.15s ease;
}

.compare-table tbody tr:nth-child(even) td {
  background-color: #FAFCFB;
}

.compare-table tbody tr:hover td {
  background-color: #F1F8F4;
}

.compare-table td,
.compare-table th[scope="row"] {
  padding: 11px 13px !important;
  vertical-align: middle;
  line-height: 1.4;
  font-size: 0.84rem;
  color: var(--text-main, #1E293B);
  box-sizing: border-box;
  border-bottom: 1px solid #F1F5F9;
}

.compare-table th[scope="row"] {
  background: #F8FAFC !important;
  font-weight: 700;
  color: var(--text-heading, #09261B);
  border-right: 1.5px solid #E2E8F0;
  font-size: 0.84rem;
  position: sticky;
  left: 0;
  z-index: 2;
  box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.06);
}

.compare-table td {
  border-right: 1px solid #F8FAFC;
}

.compare-table td.col-bl-hero {
  background: #F4FBF7 !important;
  border-left: 1.5px solid #BBF7D0 !important;
  border-right: 1.5px solid #BBF7D0 !important;
}

.compare-table tbody tr:hover td.col-bl-hero {
  background: #E8F8EE !important;
}

.compare-table td:last-child {
  min-width: 180px;
}

/* ==========================================================================
   TABLE COMPARATIF BENCHMARK 100% (ZÉRO DÉBORDEMENT / ZÉRO SCROLL HORIZONTAL)
   ========================================================================== */
.docs-matrix-table-wrap.fitted-wrap {
  overflow-x: auto;
  max-width: 100%;
}

@media (min-width: 769px) {
  .docs-matrix-table-wrap.fitted-wrap {
    overflow-x: hidden !important;
  }
}

.compare-table.fitted-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  font-size: 0.81rem !important;
}

.compare-table.fitted-table th,
.compare-table.fitted-table td {
  padding: 10px 8px !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-height: 1.35 !important;
}

.compare-table.fitted-table th.col-feature,
.compare-table.fitted-table td.col-feature {
  width: 26% !important;
  min-width: 0 !important;
  position: static !important;
  box-shadow: none !important;
  font-size: 0.8rem !important;
}

.compare-table.fitted-table th.col-excel,
.compare-table.fitted-table td.col-excel {
  width: 21% !important;
  min-width: 0 !important;
  font-size: 0.8rem !important;
}

.compare-table.fitted-table th.col-basique,
.compare-table.fitted-table td.col-basique {
  width: 22% !important;
  min-width: 0 !important;
  font-size: 0.8rem !important;
}

.compare-table.fitted-table th.col-suivx,
.compare-table.fitted-table td.col-suivx {
  width: 31% !important;
  min-width: 0 !important;
  font-size: 0.81rem !important;
}

.compare-table.fitted-table td:last-child {
  min-width: 0 !important;
}

/* Badges & Pills */
.tbl-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.tbl-badge.badge-required {
  background: #DCFCE7;
  color: #14532D;
  border: 1px solid #BBF7D0;
}

.tbl-badge.badge-strictly-required {
  background: #14532D;
  color: #FFFFFF;
  border: 1px solid #0F3E22;
  box-shadow: 0 1px 2px rgba(20, 83, 45, 0.15);
}

.tbl-badge.badge-recommended {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.tbl-badge.badge-optional {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.tbl-badge.badge-signature {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.tbl-badge.badge-signature-hero {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-weight: 800;
}

.tbl-sub {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 3px;
  line-height: 1.3;
}

.tbl-sub.tbl-sub-legal {
  font-family: var(--font-body);
  font-weight: 600;
  color: #047857;
}

.tbl-chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 5px;
  background: #F1F5F9;
  color: #334155;
  line-height: 1.3;
}

.tbl-chip.chip-hero {
  background: #DCFCE7;
  color: #14532D;
  font-weight: 800;
  border: 1px solid #86EFAC;
}

/* ==========================================================================
   CARTES COMPARATIVES MOBILES (comp-guide-card)
   ========================================================================== */
.comp-guide-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color, #E2E8F0);
  border-radius: var(--radius-md, 12px);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.comp-guide-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color, #E2E8F0);
}

.comp-guide-num {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #E8F5EF;
  color: var(--suivx-forest, #134E38);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.comp-guide-header h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading, #09261B);
  margin: 0;
}

.comp-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.comp-guide-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 11px;
  background: #F8FAFC;
  border-radius: 8px;
  font-size: 0.84rem;
  gap: 10px;
}

.comp-guide-item.comp-guide-item-hero {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.comp-doc-badge {
  font-weight: 700;
  color: #334155;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.comp-doc-desc {
  font-size: 0.82rem;
  color: var(--text-body, #334155);
  text-align: right;
  line-height: 1.35;
  max-width: 65%;
}


/* ==========================================================================
   FORMULES DE CALCUL & TABLEAUX D'EXEMPLES
   ========================================================================== */
.formula-card {
  background: linear-gradient(135deg, #09261B 0%, #134E38 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  margin: 1.75rem 0;
  box-shadow: var(--shadow-md);
  text-align: center;
  box-sizing: border-box;
}

.formula-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #A7F3D0;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.formula-math {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: #FFFFFF;
  word-break: break-word;
}

.formula-fraction-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  vertical-align: middle;
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
}

.formula-fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  vertical-align: middle;
}

.formula-fraction-num {
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  padding: 0 10px 4px 10px;
  width: 100%;
  box-sizing: border-box;
}

.formula-fraction-den {
  padding: 4px 10px 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.formula-sub {
  font-size: clamp(0.8rem, 2vw, 0.85rem);
  color: #CBD5E1;
  margin-top: 6px;
}

/* ==========================================================================
   SIMULATEUR INTERACTIF TAUX HORAIRE & TJM
   ========================================================================== */
.simulator-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  margin: 2rem 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
}

.simulator-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.simulator-header h3 {
  margin: 0 0 6px 0;
  color: var(--text-heading);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .simulator-grid {
    grid-template-columns: 1fr;
  }
}

.simulator-inputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sim-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sim-input-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading);
  display: flex;
  justify-content: space-between;
}

.sim-input-group input[type="number"],
.sim-input-group select {
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #F8FAFC;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  width: 100%;
}

.sim-input-group input[type="number"]:focus,
.sim-input-group select:focus {
  outline: none;
  border-color: var(--suivx-forest, #134E38);
  box-shadow: 0 0 0 3px rgba(19, 78, 56, 0.15);
  background: #FFFFFF;
}

.simulator-outputs {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.sim-result-card {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(22, 101, 52, 0.15);
}

.sim-result-card.featured {
  background: var(--suivx-forest, #134E38);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(19, 78, 56, 0.25);
}

.sim-result-card.featured .sim-lbl {
  color: rgba(255, 255, 255, 0.85);
}

.sim-result-card.featured .sim-val {
  color: #FFFFFF;
}

.sim-lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sim-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #166534;
  line-height: 1.2;
}

.sim-detail-sub {
  font-size: 0.785rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sim-result-card.featured .sim-detail-sub {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SIMULATEUR DE MARGE ULTRA-PREMIUM (FINTECH / SAAS DESIGN)
   ========================================================================== */
.simulator-widget.premium {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  margin: 2.25rem 0;
  box-shadow: 0 20px 40px -15px rgba(19, 78, 56, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.simulator-widget.premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10B981 0%, #134E38 50%, #059669 100%);
}

.sim-header-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.sim-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.sim-title-group h3 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 800;
  color: var(--text-heading, #09261B);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-title-group p {
  margin: 4px 0 0 0;
  font-size: 0.88rem;
  color: var(--text-muted, #64748B);
}

/* Segmented Control Switcher */
.sim-segmented-switch {
  display: inline-flex;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.sim-segmented-btn {
  border: none;
  background: transparent;
  color: #64748B;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sim-segmented-btn:hover {
  color: #0F172A;
}

.sim-segmented-btn.active {
  background: #FFFFFF;
  color: #09261B;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Inputs Grid: 2 balanced cards on desktop, stacked on mobile */
.sim-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

@media (max-width: 680px) {
  .sim-inputs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Premium Inputs */
.sim-field-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-field-card:hover {
  border-color: #CBD5E1;
}

.sim-field-card:focus-within {
  border-color: #10B981;
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.sim-field-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sim-field-top label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E293B;
  line-height: 1.35;
}

.sim-field-top strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: #065F46;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sim-field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.sim-currency-prefix {
  position: absolute;
  left: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #94A3B8;
  pointer-events: none;
  user-select: none;
}

.sim-field-input-wrap input[type="number"] {
  width: 100%;
  padding: 12px 16px 12px 38px;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #0F172A;
  background: #FFFFFF;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sim-field-input-wrap input[type="number"]:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* Range Slider */
.sim-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #E2E8F0;
  outline: none;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.sim-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--suivx-forest, #134E38);
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.sim-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #10B981;
}

/* Quick Pills */
.sim-presets-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
  align-items: center;
}

.sim-preset-btn {
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #475569;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sim-preset-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  border-color: #94A3B8;
}

.sim-preset-btn.active {
  background: var(--suivx-forest, #134E38);
  color: #FFFFFF;
  border-color: var(--suivx-forest, #134E38);
  box-shadow: 0 2px 6px rgba(19, 78, 56, 0.25);
}

/* Hero Scoreboard & Output Cards */
.sim-outputs-panel {
  background: linear-gradient(145deg, #09261B 0%, #134E38 100%);
  border-radius: 18px;
  padding: clamp(22px, 4vw, 30px);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 16px 36px -8px rgba(9, 38, 27, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.sim-outputs-panel::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.sim-hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 18px;
}

.sim-hero-stat-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sim-hero-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #A7F3D0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-hero-number {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 2.85rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.sim-hero-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.4;
}

.sim-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 600px) {
  .sim-metrics-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.sim-metric-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  backdrop-filter: blur(8px);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s;
}

.sim-metric-box:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.sim-metric-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #D1FAE5;
}

.sim-metric-val {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.sim-metric-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Progress bar gauge */
.sim-gauge-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.sim-gauge-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.sim-gauge-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.sim-alert-banner {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  transition: all 0.2s ease;
}

/* ==========================================================================
   TABLEAUX DE DONNÉES & BAROMÈTRE BTP HAUT DE GAMME
   ========================================================================== */
.btp-table-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color, #E2E8F0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 4px 20px -2px rgba(13, 61, 44, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  margin: 2rem 0;
  overflow: hidden;
  box-sizing: border-box;
}

.btp-table-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 20px;
  background: #F8FAF9;
  border-bottom: 1px solid var(--border-color, #E2E8F0);
}

.btp-table-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--suivx-forest, #134E38);
}

.btp-table-caption {
  font-size: 0.82rem;
  color: var(--text-muted, #64748B);
  font-weight: 500;
}

.btp-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.btp-data-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: left;
  font-family: var(--font-body);
}

.btp-data-table thead {
  background: #F8FAFC;
  border-bottom: 2px solid #E2E8F0;
}

.btp-data-table th {
  padding: 11px 6px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #475569;
  line-height: 1.25;
  vertical-align: middle;
}

.btp-data-table th.text-center,
.btp-data-table td.text-center {
  text-align: center;
}

.btp-data-table tbody tr {
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.15s ease;
}

.btp-data-table tbody tr:nth-child(even) {
  background-color: #FAFCFB;
}

.btp-data-table tbody tr:hover {
  background-color: #F0FDF4 !important;
}

.btp-data-table td {
  padding: 11px 10px;
  vertical-align: middle;
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.4;
}

/* Cellule Métier */
.btp-trade-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.btp-trade-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-heading, #09261B);
  line-height: 1.3;
}

.btp-trade-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.tag-second {
  background: #E0F2FE;
  color: #0369A1;
}

.tag-gros {
  background: #FEF3C7;
  color: #92400E;
}

.tag-finition {
  background: #EDE9FE;
  color: #6D28D9;
}

/* Badges */
.btp-pill-margin {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  white-space: nowrap;
}

.btp-pill-coeff {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Taux Horaire & Référence */
.btp-rate-cell {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
  font-family: var(--font-heading);
}

.btp-rate-cell strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0F172A;
}

.btp-rate-cell .rate-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
}

.btp-ref-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.btp-ref-cell strong {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
}

.btp-ref-cell .ref-sub {
  font-size: 0.72rem;
  color: #64748B;
  white-space: nowrap;
}

/* Ligne Cible Idéale */
.btp-target-row {
  background: linear-gradient(90deg, #F0FDF4 0%, #ECFDF5 100%) !important;
  border-top: 2px solid #86EFAC !important;
  border-bottom: none !important;
}

.btp-target-row td {
  padding: 12px 10px;
}

.btp-target-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.target-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #10B981;
}

.target-main-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #065F46;
}

.target-badge-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #10B981;
  color: #FFFFFF;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.btp-pill-target {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  background: #DCFCE7;
  color: #166534;
  border: 1.5px solid #86EFAC;
  white-space: nowrap;
}

.target-rate strong {
  color: #065F46 !important;
  font-size: 0.92rem !important;
}

.target-coverage-text {
  font-weight: 700;
  font-size: 0.8rem;
  color: #065F46;
  white-space: nowrap;
}

/* Badges Facturable / Non Facturable pour Section 3 */
.btp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.btp-status-pill.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.btp-status-pill.danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.btp-highlight-cell strong {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #09261B;
}


.example-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.example-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  text-align: left;
}

.example-table th {
  background: var(--bg-secondary);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--text-heading);
  border-bottom: 2px solid var(--border-color);
}

.example-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.example-table tr:last-child td {
  font-weight: 800;
  background: #F0FDF4;
  color: #166534;
  border-bottom: none;
}

.example-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin: 1.5rem 0;
  width: 100%;
}

@media (max-width: 640px) {
  .example-table-desktop {
    display: none !important;
  }
  .example-cards-mobile {
    display: flex !important;
  }
}

.example-guide-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.example-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
  flex-wrap: wrap;
  gap: 4px;
}

.example-card-row:last-child {
  border-bottom: none;
}

.example-card-row.highlight-sub {
  background: #F8FAFC;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.example-card-row.highlight {
  background: #F0FDF4;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border-bottom: none;
}

.example-card-lbl {
  font-weight: 600;
  color: var(--text-heading);
}

.example-card-val {
  font-weight: 500;
  color: var(--text-main);
  text-align: right;
}

.example-card-val.font-bold {
  font-weight: 800;
  color: var(--suivx-forest-deep);
}

.example-card-val.badge-green {
  font-weight: 800;
  color: #166534;
}

.example-card-val.badge-blue {
  font-weight: 800;
  color: #075985;
}

/* ==========================================================================
   MAILLAGE INTERNE & LIENS RECOMMANDÉS
   ========================================================================== */
.internal-links-box {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.internal-links-box h3 {
  font-size: 1.15rem;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.internal-links-list {
  list-style: none;
  margin-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.internal-links-list a {
  color: var(--suivx-forest);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  transition: color 0.2s;
}

.internal-links-list a:hover {
  color: var(--suivx-emerald);
}

/* ==========================================================================
   SCORING PRODUIT HPC & COCKPIT CATALOGUE
   ========================================================================== */
.score-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
  width: 100%;
}

.score-card-item {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  border: 1.5px solid transparent;
  box-sizing: border-box;
}

.score-card-item.pepite {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #166534;
}

.score-card-item.equilibre {
  background: #FEF3C7;
  border-color: #FCD34D;
  color: #92400E;
}

.score-card-item.dormant {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #991B1B;
}

.score-badge {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.hpc-cockpit-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.5rem);
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(13, 61, 44, 0.08);
  box-sizing: border-box;
  width: 100%;
}

.hpc-cockpit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.hpc-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .hpc-table-desktop {
    display: none !important;
  }
  .hpc-cards-mobile {
    display: flex !important;
  }
}

.hpc-card {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.hpc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.hpc-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-color);
}

/* ==========================================================================
   DIRECT ANSWER BOX (GEO / SEARCH ENGINE AI OVERVIEWS)
   ========================================================================== */
.direct-answer-box {
  background: linear-gradient(135deg, #F0FDF4 0%, #E8F5EF 100%);
  border: 1.5px solid #A7F3D0;
  border-left: 5px solid var(--suivx-emerald);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  margin: 1.75rem 0 1.25rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
  box-sizing: border-box;
}

.direct-answer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #065F46;
  margin-bottom: 8px;
}

.direct-answer-text {
  font-size: clamp(0.95rem, 2.5vw, 1.02rem);
  font-weight: 600;
  color: #064E3B;
  line-height: 1.55;
}

/* ==========================================================================
   CHIFFRES CLÉS & STAT IMPACT CARDS
   ========================================================================== */
.stat-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
  width: 100%;
}

.stat-impact-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 1.85rem);
  font-weight: 800;
  color: #DC2626;
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   ÉTAPES DE TUTORIEL / PROCESS
   ========================================================================== */
.step-card {
  background: #F8FAF9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3.5vw, 1.5rem);
  margin: 1.25rem 0;
  border-left: 4px solid var(--suivx-forest);
  transition: transform 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--suivx-forest);
  font-size: clamp(1.05rem, 3vw, 1.15rem);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   SIMULATION UI MOCKUP MAPPING CSV
   ========================================================================== */
.mockup-container {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  margin: 2.25rem 0;
  box-shadow: 0 10px 30px rgba(13, 61, 44, 0.07);
  box-sizing: border-box;
  width: 100%;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 10px;
}

.mockup-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-badge-success {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.mapping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 12px;
  margin-bottom: 1.5rem;
}

.mapping-card {
  background: #F8FAF9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.mapping-source {
  font-size: 0.85rem;
  font-family: monospace;
  color: #475569;
}

.mapping-arrow {
  color: var(--suivx-emerald);
  font-weight: 800;
}

.mapping-target {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--suivx-forest-deep);
  background: #E8F5EF;
  padding: 3px 8px;
  border-radius: 4px;
}

.mockup-table-preview-wrapper {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.mockup-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.mockup-preview-card {
  background: #F8FAF9;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-sizing: border-box;
  width: 100%;
}

.mockup-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.badge-ready {
  background: #DCFCE7;
  color: #166534;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mockup-card-body {
  font-size: 0.82rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-card-body span {
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-table-desktop {
  display: block;
}

@media (max-width: 768px) {
  .mockup-cards-mobile {
    display: flex;
  }
  .mockup-table-desktop {
    display: none !important;
  }
}

.mockup-table-preview {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.mockup-table-preview th {
  background: #F1F5F3;
  padding: 8px 12px;
  font-weight: 700;
  text-align: left;
  color: #475569;
  border-bottom: 1px solid #E2E8F0;
}

.mockup-table-preview td {
  padding: 8px 12px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
}

.mockup-table-preview tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   BAROMÈTRE DES MARGES BTP
   ========================================================================== */
.barometer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem;
  width: 100%;
}

.barometer-card {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: transform 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.barometer-card:hover {
  transform: translateY(-2px);
  border-color: var(--suivx-emerald);
  background: #FFFFFF;
}

.barometer-metier {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--suivx-forest);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.barometer-stat {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 5px;
}

.barometer-stat strong {
  color: var(--text-heading);
}

.highlight-target {
  background: #F0FDF4;
  font-weight: 600;
}

.badge-target {
  display: inline-block;
  background: var(--suivx-emerald);
  color: #FFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
}

/* ==========================================================================
   CHAÎNE COMMERCIALE WORKFLOW STEPS
   ========================================================================== */
.workflow-chain-box {
  background: linear-gradient(145deg, #FFFFFF 0%, var(--suivx-forest-light) 100%);
  border: 1.5px solid #C8E6D4;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2rem);
  margin: 2.25rem 0;
  box-shadow: 0 4px 20px rgba(13, 61, 44, 0.06);
  box-sizing: border-box;
}

.workflow-chain-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3vw, 1.15rem);
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  width: 100%;
}

.workflow-step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, border-color 0.2s;
  box-sizing: border-box;
}

.workflow-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--suivx-emerald);
}

.workflow-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--suivx-forest);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.workflow-step-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.workflow-step-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.5;
}

/* ==========================================================================
   MODÈLES DE COURRIERS ET EMAILS DE RELANCE
   ========================================================================== */
.template-box {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.75rem 0;
  position: relative;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E2E8F0;
  flex-wrap: wrap;
  gap: 10px;
}

.template-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--suivx-forest);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-copy-template {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-copy-template:hover {
  background: var(--suivx-forest-light);
  color: var(--suivx-forest);
  border-color: var(--suivx-emerald);
}

.template-body {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  color: #0F172A;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ==========================================================================
   GRAND CTA SECTION DE CONVERSION (VERT FORÊT PROFOND)
   ========================================================================== */
.grand-cta-section {
  background: linear-gradient(145deg, var(--suivx-forest-deep) 0%, #082017 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.25rem);
  margin: 3.5rem 0 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.grand-cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.article-content .grand-cta-section h2,
.grand-cta-section .grand-cta-title,
.grand-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 4vw, 1.85rem) !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  padding-top: 0 !important;
  border-top: none !important;
  line-height: 1.3 !important;
}

.article-content .grand-cta-section p,
.grand-cta-section .grand-cta-subtitle,
.grand-cta-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem) !important;
  color: #E2E8F0 !important;
  max-width: 680px;
  margin: 0 auto 1.75rem !important;
  line-height: 1.6;
}

.reassurance-badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.reassurance-badge-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  box-sizing: border-box;
}

.btn-grand-cta {
  background: var(--suivx-emerald);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  touch-action: manipulation;
  box-sizing: border-box;
}

.btn-grand-cta:hover {
  background: var(--suivx-emerald-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.grand-cta-guarantee {
  font-size: 0.825rem;
  color: #94A3B8;
  margin-top: 1rem;
}

/* ==========================================================================
   CHECKLIST D'ACTION 4 ÉTAPES
   ========================================================================== */
.action-checklist-box {
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin: 1.75rem 0 2rem;
  box-sizing: border-box;
}

.action-checklist-title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.action-checklist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.action-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #ECFDF5;
  border: 2px solid #10B981;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   STICKY SIDEBAR (TOC & CTA)
   ========================================================================== */
.sticky-sidebar {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 961px) {
  .sticky-sidebar {
    position: sticky;
    top: 90px;
  }
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 1rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  border-radius: 6px;
  line-height: 1.4;
}

.toc-list a:hover {
  color: var(--suivx-forest);
  background: var(--suivx-forest-light);
  font-weight: 600;
}

.sidebar-cta {
  background: linear-gradient(145deg, #091C14 0%, #133E2B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-sizing: border-box;
}

.sidebar-cta h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.sidebar-cta p {
  font-size: 0.875rem;
  color: #CBD5E1;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.btn-sidebar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  background: #FFFFFF;
  color: var(--suivx-forest-deep);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  touch-action: manipulation;
}

.btn-sidebar:hover {
  background: #F8FAF9;
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER STANDARD DU SITE (Structure Premium SaaS & Responsive)
   ========================================================================== */
footer {
  background: var(--bg-surface-secondary, #F4F8F5);
  border-top: 1px solid var(--border-color, #D8E8DF);
  padding: 64px 32px 36px;
  box-sizing: border-box;
  width: 100%;
}

.f-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 28px;
  max-width: 1200px;
  margin: 0 auto 48px;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .f-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .f-grid {
    grid-template-columns: 1.6fr 1fr 1.15fr 0.95fr 1.15fr;
    gap: 40px 28px;
  }
  .f-grid:has(> :last-child:nth-child(4)),
  .f-grid-4 {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
}

.f-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.f-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--suivx-forest-deep, #1A4731);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.f-logo .f-logo-text {
  display: inline;
  white-space: nowrap;
  color: var(--suivx-forest-deep, #1A4731);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.f-logo .f-logo-text span,
.f-logo span {
  color: var(--suivx-emerald, #2D7A4F);
}

.f-desc {
  font-size: 13.5px;
  color: var(--text-muted, #556B60);
  line-height: 1.6;
  max-width: 290px;
  margin: 0 0 16px 0;
}

.f-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid #D5E5DC;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--suivx-forest-deep, #1A4731);
  box-shadow: 0 1px 3px rgba(26, 71, 49, 0.04);
}

.f-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  display: inline-block;
  flex-shrink: 0;
}

.f-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.f-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--suivx-forest-deep, #1A4731);
  margin: 0 0 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.f-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted, #556B60);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.4;
  transition: color 0.18s ease, transform 0.18s ease;
  box-sizing: border-box;
}

.f-col a:hover {
  color: var(--suivx-forest-deep, #1A4731);
  transform: translateX(3px);
}

.f-badge {
  display: inline-block;
  padding: 1px 7px;
  background: rgba(16, 185, 129, 0.14);
  color: #0E6245;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.f-bottom {
  border-top: 1px solid var(--border-color, #D8E8DF);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--text-muted, #6B7C72);
}

@media (min-width: 768px) {
  .f-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.f-bottom-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.f-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.f-bottom-right span {
  display: inline-flex;
  align-items: center;
}

.f-bottom-sep {
  color: #CBD5E1;
  user-select: none;
}

/* ==========================================================================
   SUIVX REALISTIC IMPORT CSV MOCKUP (STEPPER, DATA CARDS & MAPPING)
   ========================================================================== */
.suivx-import-window {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 10px 30px rgba(13, 61, 44, 0.06);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  box-sizing: border-box;
  width: 100%;
}

.suivx-import-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 12px;
}

.suivx-import-app-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.suivx-import-org-badge {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.suivx-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
  position: relative;
  flex-wrap: wrap;
}

.suivx-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94A3B8;
}

.suivx-step-item.active {
  color: var(--suivx-forest-deep, #1A4731);
  font-weight: 800;
}

.suivx-step-item.completed {
  color: #16A34A;
}

.suivx-step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.suivx-step-item.active .suivx-step-circle {
  background: var(--suivx-forest-deep, #1A4731);
  color: #FFFFFF;
}

.suivx-step-item.completed .suivx-step-circle {
  background: #DCFCE7;
  color: #16A34A;
}

.suivx-data-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 1.25rem;
}

.suivx-data-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.suivx-data-card:hover,
.suivx-data-card.selected {
  border-color: var(--suivx-forest, #2D6A4F);
  background: #F8FAF9;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.08);
}

.suivx-data-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--suivx-forest-deep, #1A4731);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.suivx-data-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-heading);
  margin: 0 0 4px 0;
}

.suivx-data-card p {
  font-size: 0.8rem;
  color: #64748B;
  margin: 0;
}

.suivx-mapping-table-wrapper {
  overflow-x: auto;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #FFFFFF;
  margin-top: 1rem;
  -webkit-overflow-scrolling: touch;
}

.suivx-mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 600px;
}

.suivx-mapping-table th {
  background: #F8FAFC;
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #475569;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
}

.suivx-mapping-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  color: #1E293B;
  vertical-align: middle;
}

.suivx-mapping-select {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--suivx-forest-deep, #1A4731);
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
}
