/* choisirunsecretariatsocial.be — feuille de style unique, pas de build
   Identité « Registre » : l'esthétique du listing de paie.
   Papier chaud, filets 1 px, chiffres tabulaires, agréments en chasse fixe,
   rouge de tampon administratif comme seule couleur d'action.
   Aucune ombre portée, aucun dégradé, aucun coin arrondi. */

/* Polices auto-hébergées — aucune requête tierce, rien à arbitrer côté consentement */
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/plexmono-400-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/plexmono-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/plexmono-500-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/plexmono-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/plexsans-400-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/plexsans-400.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/plexsans-600-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/plexsans-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/zillaslab-600-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/zillaslab-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/zillaslab-700-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/zillaslab-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  /* Papier */
  --papier: #f6f5f0;
  --papier-2: #ecebe3;
  --surface: #ffffff;

  /* Encre */
  --encre: #1e1c18;
  --encre-2: #57534a;
  --encre-3: #6f6959;

  /* Filets */
  --filet: #d6d3c8;
  --filet-2: #e4e1d6;

  /* Tampon — seule couleur d'action */
  --rouge: #a82f1c;
  --rouge-fonce: #86230f;
  --rouge-pale: #f6e9e5;
  --rouge-filet: #e3c6bd;

  /* Sémantique sobre : états, pas décoration */
  --vert: #3f6b4a;
  --vert-pale: #eaefe6;
  --vert-filet: #c9d7c4;
  --ambre: #8a6412;
  --ambre-pale: #f6efdd;
  --ambre-filet: #e0d0a8;
  --or: #8c6109;

  /* Compatibilité : anciens jetons encore référencés ici et là */
  --navy-dark: #1e1c18;
  --navy: #1e1c18;
  --navy-light: #57534a;
  --green: #a82f1c;
  --green-light: #c9a08f;
  --ink: #1e1c18;
  --muted: #57534a;
  --border: #d6d3c8;
  --bg: #f6f5f0;
  --white: #ffffff;

  --radius: 0;
  --shadow: none;
  --hero-gradient: none;

  --serif: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--encre);
  background: var(--papier);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; transition: color 0.12s, border-color 0.12s, background 0.12s; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

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

/* Libellé de service : chasse fixe, capitales espacées. Utilisé partout où
   le site nomme une rubrique plutôt qu'il ne raconte quelque chose. */
.eyebrow,
.tag-label,
.footer-newsletter-label,
.footer-col h4,
.forum-qa-label,
.guide-sommaire-title,
.guide-sources-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  background: var(--papier);
  color: var(--encre);
  border-bottom: 3px double var(--encre);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 16px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-decoration: none;
}
.logo-line1 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.logo-line2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--encre);
}
.logo-line2 .tld {
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--rouge);
  margin-left: 0;
}
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none;
  color: var(--encre-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: var(--encre); border-bottom-color: var(--rouge); }
.btn-header {
  background: var(--rouge);
  color: var(--surface);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 18px;
  text-decoration: none;
  text-align: center;
}
.btn-header:hover { background: var(--encre); color: var(--papier); }

/* Hero */
.hero {
  background: var(--papier);
  color: var(--encre);
  padding: 52px 0 56px;
  border-bottom: 1px solid var(--filet);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--filet);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-2);
  margin-bottom: 24px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 0; background: var(--rouge); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.1vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin: 0 0 18px;
  max-width: 20ch;
  text-wrap: balance;
}
.hero p.lead {
  color: var(--encre-2);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 28px;
  border-top: 1px solid var(--filet);
  padding-top: 18px;
}
.hero .cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 0;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--rouge); color: var(--surface); border-color: var(--rouge); }
.btn-primary:hover { background: var(--rouge-fonce); border-color: var(--rouge-fonce); }
.btn-outline { border-color: var(--encre); color: var(--encre); background: none; }
.btn-outline:hover { background: var(--encre); color: var(--papier); }

/* Hero split (deux colonnes : contenu + formulaire embarqué) */
.hero-split { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 44px; align-items: start; }
.hero-stats-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--filet);
}
.hero-stats-inline .stat {
  padding: 16px 20px 2px;
  border-right: 1px solid var(--filet);
}
.hero-stats-inline .stat:first-child { padding-left: 0; }
.hero-stats-inline .stat:last-child { border-right: none; }
@media (max-width: 520px) {
  .hero-stats-inline { grid-template-columns: 1fr; }
  .hero-stats-inline .stat { padding: 12px 0; border-right: none; border-bottom: 1px solid var(--filet); }
  .hero-stats-inline .stat:last-child { border-bottom: none; }
}
.hero-stats-inline .stat .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
  display: block;
}
.hero-stats-inline .stat .label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-top: 7px;
  display: block;
  line-height: 1.5;
}
.hero-form-card { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
}

/* Stats */
.stats,
.stats-secondary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  border: 1px solid var(--filet);
  background: var(--papier-2);
}
.stats { grid-template-columns: repeat(3, 1fr); }
.stat-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid var(--filet);
  padding: 22px 24px;
  text-align: left;
}
.stat-card:last-child { border-right: none; }
.stat-card .num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
}
.stats-secondary .stat-card .num { color: var(--encre); font-size: 1.75rem; }
.stat-card .label {
  font-family: var(--mono);
  color: var(--encre-3);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.6;
  margin-top: 9px;
}

/* Sections */
.section { padding: 60px 0; }
.section-bg { background: var(--surface); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.eyebrow {
  color: var(--rouge);
  margin: 0 0 12px;
  display: block;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
  vertical-align: 0.28em;
  margin-right: 10px;
}
.section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--encre);
  text-wrap: balance;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--encre);
  flex-wrap: wrap;
}
.section-head .link {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rouge);
  text-decoration: none;
  white-space: nowrap;
}
.section-head .link:hover { color: var(--encre); }

/* Cards grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Fiche organisme */
.org-card {
  background: var(--surface);
  border: 1px solid var(--filet);
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.org-card .top-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--filet-2);
  background: var(--papier);
}
.org-card > *:not(.top-row) { margin: 0 18px; }
.org-card > .org-desc { margin-top: 14px; }
.org-card > .btn { margin: 14px 18px 18px; }
.org-card > .org-badges { margin-top: 12px; }
.org-card > .org-price { margin-top: 12px; }
.org-avatar {
  width: 46px; height: 46px; border-radius: 0;
  background: var(--encre);
  color: var(--papier);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--serif);
}
.org-card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.org-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin: 3px 0 0;
}
.org-badges { display: flex; gap: 6px; flex-wrap: wrap; }

/* Étiquettes — rectangulaires, en chasse fixe. Jamais de gélule. */
.pill,
.guide-tag,
.source-pill,
.forum-category-pill,
.guide-level,
.guide-badge-critical,
.guide-dimona-badge,
.guide-transfert-arrow-badge {
  display: inline-block;
  background: var(--papier-2);
  border: 1px solid var(--filet);
  color: var(--encre-2);
  border-radius: 0;
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  text-decoration: none;
}
.pill-green { background: var(--vert-pale); border-color: var(--vert-filet); color: var(--vert); }
.org-desc { color: var(--encre-2); font-size: 0.95rem; flex-grow: 1; }
.org-price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
}
.org-card .btn { text-align: center; }

/* Guides */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--filet);
  border-radius: 0;
  padding: 20px 22px 22px;
  position: relative;
}
.guide-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  transition: color 0.12s;
}
.guide-card p { color: var(--encre-2); font-size: 0.92rem; margin: 0; }
a.guide-card { display: block; }
a.guide-card::after {
  content: "→";
  font-family: var(--mono);
  color: var(--rouge);
  opacity: 0;
  position: absolute;
  right: 20px;
  bottom: 18px;
  transition: opacity 0.12s;
}
a.guide-card:hover { border-color: var(--encre); }
a.guide-card:hover::after { opacity: 1; }
a.guide-card:hover h3 { color: var(--rouge); }

/* Formulaire — traité en formulaire officiel */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--encre);
  border-radius: 0;
  box-shadow: none;
  padding: 0 22px 24px;
  max-width: 560px;
}
.form-wrap h2 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 -22px 0;
  padding: 11px 22px;
  background: var(--encre);
  color: var(--papier);
}
.required-note {
  font-family: var(--mono);
  color: var(--encre-3);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  margin: 14px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--filet-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
label:not(.consent) {
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--encre-3);
}
input, select, textarea {
  border: 1px solid var(--filet);
  border-radius: 0;
  padding: 11px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--encre);
  background: var(--surface);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rouge); outline-offset: 0; border-color: var(--rouge); }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--sans);
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: var(--encre-2); margin: 18px 0; line-height: 1.55;
  border-top: 1px solid var(--filet-2); padding-top: 16px;
}
.consent input { width: 16px; height: 16px; margin-top: 3px; }
.consent a { color: var(--rouge); font-weight: 600; }
.consent a:hover { color: var(--encre); }
.form-note {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--encre-3);
  text-align: center;
  margin-top: 14px;
}
.form-status { font-size: 0.88rem; margin-top: 14px; display: none; }
.form-status.success { color: var(--vert); display: block; }
.form-status.error { color: var(--rouge); display: block; }

/* Étapes */
.steps { display: flex; justify-content: space-between; gap: 0; margin: 36px 0; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 180px; text-align: left;
  padding: 0 20px;
  border-left: 1px solid var(--filet);
}
.step:first-child { padding-left: 0; border-left: none; }
.step .num-circle {
  width: auto; height: auto; border-radius: 0;
  background: none; color: var(--rouge);
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin: 0 0 8px;
}
.step .num-circle::before { content: "Étape "; }
.cta-final {
  background: var(--encre);
  color: var(--papier);
  border-radius: 0;
  padding: 48px 40px;
  text-align: left;
}
.cta-final h2 { color: var(--papier); font-family: var(--serif); font-size: 1.9rem; margin: 0 0 10px; }
.cta-final p { color: #b3ac9d; max-width: 52ch; }
.cta-final .step { border-left-color: #3d3931; }
.cta-final .step .num-circle { background: none; color: #c9a08f; }
.cta-final .step p { color: #b3ac9d; margin: 0; }
.cta-final .btn-primary { background: var(--papier); color: var(--encre); border-color: var(--papier); }
.cta-final .btn-primary:hover { background: var(--rouge); color: var(--surface); border-color: var(--rouge); }

/* Fiche détaillée */
.detail-hero {
  background: var(--papier);
  color: var(--encre);
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--encre);
}
.detail-hero h1 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.018em; margin: 0 0 10px; }
.breadcrumb {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--encre-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--rouge); }
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  align-items: stretch;
  margin: 0 0 60px;
  position: relative;
  z-index: 2;
}
.detail-main, .detail-side {
  background: var(--surface);
  border: 1px solid var(--filet);
  border-radius: 0;
  box-shadow: none;
  padding: 28px 30px;
}
.detail-side { border-left: none; }
.detail-main h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--filet);
}
.detail-main h2:first-child { margin-top: 0; }
.detail-main > p > a, .detail-main li > a { color: var(--rouge); font-weight: 600; }
.detail-main > p > a:hover, .detail-main li > a:hover { color: var(--encre); }
.parent-note {
  background: var(--papier-2);
  border: 1px solid var(--filet);
  border-left: 3px solid var(--rouge);
  border-radius: 0;
  padding: 13px 16px;
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.parent-note a { color: var(--rouge); font-weight: 700; }

/* Fiche organisme enrichie */
.org-logo {
  width: 62px; height: 62px; border-radius: 0;
  background: var(--surface);
  border: 1px solid var(--filet);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.org-logo img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }
/* Logo Sodiwe : blanc + vert, prévu pour fond foncé — fond d'encre dédié pour rester lisible */
.org-logo:has(img[src*="/logos/sodiwe."]) { background: var(--encre); }
.browse-card-logo-img:has(img[src*="/logos/sodiwe."]) { background: var(--encre); }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0;
  margin: 20px 0;
  border: 1px solid var(--filet);
}
.mini-stat {
  background: var(--papier);
  border: none;
  border-right: 1px solid var(--filet);
  border-radius: 0;
  padding: 13px 15px;
}
.mini-stat:last-child { border-right: none; }
.mini-stat.highlight { background: var(--rouge-pale); }
.mini-stat .num {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
  display: block;
}
.mini-stat.highlight .num { color: var(--rouge); }
.mini-stat .label {
  font-family: var(--mono);
  color: var(--encre-3);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-top: 5px;
  display: block;
}
.trust-badges {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-top: 14px;
}
.trust-badges span:not(:last-child)::after { content: "·"; margin-left: 8px; color: var(--filet); }
.tag-group { margin: 18px 0; }
.tag-group .tag-label { color: var(--encre-3); display: block; margin-bottom: 8px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.info-table tr { border-bottom: 1px solid var(--filet-2); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td { text-align: left; padding: 9px 0; vertical-align: top; }
.info-table th {
  font-family: var(--mono);
  color: var(--encre-3);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 500;
  width: 40%;
  padding-top: 12px;
}
.info-table td { font-variant-numeric: tabular-nums; }
.info-table a { color: var(--rouge); font-weight: 600; text-decoration: none; }
.info-table a:hover { text-decoration: underline; }
.source-note {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--encre-3);
  margin-top: 6px;
}
.source-list { font-size: 0.78rem; color: var(--encre-3); word-break: break-all; }
.source-list a { color: var(--encre-3); }

/* Filtres annuaire */
.filters {
  background: var(--surface);
  border: 1px solid var(--encre);
  border-radius: 0;
  padding: 20px 22px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.filters .field label { margin-bottom: 3px; }
.filters-reset { grid-column: 1 / -1; text-align: right; }
.filters-reset button {
  background: none; border: none; color: var(--rouge);
  font-family: var(--mono);
  font-weight: 500; font-size: 0.68rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  cursor: pointer; text-decoration: underline;
}
.filters-reset button:hover { color: var(--encre); }
.no-results { text-align: center; color: var(--encre-2); padding: 40px 0; display: none; }

/* Listes générées (réseaux / villes) */
.browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--filet);
  border-left: 1px solid var(--filet);
}
.browse-card {
  background: var(--surface);
  border: none;
  border-right: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  border-radius: 0;
  padding: 15px 17px;
  text-decoration: none;
  color: var(--encre);
  transition: background 0.12s;
}
.browse-card:hover { background: var(--papier-2); }
.browse-card .browse-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--encre);
  display: block;
  margin-bottom: 3px;
}
.browse-card:hover .browse-title { color: var(--rouge); }
.browse-card .browse-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--encre-3);
}
.browse-card-logo { display: flex; align-items: center; gap: 12px; }
.browse-card-logo-img {
  width: 40px; height: 40px; border-radius: 0; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--filet);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.browse-card-logo-img img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.branch-list { list-style: none; padding: 0; margin: 0; }
.branch-list li { border-bottom: 1px solid var(--filet-2); padding: 11px 0; }
.branch-list li:last-child { border-bottom: none; }
.branch-list a { color: var(--rouge); font-weight: 600; text-decoration: none; }
.branch-list a:hover { text-decoration: underline; }
.branch-list .branch-addr {
  font-family: var(--mono);
  color: var(--encre-3);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.org-map {
  height: 380px; width: 100%;
  border-radius: 0;
  border: 1px solid var(--filet);
  margin: 4px 0 24px;
  background: var(--papier-2);
  filter: saturate(0.55);
}
.org-map .leaflet-popup-content { font-family: var(--sans); font-size: 0.85rem; }
.org-map .leaflet-popup-content a { color: var(--rouge); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--encre);
  color: #b3ac9d;
  padding: 52px 0 26px;
  font-size: 0.88rem;
  border-top: 3px double var(--encre);
}
.site-footer .logo-line1 { color: #8d8677; }
.site-footer .logo-line2 { color: var(--papier); }
.site-footer .logo-line2 .tld { color: #c9a08f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.footer-col-brand .logo { margin-bottom: 14px; }
.footer-col-brand p { color: #948d7e; font-size: 0.86rem; line-height: 1.65; margin: 0; max-width: 280px; }
.footer-newsletter { margin-top: 20px; max-width: 280px; }
.footer-newsletter-label { color: var(--papier); display: block; margin-bottom: 10px; }
.footer-newsletter-row { display: flex; gap: 8px; }
.footer-newsletter-row input[type="email"] {
  flex: 1; min-width: 0;
  border: 1px solid #3d3931; border-radius: 0;
  padding: 10px 12px; font-size: 0.85rem;
  background: #262320; color: var(--papier);
}
.footer-newsletter-row input[type="email"]::placeholder { color: #948d7e; }
.footer-newsletter-row input[type="email"]:focus { outline: 2px solid #c9a08f; outline-offset: 0; border-color: #c9a08f; }
.footer-newsletter-row button { flex-shrink: 0; padding: 10px 14px; font-size: 0.68rem; }
.footer-newsletter-status { font-size: 0.76rem; margin: 8px 0 0; min-height: 1em; }
.footer-newsletter-status.success { color: #a3c0a8; }
.footer-newsletter-status.error { color: #e0a99f; }
.footer-col h4 { color: var(--papier); margin: 0 0 15px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #b3ac9d; text-decoration: none; }
.footer-col a:hover { color: var(--papier); }
.footer-bottom {
  border-top: 1px solid #3d3931;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: #948d7e;
}
/* Compat rétro (anciennes pages non régénérées) */
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 20px; }
.footer-links a { color: #b3ac9d; text-decoration: none; }
.footer-links a:hover { color: var(--papier); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .stats, .stats-secondary, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--filet); }
  .stat-card:last-child { border-bottom: none; }
  .hero h1 { font-size: 2.1rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { border-left: 1px solid var(--filet); border-top: none; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; }
  .steps { flex-direction: column; }
  .step { border-left: none; padding: 0; border-top: 1px solid var(--filet); padding-top: 14px; }
  .step:first-child { border-top: none; }
  .cta-final .step { border-top-color: #3d3931; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; }
}

/* ===== Guides riches (article long format) ===== */
.guide-wrap { background: var(--papier); }
.guide-hero {
  background: var(--papier);
  color: var(--encre);
  padding: 40px 0 34px;
  border-bottom: 1px solid var(--encre);
}
.guide-hero-inner { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.guide-meta-bar {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.guide-sep { opacity: 0.45; }
.guide-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.guide-hero > .guide-hero-inner > p {
  color: var(--encre-2);
  font-size: 1.05rem;
  max-width: 62ch;
  border-top: 1px solid var(--filet);
  padding-top: 16px;
}
.guide-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 26px;
  border: 1px solid var(--filet);
  background: var(--papier-2);
}
.guide-hero-stat {
  background: none;
  border: none;
  border-right: 1px solid var(--filet);
  border-radius: 0;
  padding: 15px 18px;
  text-align: left;
}
.guide-hero-stat:last-child { border-right: none; }
.guide-hero-stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--encre);
}
.guide-hero-stat span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--encre-3);
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}

.guide-body { max-width: 820px; margin: 0 auto; padding: 40px 24px 0; font-size: 1.02rem; }
.guide-body p { max-width: 68ch; }
.guide-sommaire {
  background: var(--surface);
  border: 1px solid var(--encre);
  border-radius: 0;
  padding: 0 22px 20px;
  margin-bottom: 32px;
}
.guide-sommaire-title {
  color: var(--papier);
  background: var(--encre);
  margin: 0 -22px 16px;
  padding: 10px 22px;
}
.guide-sommaire ol { margin: 0; padding-left: 20px; columns: 2; gap: 26px; font-size: 0.94rem; }
.guide-sommaire li { margin-bottom: 6px; break-inside: avoid; }
.guide-sommaire a { color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--filet); }
.guide-sommaire a:hover { color: var(--rouge); border-bottom-color: var(--rouge); }

.guide-simulateur {
  background: var(--encre);
  color: var(--papier);
  border-radius: 0;
  padding: 28px 30px;
  margin-bottom: 40px;
}
.guide-simulateur-title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.guide-simulateur-note {
  font-family: var(--mono);
  color: #948d7e;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #3d3931;
}
.guide-simulateur-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.guide-simulateur-field label { display: block; margin-bottom: 5px; color: #948d7e; }
.guide-simulateur-field input, .guide-simulateur-field select {
  width: 100%;
  border: 1px solid #3d3931;
  background: #262320;
  color: var(--papier);
  border-radius: 0;
  padding: 11px 12px;
  font-size: 0.95rem;
}
.guide-simulateur-result { background: #262320; border-radius: 0; padding: 18px 20px; }
.guide-sim-ligne {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid #3d3931;
  font-size: 0.9rem; color: #b3ac9d;
  font-variant-numeric: tabular-nums;
}
.guide-sim-ligne-minus strong { color: #e0a99f; }
.guide-sim-ligne-plus strong { color: #a3c0a8; }
.guide-sim-ligne-info { border-bottom: none; opacity: 0.85; }
.guide-sim-total {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--papier);
}
.guide-sim-total strong { color: var(--papier); }
.guide-sim-sources { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; color: #948d7e; }

.guide-section { margin-bottom: 44px; }
.guide-section h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
  color: var(--encre);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--encre);
}
.guide-section-num {
  display: inline-block;
  width: auto; height: auto;
  border-radius: 0;
  background: none;
  color: var(--rouge);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.guide-section-num::after { content: "."; }

.guide-table-wrapper { overflow-x: auto; margin: 22px 0; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--filet);
  border-radius: 0;
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
}
.guide-table th {
  background: var(--encre);
  color: var(--papier);
  text-align: left;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.guide-table td { padding: 10px 14px; border-bottom: 1px solid var(--filet-2); }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table-highlight { background: var(--papier-2); }

.guide-infobox {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--filet);
  border-left-width: 3px;
  border-radius: 0;
  padding: 14px 16px;
  margin: 22px 0;
  font-size: 0.9rem;
  background: var(--papier-2);
  color: var(--encre-2);
}
.guide-infobox-blue { background: var(--papier-2); border-left-color: var(--encre); color: var(--encre-2); }
.guide-infobox-green { background: var(--vert-pale); border-color: var(--vert-filet); border-left-color: var(--vert); color: var(--vert); }
.guide-infobox-orange { background: var(--ambre-pale); border-color: var(--ambre-filet); border-left-color: var(--ambre); color: var(--ambre); }
.guide-infobox-red { background: var(--rouge-pale); border-color: var(--rouge-filet); border-left-color: var(--rouge); color: var(--rouge-fonce); }
/* Ce qui portait une icône porte maintenant un libellé : « Note », « Attention »,
   « À retenir », ou le rang de l'étape. Colonne de largeur fixe pour que les
   libellés s'alignent d'un encadré à l'autre, comme une rubrique de formulaire. */
.guide-infobox .ico {
  flex-shrink: 0;
  min-width: 76px;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.55;
  white-space: nowrap;
  color: inherit;
}
@media (max-width: 560px) {
  .guide-infobox { flex-direction: column; gap: 6px; }
  .guide-infobox .ico { min-width: 0; padding-top: 0; }
}

.guide-cta-box {
  background: var(--papier-2);
  border: 1px solid var(--encre);
  border-left: 4px solid var(--rouge);
  color: var(--encre);
  border-radius: 0;
  padding: 24px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 40px;
}
.guide-cta-content h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.guide-cta-content p { margin: 0; color: var(--encre-2); font-size: 0.9rem; max-width: 52ch; }
.guide-cta-btn {
  background: var(--rouge);
  color: var(--surface);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
}
.guide-cta-btn:hover { background: var(--encre); color: var(--papier); }

.guide-sources { border-top: 1px solid var(--encre); padding-top: 22px; margin-bottom: 40px; }
.guide-sources-title { color: var(--encre-3); margin-bottom: 12px; }
.guide-sources-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.source-pill:hover { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.guide-sources-note { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; color: var(--encre-3); }

@media (max-width: 700px) {
  .guide-hero-stats { grid-template-columns: 1fr; }
  .guide-hero-stat { border-right: none; border-bottom: 1px solid var(--filet); }
  .guide-hero-stat:last-child { border-bottom: none; }
  .guide-simulateur-form { grid-template-columns: 1fr; }
  .guide-sommaire ol { columns: 1; }
}

/* ===== Composants riches additionnels pour guides ===== */
.guide-level-debutant { background: var(--vert-pale); border-color: var(--vert-filet); color: var(--vert); }
.guide-level-intermediaire { background: var(--ambre-pale); border-color: var(--ambre-filet); color: var(--ambre); }

/* Timeline verticale (étapes numérotées) */
.guide-steps-visual { margin: 24px 0; }
.guide-step-v { display: flex; gap: 18px; position: relative; }
.guide-step-v-num {
  flex-shrink: 0; width: 34px; height: 34px;
  border-radius: 0;
  background: var(--encre); color: var(--papier);
  font-family: var(--mono); font-weight: 500; font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.guide-step-v-num-critical { background: var(--rouge); }
.guide-step-v-line { position: absolute; left: 16px; top: 34px; bottom: -18px; width: 1px; background: var(--filet); }
.guide-step-v-last .guide-step-v-line, .guide-step-v:last-child .guide-step-v-line { display: none; }
.guide-step-v-content { padding-bottom: 28px; flex: 1; }
.guide-step-v-content h3 { font-family: var(--serif); font-weight: 600; margin: 4px 0 6px; font-size: 1.08rem; color: var(--encre); }
.guide-step-v-content p { margin: 0; color: var(--encre-2); font-size: 0.92rem; }
.guide-step-v-critical .guide-step-v-content h3 { color: var(--rouge); }
.guide-badge-critical {
  background: var(--rouge-pale); border-color: var(--rouge-filet); color: var(--rouge);
  margin-left: 8px; vertical-align: middle;
}

/* Comparaison 2 colonnes */
.guide-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; }
.guide-comparison-col { border: 1px solid var(--filet); border-radius: 0; padding: 18px 20px; background: var(--surface); }
.guide-comparison-col h3 {
  font-family: var(--serif); font-weight: 600;
  margin: 0 0 12px; font-size: 1.02rem;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px; border-bottom: 1px solid var(--filet-2);
}
.guide-comparison-col ul { list-style: none; padding: 0; margin: 0; }
.guide-comparison-col li { font-size: 0.88rem; padding: 7px 0; border-bottom: 1px solid var(--filet-2); line-height: 1.55; }
.guide-comparison-col li:last-child { border-bottom: none; }
.guide-comparison-minus { background: var(--rouge-pale); border-color: var(--rouge-filet); }
.guide-comparison-minus h3 { color: var(--rouge-fonce); border-bottom-color: var(--rouge-filet); }
.guide-comparison-minus li { border-bottom-color: var(--rouge-filet); }
.guide-comparison-plus { background: var(--vert-pale); border-color: var(--vert-filet); }
.guide-comparison-plus h3 { color: var(--vert); border-bottom-color: var(--vert-filet); }
.guide-comparison-plus li { border-bottom-color: var(--vert-filet); }

/* Diagramme de transfert */
.guide-transfert { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: start; margin: 22px 0; }
.guide-transfert-col { border-radius: 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--filet); }
.guide-transfert-old { background: var(--rouge-pale); border-color: var(--rouge-filet); }
.guide-transfert-new { background: var(--vert-pale); border-color: var(--vert-filet); }
.guide-transfert-title {
  font-family: var(--mono);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--encre-3);
  margin-bottom: 10px;
}
.guide-transfert-items { display: flex; flex-direction: column; gap: 5px; }
.guide-transfert-item {
  font-size: 0.85rem; color: var(--encre);
  background: var(--surface);
  border: 1px solid var(--filet-2);
  border-radius: 0;
  padding: 6px 10px;
}
.guide-transfert-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding-top: 34px; }
.guide-transfert-arrow-line { font-size: 1.4rem; color: var(--rouge); font-weight: 700; }
.guide-transfert-arrow-label {
  font-family: var(--mono);
  font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--encre-3); text-align: center; max-width: 110px; line-height: 1.5;
}
.guide-transfert-arrow-badge { background: var(--rouge); border-color: var(--rouge); color: var(--surface); }
.guide-transfert-note {
  grid-column: 1 / -1;
  background: var(--papier-2);
  border: 1px solid var(--filet);
  border-left: 3px solid var(--encre);
  border-radius: 0;
  padding: 13px 16px;
  font-size: 0.88rem;
  color: var(--encre-2);
}
@media (max-width: 700px) {
  .guide-transfert { grid-template-columns: 1fr; }
  .guide-transfert-arrow { flex-direction: row; padding: 8px 0; }
}

/* Bloc comparatif tarifaire (bureau social) */
.guide-bureau-social { background: var(--papier-2); border: 1px solid var(--filet); border-radius: 0; padding: 22px 24px; margin: 22px 0; }
.guide-bureau-social-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.guide-bureau-social-header h3 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--encre); }
.guide-bureau-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.guide-bureau-social-col { background: var(--surface); border-radius: 0; padding: 15px 17px; border: 1px solid var(--filet); }
.guide-bureau-social-col-right { border-color: var(--vert-filet); background: var(--vert-pale); }
.guide-bureau-social-col-title {
  font-family: var(--mono);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 10px; color: var(--encre-3);
}
.guide-bureau-social-item { font-size: 0.85rem; padding: 6px 0; border-bottom: 1px solid var(--filet-2); }
.guide-bureau-social-item:last-child { border-bottom: none; }
.guide-bureau-social-item-minus::before { content: "− "; color: var(--rouge); font-weight: 700; }
.guide-bureau-social-item-plus::before { content: "✓ "; color: var(--vert); font-weight: 700; }
.guide-bureau-social-note {
  margin-top: 16px; font-size: 0.85rem; color: var(--encre-2);
  background: var(--surface); border: 1px solid var(--filet); border-radius: 0; padding: 11px 14px;
}
@media (max-width: 700px) { .guide-bureau-social-grid { grid-template-columns: 1fr; } }

/* Calendrier / étapes horizontales */
.guide-calendrier { margin: 22px 0; }
.guide-cal-step { display: flex; gap: 16px; align-items: flex-start; }
.guide-cal-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 0;
  color: var(--papier); background: var(--encre);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 500; font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.guide-cal-content { flex: 1; padding-bottom: 6px; }
.guide-cal-date { font-family: var(--serif); font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
.guide-cal-desc { font-size: 0.88rem; color: var(--encre-2); }
.guide-cal-arrow { text-align: center; color: var(--filet); font-size: 1rem; padding: 4px 0 4px 16px; }
.guide-cal-dates { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--filet); }
.guide-cal-dates-label {
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--encre-3); margin-bottom: 8px;
}
.guide-cal-dates-pills { display: flex; gap: 8px; flex-wrap: wrap; }

/* Listes de tags / coûts */
.guide-tags-list { display: flex; gap: 7px; flex-wrap: wrap; margin: 14px 0; }
.guide-costs-list { display: flex; flex-direction: column; gap: 9px; margin: 16px 0; }
.guide-cost-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--encre); }
.guide-cost-item .fa, .guide-cost-item > i { flex-shrink: 0; margin-top: 3px; color: var(--rouge); }

/* Illustration / schéma encadré */
.guide-illustration { background: var(--surface); border: 1px solid var(--filet); border-radius: 0; padding: 18px 20px; margin: 22px 0; }
.guide-illustration-title {
  font-family: var(--mono);
  font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--encre-3); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--filet-2);
}
.guide-schema-wrap { font-size: 0.85rem; color: var(--encre-2); line-height: 1.7; }
.guide-dimona-options { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.guide-dimona-option { flex: 1; min-width: 200px; background: var(--papier); border: 1px solid var(--filet); border-radius: 0; padding: 15px 16px; position: relative; }
.guide-dimona-option-recommended { border-color: var(--rouge); background: var(--rouge-pale); }
.guide-dimona-badge {
  position: absolute; top: -11px; right: 12px;
  background: var(--rouge); border-color: var(--rouge); color: var(--surface);
}
.guide-dimona-option h4 { margin: 0 0 6px; font-family: var(--serif); font-weight: 600; font-size: 1rem; }
.guide-dimona-option a { color: var(--rouge); font-weight: 600; }
.guide-dimona-arrow { font-size: 1.2rem; color: var(--filet); }
.guide-dimona-info {
  margin-top: 14px; font-size: 0.82rem; color: var(--encre-2);
  background: var(--papier); border: 1px solid var(--filet-2); border-radius: 0; padding: 10px 13px;
}
.case-link { color: var(--rouge); font-weight: 600; }

@media (max-width: 700px) {
  .guide-comparison { grid-template-columns: 1fr; }
}

/* Forum / Q&R */
.forum-question-card {
  display: block; background: var(--surface);
  border: 1px solid var(--filet); border-radius: 0;
  padding: 18px 20px; text-decoration: none; color: var(--encre);
  transition: border-color 0.12s, background 0.12s;
}
.forum-question-card:hover { border-color: var(--encre); background: var(--papier); }
.forum-question-card h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.1rem; margin: 0 0 8px; color: var(--encre);
  letter-spacing: -0.01em;
}
.forum-question-card .forum-meta {
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--encre-3);
}
.forum-question-card .forum-cta {
  font-family: var(--mono);
  font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--rouge); margin-top: 10px; display: block;
}
.forum-list { display: grid; gap: 12px; margin: 24px 0; }

.forum-category-pills { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.forum-category-pill:hover, .forum-category-pill.active { background: var(--encre); color: var(--papier); border-color: var(--encre); }

.forum-bio-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--filet);
  border-radius: 0; padding: 22px 24px; margin: 24px 0;
}
.forum-bio-photo {
  width: 84px; height: 84px; border-radius: 0; object-fit: cover;
  flex-shrink: 0; border: 1px solid var(--filet);
}
.forum-bio-photo-placeholder {
  width: 84px; height: 84px; border-radius: 0; flex-shrink: 0;
  background: var(--encre);
  display: flex; align-items: center; justify-content: center; color: var(--papier);
  font-family: var(--serif); font-weight: 700; font-size: 1.6rem;
}
.forum-bio-card h3 { font-family: var(--serif); font-weight: 700; margin: 0 0 4px; font-size: 1.15rem; color: var(--encre); }
.forum-bio-role {
  font-family: var(--mono);
  font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 8px;
}
.forum-bio-card p.forum-bio-text { margin: 0; color: var(--encre-2); font-size: 0.92rem; line-height: 1.65; }

.forum-qa-detail { background: var(--surface); border: 1px solid var(--filet); border-radius: 0; padding: 26px 28px; margin: 20px 0; }
.forum-qa-question {
  background: var(--papier-2);
  border: 1px solid var(--filet);
  border-left: 3px solid var(--encre);
  border-radius: 0; padding: 16px 18px; margin: 16px 0;
}
.forum-qa-question .forum-qa-label { color: var(--encre-3); display: block; margin-bottom: 8px; }
.forum-qa-answer { padding: 4px 0; }
.forum-qa-answer .forum-qa-label { color: var(--rouge); display: block; margin-bottom: 8px; }
.forum-qa-date { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-3); margin-top: 16px; }

.forum-embed { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--encre); }
.forum-embed h2 { margin-bottom: 6px; }
.forum-embed .forum-embed-lead { color: var(--encre-2); font-size: 0.92rem; margin-bottom: 18px; }

@media (max-width: 560px) {
  .forum-bio-card { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================================
   Bandeau de consentement cookies
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--surface);
  border: 1px solid var(--encre);
  border-radius: 0;
  box-shadow: none;
  animation: cookieIn 0.24s ease-out;
}
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1 1 340px;
  margin: 0;
  color: var(--encre-2);
  font-size: 0.88rem;
  line-height: 1.55;
}
.cookie-banner-text a { color: var(--rouge); font-weight: 600; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .btn {
  padding: 11px 20px;
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--filet);
  color: var(--encre-2);
}
.btn-outline-dark:hover { border-color: var(--encre); color: var(--encre); }

@media (max-width: 640px) {
  .cookie-banner-inner { padding: 16px; gap: 14px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; text-align: center; }
}
