/* ============================================================
   myCerfa — Feuille de style principale
   Source : _refs/mycerfa-refonte.html · Section 1 (Design System)
   ============================================================ */

:root {
  /* ===== PALETTE — "Fintech confiance" ===== */
  --ink: #0a1933;
  --ink-soft: #5b6781;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --line: #e3e8f0;

  --pine: #2540d7;
  --pine-deep: #1a30a8;
  --pine-soft: #e8ecfb;

  --apricot: #ffd23f;
  --apricot-soft: #fff8d4;

  --sky: #00b385;
  --gold: #ff9100;

  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(10,25,51,.05), 0 2px 8px rgba(10,25,51,.04);
  --shadow-md: 0 4px 12px rgba(10,25,51,.07), 0 12px 32px rgba(10,25,51,.06);
  --shadow-lg: 0 8px 24px rgba(10,25,51,.10), 0 24px 64px rgba(10,25,51,.10);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Public Sans', sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--apricot); color: var(--white); }

/* ============================================================
   HEADER NAV
   ============================================================ */
.site-head {
  display: flex; align-items: center; gap: 32px;
  padding: 18px 40px; border-bottom: 1px solid var(--line); background: var(--white);
  position: sticky; top: 0; z-index: 100;
}
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { display: block; height: 32px; width: auto; }
.site-nav { display: flex; gap: 26px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.site-nav a:hover { color: var(--pine); }
.site-nav a[aria-current="page"] { color: var(--pine); }
.site-head .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
/* Le panneau regroupe nav + actions : en desktop il est transparent et se
   contente de laisser ses deux enfants dans le flux du header. */
.nav-panel { display: contents; }
.nav-drop-menu a[aria-current="page"] { background: var(--pine-soft); }
.nav-drop-trigger[aria-current="page"] { color: var(--pine); }

/* Bouton hamburger — masqué au-dessus de 900 px (cf. bloc responsive). */
.nav-burger {
  display: none; margin-left: auto; background: none; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px;
  width: 42px; height: 40px; flex-direction: column; justify-content: center; gap: 4px;
}
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: .22s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Dropdown connexion */
.login-wrap { position: relative; }
.login-trigger {
  font-family: var(--display); font-weight: 700; font-size: 13.5px;
  padding: 9px 14px 9px 18px; border-radius: 10px; border: 1.5px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: .2s;
}
.login-trigger:hover { border-color: var(--ink); }
.login-trigger .caret { font-size: 10px; opacity: .6; }
.login-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 6px; min-width: 240px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s;
  z-index: 50;
}
.login-wrap:hover .login-menu,
.login-wrap:focus-within .login-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.login-menu a {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 11px 13px; border-radius: 8px; transition: .15s;
}
.login-menu a:hover { background: var(--paper-2); }
.login-menu a .ic {
  width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 16px;
}
.login-menu a .lab { font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.login-menu a .desc { font-size: 11.5px; color: var(--ink-soft); margin-top: 1px; }

/* Menu déroulant « Fonctionnalités » de la navigation principale.
   Même mécanique que .login-wrap (hover + focus-within, sans JS), mais
   présenté comme un lien de nav et non comme un bouton bordé. */
.nav-drop { position: relative; display: inline-flex; }
.nav-drop > .nav-drop-trigger {
  font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-drop > .nav-drop-trigger:hover { color: var(--pine); }
.nav-drop > .nav-drop-trigger .caret { font-size: 9px; opacity: .6; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px);
  /* Aligné sur le bord GAUCHE du déclencheur, et non centré dessus.
     Le menu fait 520 px alors que le lien « Fonctionnalités » se situe à
     ~180 px du bord de la fenêtre : centré (left:50% + translateX(-50%)),
     il débordait d'environ 80 px à gauche et se retrouvait coupé hors du
     viewport. Ancré à gauche, il s'étend vers la droite, où la place ne
     manque pas. Le max-width est un garde-fou pour les petits écrans
     desktop (le menu mobile prend le relais sous 900 px). */
  left: 0; transform: translateY(-4px);
  /* 600 px et non 520 : à 520, la colonne faisait ~230 px et « Rapprochement
     bancaire » + son badge « Nouveau » passaient sur deux lignes, ce qui
     désalignait les rangées des deux colonnes. */
  width: 600px; max-width: calc(100vw - 40px);
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transition: .18s; z-index: 60;
}
/* Zone tampon : évite que le menu se ferme en traversant l'espace sous le lien. */
.nav-drop-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: block; padding: 10px 12px; border-radius: 9px; transition: .15s; }
.nav-drop-menu a:hover { background: var(--paper-2); }
.nav-drop-menu .nd-lab {
  font-family: var(--display); font-weight: 700; font-size: 13.5px; color: var(--ink);
  /* inline-flex + wrap : le badge suit le libellé au lieu d'être poussé au
     bord droit de la cellule, et il repasse dessous plutôt que de couper
     le libellé en deux si la place venait à manquer. */
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px; row-gap: 3px;
}
.nav-drop-menu a { align-content: start; }
.nav-drop-menu .nd-desc { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; line-height: 1.45; }
.nav-drop-menu .nd-flag {
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 100px; background: var(--pine-soft); color: var(--pine-deep);
}
.nav-drop-menu .nd-flag.is-soon { background: #fff1f0; color: #b3261e; }

/* ============================================================
   BOUTONS, BADGES, INPUTS
   ============================================================ */
.btn {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 10px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px; transition: .2s; letter-spacing: -.01em;
}
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--apricot); color: var(--ink); }
.btn-accent:hover { background: #ffc107; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
}
.badge-pine { background: var(--pine-soft); color: var(--pine-deep); }
.badge-apricot { background: var(--apricot-soft); color: #8a6d12; }
.badge-gold { background: #fef0e0; color: #b35200; }

/* ============================================================
   HERO + DASHBOARD (page d'accueil)
   ============================================================ */
.hero {
  padding: 86px 40px 70px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 88% 10%, var(--apricot-soft) 0%, transparent 60%),
    radial-gradient(ellipse 70% 90% at 5% 90%, var(--pine-soft) 0%, transparent 55%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; max-width: 1100px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 4.6vw, 60px); margin: 20px 0 22px; }
.hero h1 em { font-style: normal; color: var(--pine); }
.hero .lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 30px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.hero-trust div { display: flex; align-items: center; gap: 7px; }
.hero-trust b { color: var(--ink); }

.hero-visual { position: relative; }
.dash {
  background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden;
}
.dash-top { background: var(--ink); padding: 14px 18px; display: flex; align-items: center; gap: 8px; }
.dash-top .d { width: 9px; height: 9px; border-radius: 50%; background: #1f3157; }
.dash-top .t { color: #8597b8; font-size: 11.5px; margin-left: 8px; font-family: var(--display); }
.dash-body { padding: 20px; }
.dash-row { display: flex; gap: 12px; margin-bottom: 14px; }
.dash-stat { flex: 1; background: var(--paper); border-radius: var(--r-md); padding: 14px; border: 1px solid var(--line); }
.dash-stat .k { font-size: 11px; color: var(--ink-soft); font-weight: 600; }
.dash-stat .v { font-family: var(--display); font-size: 23px; font-weight: 800; margin-top: 3px; }
.dash-stat .v.pine { color: var(--pine); }
.dash-stat .v.apr { color: var(--apricot); }
.dash-donor {
  display: flex; align-items: center; gap: 12px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 8px; background: var(--white);
}
.dash-donor .av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--white);
}
.dash-donor .nm { font-size: 13px; font-weight: 700; }
.dash-donor .sub { font-size: 11.5px; color: var(--ink-soft); }
.dash-donor .amt { margin-left: auto; font-family: var(--display); font-weight: 800; font-size: 14px; }
.dash-donor .tag { font-size: 10px; padding: 2px 7px; border-radius: 100px; font-weight: 700; }
.float-card {
  position: absolute; background: var(--white); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 13px 16px;
  display: flex; align-items: center; gap: 11px;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; }
.float-card .ttl { font-size: 12.5px; font-weight: 800; font-family: var(--display); }
.float-card .desc { font-size: 11px; color: var(--ink-soft); }
.fc-1 { top: -26px; right: -22px; }
.fc-2 { bottom: -28px; left: -30px; }

/* Bar logos */
.logos-bar {
  padding: 30px 40px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 38px; justify-content: center; flex-wrap: wrap;
  background: var(--white);
}
.logos-bar .lab { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; }
.logos-bar .org { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--ink-soft); }

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
.sec { padding: 80px 40px; }
.sec-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.sec-head .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 16px; }
.sec-head p { font-size: 17px; color: var(--ink-soft); }

/* Problème → Solution */
.ps-wrap { background: var(--ink); }
.ps-wrap .sec-head h2 { color: var(--white); }
.ps-wrap .sec-head .eyebrow { color: var(--apricot); }
.ps-wrap .sec-head p { color: #a6b3cd; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 0 auto; }
.ps-col { border-radius: var(--r-lg); padding: 32px; }
.ps-before { background: #101d3a; border: 1px solid #1f3157; }
.ps-after { background: var(--paper); }
.ps-col h3 { font-size: 19px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ps-before h3 { color: #ffd23f; }
.ps-after h3 { color: var(--pine-deep); }
.ps-item { display: flex; gap: 11px; padding: 10px 0; font-size: 14.5px; border-bottom: 1px dashed; }
.ps-before .ps-item { color: #8597b8; border-color: #1f3157; }
.ps-after .ps-item { color: var(--ink-soft); border-color: var(--line); }
.ps-item:last-child { border-bottom: none; }
.ps-item .mk { flex-shrink: 0; font-weight: 800; }
.ps-before .mk { color: #ff5a5f80; }
.ps-after .mk { color: var(--pine); }

/* Bento fonctionnalités */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.feat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: .25s; position: relative; overflow: hidden;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3cfbe; }
.feat .ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px;
}
.feat h3 { font-size: 20px; margin-bottom: 9px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); }
.feat .lnk { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--pine); display: inline-flex; gap: 5px; }
.feat-lg { grid-column: span 3; }
.feat-sm { grid-column: span 2; }
.feat-wide { grid-column: span 3; }
.feat.dark { background: var(--ink); }
.feat.dark h3 { color: var(--white); }
.feat.dark p { color: #a6b3cd; }
.feat.dark .lnk { color: var(--apricot); }
.feat.pine { background: var(--pine); }
.feat.pine h3 { color: var(--white); }
.feat.pine p { color: #c7d0e8; }
.feat.pine .lnk { color: var(--white); }
.feat h2 { font-size: 20px; margin-bottom: 9px; }

/* Bento 3 colonnes (pages fonctionnalités — 3 bénéfices) */
.bento-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.bento-3 .feat { grid-column: span 1; }

/* Pill icon (générique) */
.pill-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; flex-shrink: 0;
}

/* ============================================================
   Page Reçus fiscaux Cerfa
   ============================================================ */

/* Cerfa preview (exemple de reçu) */
.cerfa-preview { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.cerfa-head { padding: 16px 20px; background: var(--ink); display: flex; align-items: center; gap: 10px; }
.cerfa-ref { color: #8597b8; font-size: 11.5px; font-family: var(--display); margin-left: auto; }
.cerfa-body { padding: 24px; }
.cerfa-title { font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.cerfa-sub { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.cerfa-rows { display: grid; gap: 11px; }
.cerfa-rows > div { display: flex; justify-content: space-between; font-size: 13px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.cerfa-rows > div.last { border-bottom: none; padding-bottom: 0; }
.cerfa-rows > div span { color: var(--ink-soft); }
.cerfa-tax { margin-top: 18px; padding: 12px 14px; background: var(--pine-soft); border-radius: var(--r-sm); font-size: 12.5px; color: var(--pine-deep); display: flex; gap: 8px; align-items: center; }
.cerfa-tax span { font-size: 16px; }

/* Galerie modèles Cerfa */
.model-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.model-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  aspect-ratio: 1/1.4; padding: 18px 12px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transition: .2s; cursor: pointer;
}
.model-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.model-eyebrow { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.model-eyebrow.gold { color: #8a6d12; }
.model-eyebrow.pine { color: var(--pine); }
.model-eyebrow.sky { color: #006e52; }
.model-eyebrow.gold-dark { color: #b35200; }
.model-line { height: 2px; background: var(--line); margin-bottom: 4px; }
.model-line.full { height: 3px; background: var(--ink); width: 100%; margin-bottom: 8px; }
.model-line.short { height: 3px; background: var(--ink); width: 50%; margin-bottom: 8px; }
.model-line.w80 { width: 80%; }
.model-line.w60 { width: 60%; }
.model-line.w90 { width: 90%; }
.model-logo { width: 30px; height: 30px; background: var(--pine-soft); border-radius: 6px; margin-bottom: 8px; }
.model-box-dashed { height: 14px; width: 100%; border: 1px dashed var(--line); margin-bottom: 8px; }
.model-name { font-family: var(--display); font-weight: 800; font-size: 11.5px; margin-top: 14px; }
.model-desc { font-size: 10px; color: var(--ink-soft); margin-top: 2px; }
.model-card-add { background: var(--paper-2); border: 2px dashed var(--line); box-shadow: none; }
.model-card-add:hover { border-color: var(--pine); background: var(--pine-soft); transform: none; box-shadow: none; }
.model-plus { font-size: 24px; color: var(--pine); margin-bottom: 8px; }
.model-card-add .model-name { color: var(--pine); margin-top: 0; }

/* Workflow steps (page Reçus Cerfa) */
.workflow-steps { list-style: none; display: grid; gap: 0; padding: 0; }
.workflow-steps .step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; display: flex; align-items: center; gap: 13px; box-shadow: var(--shadow-sm);
  position: relative;
}
.workflow-steps .step + .step { margin-top: 22px; }
.workflow-steps .step + .step::before {
  content: ""; position: absolute; top: -16px; left: 31px; width: 2px; height: 14px; background: var(--line);
}
.workflow-steps .step-final { background: var(--pine); border-color: var(--pine); }
.workflow-steps .step-final .step-name { color: #fff; }
.workflow-steps .step-final .step-desc { color: #c7d0e8; }
.workflow-steps .step-body { flex: 1; }
.workflow-steps .step-name { font-family: var(--display); font-weight: 800; font-size: 14px; }
.workflow-steps .step-desc { font-size: 12px; color: var(--ink-soft); }

/* API strip (bande développeurs) */
.api-strip { background: var(--ink); padding: 50px 40px; }
.api-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.api-strip-txt { flex: 1; min-width: 280px; }
.api-strip-txt .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--apricot); margin-bottom: 10px; }
.api-strip-txt h2 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.api-strip-txt p { color: #a6b3cd; font-size: 14.5px; }

@media (max-width: 700px) {
  .model-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Page Blog (/blog)
   ============================================================ */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Article à la une */
.blog-featured-wrap { max-width: 1000px; margin: 0 auto; }
.blog-featured-label {
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 14px;
}
.blog-featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md);
  transition: .25s; text-decoration: none; color: inherit;
}
.blog-featured:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.blog-featured-text { padding: 36px 38px; }
.blog-featured-title { font-size: 30px; margin: 14px 0; line-height: 1.15; }
.blog-featured-excerpt { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.blog-featured-cta { color: var(--pine); font-weight: 700; font-size: 14px; }
.blog-featured-cover {
  background: linear-gradient(135deg, var(--pine), var(--pine-deep));
  display: grid; place-items: center; color: #fff; padding: 40px;
  text-align: center;
}
.blog-featured-cover-text { font-family: var(--display); font-weight: 800; font-size: 38px; margin-bottom: 6px; }
.blog-featured-cover-sub { font-size: 13px; color: #c7d0e8; }

/* Catégories (tabs) */
.blog-grid-wrap { max-width: 1000px; margin: 0 auto; }
.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.blog-cat {
  padding: 8px 16px; background: var(--white); color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 100px;
  font-family: var(--display); font-weight: 700; font-size: 13px; cursor: pointer;
  transition: .15s;
}
.blog-cat:hover { border-color: var(--ink); color: var(--ink); }
.blog-cat.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Grille des articles */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.blog-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: .25s; display: block; text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-soon { opacity: .7; }
.blog-cover {
  height: 130px; display: grid; place-items: center; color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 24px;
  line-height: 1.1; text-align: center; padding: 12px;
}
.blog-cover-pine    { background: linear-gradient(135deg, var(--pine),  var(--pine-deep)); color: #fff; }
.blog-cover-apricot { background: linear-gradient(135deg, var(--apricot), #ff9100); color: var(--ink); }
.blog-cover-sky     { background: linear-gradient(135deg, var(--sky),   #006e52); color: #fff; }
.blog-cover-dark    { background: linear-gradient(135deg, #5b6781, #0a1933); color: #fff; }
.blog-cover-text { font-size: 24px; }
.blog-cover-pine .blog-cover-text { font-size: 32px; }
.blog-cover-apricot .blog-cover-text { font-size: 32px; }
.blog-cover-sub { font-size: 13px; font-weight: 400; margin-top: 2px; }

.blog-card-body { padding: 22px; }
.blog-card-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card-badges .badge { font-size: 10.5px; }
.badge-soon { background: var(--paper-2); color: var(--ink-soft); }
.blog-card-title { font-size: 17px; margin-bottom: 8px; line-height: 1.3; }
.blog-card-excerpt { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.blog-card-meta { font-size: 11.5px; color: var(--ink-soft); }

/* Newsletter */
.newsletter-card {
  max-width: 780px; margin: 0 auto;
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 36px 40px; text-align: center;
}
.newsletter-label {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--apricot); margin-bottom: 12px;
}
.newsletter-title { color: #fff; font-size: 24px; margin-bottom: 10px; }
.newsletter-sub {
  color: #a6b3cd; font-size: 14.5px; margin: 0 auto 22px; max-width: 480px;
}
.newsletter-form {
  display: flex; gap: 10px; max-width: 440px; margin: 0 auto;
  flex-wrap: wrap; justify-content: center;
}
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 12px 16px;
  border: 1px solid #1f3157; border-radius: 10px;
  background: rgba(255,255,255,.05); color: #fff;
  font-family: var(--body); font-size: 14px;
}
.newsletter-form input::placeholder { color: #8597b8; }

@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-cover { padding: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Page Tarifs (/tarifs)
   ============================================================ */

.pricing-wrap { background: var(--paper-2); }

/* Toggle annuel / mensuel */
.billing-toggle-wrap {
  max-width: 1000px; margin: 0 auto 36px;
  display: flex; justify-content: center; gap: 8px;
}
#billing-toggle {
  display: inline-flex; background: var(--white);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 5px; box-shadow: var(--shadow-sm);
}
.billing-opt {
  font-family: var(--display); font-weight: 700; font-size: 13.5px;
  padding: 9px 20px; border-radius: 100px; border: none;
  cursor: pointer; background: transparent; color: var(--ink-soft);
  transition: .2s;
}
.billing-opt.is-selected { background: var(--ink); color: var(--white); }
.billing-badge {
  background: var(--apricot); color: var(--ink); font-size: 10.5px;
  padding: 2px 7px; border-radius: 100px; margin-left: 5px; font-weight: 800;
}

/* Carte produit unique */
.single-pricing {
  max-width: 780px; margin: 0 auto;
  background: var(--white); border: 2px solid var(--pine);
  border-radius: var(--r-xl); padding: 40px;
  box-shadow: var(--shadow-lg); position: relative;
}
.single-pricing-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--pine); color: var(--white);
  font-size: 11.5px; font-weight: 800; padding: 5px 14px; border-radius: 100px;
  font-family: var(--display); white-space: nowrap;
}
.single-pricing-header { text-align: center; margin-bottom: 32px; }
.sp-name { font-family: var(--display); font-weight: 800; font-size: 26px; }
.sp-sub { font-size: 14.5px; color: var(--ink-soft); margin: 6px auto 0; max-width: 480px; }
.sp-price-block {
  text-align: center; padding: 24px 20px;
  background: var(--paper-2); border-radius: var(--r-lg); margin-bottom: 28px;
}
.sp-price-prefix { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.sp-price-row { margin: 6px 0 8px; }
.sp-amount { font-family: var(--display); font-weight: 800; font-size: 56px; letter-spacing: -.03em; color: var(--ink); }
.sp-currency { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--ink); }
.sp-unit { font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.sp-was {
  font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--ink-soft);
  margin-right: 10px; vertical-align: 12px;
  text-decoration-line: line-through; text-decoration-color: #e0533d; text-decoration-thickness: 2.5px;
}
.tg-cell-was {
  font-weight: 600; font-size: 13px; color: var(--ink-soft); margin-right: 4px;
  text-decoration-color: #e0533d; text-decoration-thickness: 1.5px;
}
.tg-cell-active .tg-cell-was { color: rgba(255,255,255,.7); text-decoration-color: var(--apricot); }
.sp-context { font-size: 13.5px; color: var(--ink-soft); }
.sp-emails { font-size: 14px; font-weight: 700; color: var(--pine); margin-bottom: 4px; }
.tg-cell-mails { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-soft); }
.tg-cell-active .tg-cell-mails { color: rgba(255,255,255,.78); }
.sp-ttc { margin-top: 14px; font-size: 12px; color: var(--ink-soft); }

.sp-included-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pine); margin-bottom: 14px; text-align: center;
}
.sp-included {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 28px;
}
.sp-included > div {
  font-size: 13.5px; color: var(--ink-soft);
  display: flex; gap: 8px;
}
.sp-included > div span { color: var(--pine); font-weight: 800; flex-shrink: 0; }
.sp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sp-fine { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 14px; }

/* Grille de paliers */
.tiers-grid {
  max-width: 1000px; margin: 40px auto 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm);
}
.tiers-head {
  padding: 24px 28px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.tg-title { font-family: var(--display); font-weight: 800; font-size: 18px; }
.tg-sub { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.tg-cells {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; background: var(--line);
}
.tg-cell {
  background: var(--white); padding: 14px 18px; position: relative;
  border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer;
  display: block; width: 100%; transition: background .15s, box-shadow .15s;
}
.tg-cell:hover { background: var(--pine-soft); }
.tg-cell:focus-visible { outline: 2px solid var(--pine); outline-offset: -2px; }
.tg-cell.tg-cell-hl { background: var(--paper-2); }
.tg-cell.tg-cell-hl:hover { background: var(--pine-soft); }
.tg-cell.tg-cell-active, .tg-cell.tg-cell-active:hover {
  background: var(--pine); box-shadow: inset 0 0 0 2px var(--pine-deep); z-index: 1;
}
.tg-cell-active .tg-cell-range, .tg-cell-active .tg-cell-price small { color: rgba(255,255,255,.78); }
.tg-cell-active .tg-cell-price, .tg-cell-active .tg-cell-custom { color: var(--white); }
.tg-cell-flag {
  position: absolute; top: 12px; right: 12px;
  background: var(--apricot); color: var(--ink);
  font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 100px;
}
.tg-cell-range, .tg-cell-price, .tg-cell-custom { display: block; }

/* Réglette « nombre de dons par an » */
.dons-sim { margin: 0 auto 22px; max-width: 520px; }
.dons-sim-label { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.dons-sim-value {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  margin: 10px 0 14px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
}
.dons-sim-input {
  width: 7ch; padding: 6px 10px; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--pine);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.dons-sim-input::-webkit-outer-spin-button, .dons-sim-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dons-sim-input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px var(--pine-soft); }
.dons-sim-track { position: relative; padding-bottom: 22px; }
.dons-sim-range { width: 100%; margin: 0; accent-color: var(--pine); cursor: pointer; height: 22px; }
.dons-sim-range:focus-visible { outline: 2px solid var(--pine); outline-offset: 4px; border-radius: 4px; }
.dons-sim-marks { position: absolute; left: 9px; right: 9px; bottom: 0; height: 16px; }
.dons-sim-marks span {
  position: absolute; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; color: var(--ink-soft); white-space: nowrap;
}
.dons-sim-marks span:last-child { transform: translateX(-100%); }
.tg-cell-range {
  font-size: 11px; color: var(--ink-soft);
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.tg-cell-price {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  margin-top: 3px; color: var(--ink);
}
.tg-cell-hl .tg-cell-price { color: var(--pine); }
.tg-cell-price small { font-weight: 600; color: var(--ink-soft); font-size: 12px; }
.tg-cell-custom {
  font-family: var(--display); font-weight: 800; font-size: 14px;
  margin-top: 3px; color: var(--pine); line-height: 1.3;
}

/* Paiement en ligne */
.online-payment-block { max-width: 1000px; margin: 40px auto 0; }
.fee-card .fee-sub { font-size: 12px; color: var(--ink-soft); margin-bottom: 14px; margin-top: -8px; }
.fee-note-title { font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--white); margin-bottom: 6px; }

@media (max-width: 700px) {
  .sp-included { grid-template-columns: 1fr; }
  .single-pricing { padding: 28px 20px; }
}

/* ============================================================
   Page API (/api)
   ============================================================ */

.api-hero {
  background: linear-gradient(180deg, #0a1933 0%, #101d3a 100%);
  color: #fff;
  padding: 70px 40px 56px; text-align: center;
}
.api-crumb { color: #a6b3cd; font-size: 13px; margin-bottom: 18px; }
.api-crumb a { color: var(--apricot); font-weight: 600; }
.api-badge { background: rgba(255,210,63,.15); color: var(--apricot); }
.api-hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 56px); max-width: 760px; margin: 14px auto 18px; }
.api-hero h1 em { color: var(--apricot); font-style: normal; }
.api-hero p { color: #a6b3cd; font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.api-hero .hero-cta { justify-content: center; }
.api-btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.api-btn-ghost:hover { border-color: #fff; }

/* Bloc de code */
.code-block {
  background: #0a1933; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg);
}
.code-head {
  padding: 11px 16px; background: #101d3a;
  display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #1f3157;
}
.code-head .d { width: 9px; height: 9px; border-radius: 50%; }
.code-head .d.red    { background: #e63946; }
.code-head .d.yellow { background: #ffd23f; }
.code-head .d.green  { background: #00b385; }
.code-title { color: #8597b8; font-size: 11px; font-family: var(--display); margin-left: 8px; }
.code-body {
  padding: 18px; margin: 0;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 12px; line-height: 1.7; color: #e0e6f2;
  overflow-x: auto; white-space: pre;
}
.code-resp {
  margin: 0 18px 18px; padding: 14px;
  background: rgba(0,179,133,.12); border-left: 3px solid #00b385; border-radius: 6px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
  font-size: 11.5px; line-height: 1.6; color: #a3e7c4;
  overflow-x: auto; white-space: pre;
}
.code-comment { color: #8597b8; }
.code-yellow  { color: #ffd23f; }
.code-green   { color: #a3e7c4; }

/* Inline code */
.inline-code {
  background: var(--paper); padding: 2px 6px; border-radius: 4px; font-size: 13px;
  font-family: 'SF Mono', Monaco, Consolas, monospace;
}

/* Table endpoints */
.endpoints-table {
  max-width: 1000px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.endpoints-table table { width: 100%; border-collapse: collapse; }
.endpoints-table thead tr { background: var(--ink); color: #fff; }
.endpoints-table thead th {
  padding: 14px 18px; text-align: left;
  font-family: var(--display); font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase;
}
.endpoints-table tbody tr { border-bottom: 1px solid var(--line); }
.endpoints-table tbody tr:last-child { border-bottom: none; }
.endpoints-table td { padding: 13px 18px; font-size: 13px; color: var(--ink-soft); }
.endpoints-table td.endpoint { font-family: 'SF Mono', Monaco, Consolas, monospace; color: var(--pine-deep); }
.http {
  font-family: 'SF Mono', Monaco, Consolas, monospace; font-weight: 700;
  font-size: 11.5px; padding: 3px 7px; border-radius: 4px;
}
.http-post  { color: var(--sky);   background: var(--sky-soft); }
.http-get   { color: var(--pine);  background: var(--pine-soft); }
.http-patch { color: #b35200;      background: #fef0e0; }
.docs-link { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.docs-link a { color: var(--pine); font-weight: 600; }

/* Use cases */
.usecase-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.usecase-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm);
}
.usecase-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.usecase-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; }
.usecase-title { font-family: var(--display); font-weight: 800; font-size: 16px; }
.usecase-card p { font-size: 14px; color: var(--ink-soft); }

/* Disponibilité */
.api-availability {
  max-width: 900px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 36px;
}
.api-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.ar-label {
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--apricot); margin-bottom: 8px;
}
.ar-body { color: #fff; font-size: 14.5px; line-height: 1.6; }
.api-cta { padding-top: 20px; border-top: 1px solid #1f3157; text-align: center; }

@media (max-width: 700px) {
  .api-grid, .usecase-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Page persona Fondations (/solutions/fondations)
   ============================================================ */

.foundation-board {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.foundation-board .fb-head {
  padding: 14px 18px; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 13px;
}
.fb-body { padding: 20px; }
.fb-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.fb-stat { padding: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.fb-stat-k { font-size: 10.5px; color: var(--ink-soft); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fb-stat-v { font-family: var(--display); font-weight: 800; font-size: 22px; margin-top: 3px; }
.fb-stat-sub { font-size: 10.5px; color: var(--ink-soft); }
.fb-label {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.fb-programs { display: grid; gap: 8px; }
.fb-prog-top {
  display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px;
  font-weight: 600;
}
.fb-prog-top b { font-family: var(--display); font-weight: 800; }

/* Tax grid */
.tax-grid { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tax-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.tax-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.tax-art { font-family: var(--display); font-weight: 800; font-size: 17px; }
.tax-list { display: grid; gap: 11px; font-size: 13.5px; color: var(--ink-soft); }
.tax-list > div { display: flex; gap: 8px; }
.tax-list > div span { color: var(--pine); font-weight: 800; flex-shrink: 0; }
.tax-list > div b { color: var(--ink); }
.tax-note {
  max-width: 900px; margin: 18px auto 0;
  background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 18px 22px;
  display: flex; gap: 14px; align-items: center;
}
.tax-note span { font-size: 24px; }
.tax-note p { font-size: 13.5px; color: #c7d0e8; margin: 0; }

@media (max-width: 700px) {
  .tax-grid { grid-template-columns: 1fr; }
  .fb-stats { grid-template-columns: 1fr; }
}

/* ============================================================
   Pages légales (/conditions/*)
   ============================================================ */

.legal-shell { background: var(--white); padding: 48px 0 80px; }
.legal-shell .crumb {
  max-width: 1100px; margin: 0 auto 8px; padding: 0 40px;
  font-size: 12.5px; color: var(--ink-soft);
}
.legal-shell .crumb a { color: var(--pine); }
.legal-shell .crumb .sep { color: var(--line); padding: 0 6px; }

.legal-shell .head-block { max-width: 1100px; margin: 0 auto 32px; padding: 0 40px; }
.legal-shell .head-block h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.legal-shell .updated {
  font-size: 12.5px; color: var(--ink-soft);
  background: var(--paper-2); padding: 5px 11px;
  border-radius: 100px; display: inline-block;
  font-family: var(--display); font-weight: 600;
}
.legal-shell .doc-meta {
  margin-top: 14px; padding: 14px 18px;
  background: var(--paper-2); border-radius: var(--r-md);
  font-size: 13px; color: var(--ink-soft);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.legal-shell .doc-meta b { color: var(--ink); font-family: var(--display); }
.legal-shell .doc-meta .pipe { color: var(--line); }

.legal-body {
  max-width: 1100px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 240px 1fr; gap: 48px;
}
.legal-toc {
  position: sticky; top: 90px; align-self: start;
  background: var(--paper-2); padding: 22px;
  border-radius: var(--r-md); border: 1px solid var(--line);
}
.legal-toc h4 {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px; font-weight: 700;
}
.legal-toc ol { list-style: none; padding: 0; counter-reset: toc; }
.legal-toc ol li {
  counter-increment: toc; font-size: 13px;
  padding: 6px 0; border-bottom: 1px dashed var(--line);
}
.legal-toc ol li:last-child { border-bottom: none; }
.legal-toc ol li::before {
  content: counter(toc) ". ";
  font-family: var(--display); font-weight: 700;
  color: var(--pine); margin-right: 4px;
}
.legal-toc ol li a { color: var(--ink); transition: .15s; }
.legal-toc ol li a:hover { color: var(--pine); }

.legal-content { max-width: 720px; }
.legal-content h2 {
  font-size: 22px; margin: 36px 0 14px;
  scroll-margin-top: 90px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 .nbr {
  display: inline-block; background: var(--pine-soft);
  color: var(--pine); padding: 2px 9px; border-radius: 6px;
  font-size: 14px; margin-right: 8px; vertical-align: middle;
  font-weight: 700; font-family: var(--display);
}
.legal-content h3 { font-size: 16px; margin: 22px 0 10px; color: var(--ink); font-weight: 700; }
.legal-content p, .legal-content li {
  font-size: 15px; line-height: 1.75; color: var(--ink); margin-bottom: 12px;
}
.legal-content ul, .legal-content ol { padding-left: 22px; margin-bottom: 12px; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content strong { font-weight: 700; }
.legal-content em { font-style: italic; color: var(--ink-soft); }
.legal-content a { color: var(--pine); border-bottom: 1px solid var(--pine-soft); transition: .15s; }
.legal-content a:hover { border-bottom-color: var(--pine); }

.legal-content .callout {
  background: var(--pine-soft);
  border-left: 4px solid var(--pine);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 18px; margin: 18px 0;
  font-size: 14px;
}
.legal-content .callout strong {
  display: block; margin-bottom: 6px;
  color: var(--pine-deep); font-family: var(--display);
}

.legal-content dl { margin: 16px 0; border-top: 1px solid var(--line); }
.legal-content dt {
  font-family: var(--display); font-weight: 700;
  font-size: 14px; padding: 12px 0 6px; color: var(--ink);
}
.legal-content dd {
  font-size: 14px; color: var(--ink-soft);
  padding: 0 0 12px; border-bottom: 1px solid var(--line);
  line-height: 1.6; margin-left: 0;
}

.legal-content .ph-block {
  background: repeating-linear-gradient(
    45deg, #fff8d4, #fff8d4 10px,
    #fff5b8 10px, #fff5b8 20px);
  border: 2px dashed var(--apricot);
  border-radius: var(--r-md);
  padding: 16px 20px; margin: 14px 0;
  font-size: 13.5px; color: #6b5300;
}
.legal-content .ph-block b { font-family: var(--display); color: #6b5300; }

.legal-content table {
  width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0;
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.legal-content table th {
  padding: 10px 12px; text-align: left;
  background: var(--paper-2);
  font-family: var(--display); font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid var(--line);
}
.legal-content table td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-content table tr:last-child td { border-bottom: none; }
.legal-content table td.mono { font-family: 'SF Mono', Monaco, monospace; font-size: 12px; }

.legal-content .btn-cookies {
  display: inline-block; margin-top: 6px;
  padding: 8px 14px; background: var(--pine); color: #fff;
  border-radius: 6px; font-family: var(--display); font-weight: 700;
  font-size: 13px; border: none; cursor: pointer;
}

/* Index /conditions/ */
.conditions-hero { background: var(--paper-2); padding: 48px 40px; }
.conditions-hero-inner { max-width: 1100px; margin: 0 auto; }
.conditions-hero h1 { font-size: 36px; margin-bottom: 10px; }
.conditions-hero p { font-size: 16px; color: var(--ink-soft); max-width: 720px; }
.conditions-hero .global-update {
  margin-top: 16px; font-size: 13px; color: var(--ink-soft);
}
.conditions-hero .global-update b { color: var(--ink); font-family: var(--display); }

.conditions-index-grid {
  max-width: 1100px; margin: 32px auto 0; padding: 0 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cond-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 24px;
  transition: .2s; display: block; text-decoration: none; color: inherit;
}
.cond-card:hover {
  border-color: var(--pine); box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cond-card .cat {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--pine);
  margin-bottom: 8px; display: inline-block;
  background: var(--pine-soft); padding: 3px 9px; border-radius: 100px;
}
.cond-card .cat.priv { background: var(--apricot-soft); color: #8a6d12; }
.cond-card .cat.spec { background: var(--sky-soft); color: #006e52; }
.cond-card h2 { font-size: 17px; margin-bottom: 6px; }
.cond-card .desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.cond-card .meta {
  font-size: 11.5px; color: var(--ink-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.cond-card .meta .arrow { color: var(--pine); font-weight: 700; }

.group-title {
  max-width: 1100px; margin: 36px auto 6px; padding: 0 40px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.conditions-contact {
  max-width: 1100px; margin: 40px auto 60px; padding: 0 40px;
}
.conditions-contact-inner {
  background: var(--ink); color: #fff;
  padding: 22px 28px; border-radius: var(--r-md);
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.conditions-contact-inner .ic { font-size: 30px; }
.conditions-contact-inner .ttl { font-family: var(--display); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.conditions-contact-inner .sub { font-size: 13px; color: #a6b3cd; }
.conditions-contact-inner .sub a { color: var(--apricot); border-bottom: 1px solid transparent; }

@media (max-width: 900px) {
  .legal-body { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .conditions-index-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .group-title { padding: 0 20px; }
  .conditions-hero, .legal-shell .crumb, .legal-shell .head-block, .legal-body { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   Page Billetterie en ligne
   ============================================================ */

.ticket-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md); max-width: 360px; margin: 0 auto;
}
.ticket-cover {
  height: 120px; background: linear-gradient(135deg, var(--apricot), #ff9100);
  position: relative; padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.ticket-date {
  position: absolute; top: 14px; left: 18px;
  background: rgba(0,0,0,.25); color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 9px; border-radius: 100px; text-transform: uppercase; letter-spacing: .08em;
}
.ticket-title { color: #fff; font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1.2; }
.ticket-sub { color: rgba(255,255,255,.85); font-size: 12px; }
.ticket-body { padding: 20px; }
.ticket-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.ticket-list { display: grid; gap: 8px; }
.ticket-opt {
  border: 1px solid var(--line); background: var(--white);
  padding: 12px 14px; border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.ticket-opt-featured { border: 2px solid var(--pine); background: var(--pine-soft); }
.ticket-opt-name { font-family: var(--display); font-weight: 800; font-size: 13px; }
.ticket-opt-featured .ticket-opt-name { color: var(--pine-deep); }
.ticket-opt-meta { font-size: 11px; color: var(--ink-soft); }
.ticket-opt-price { font-family: var(--display); font-weight: 800; font-size: 16px; }
.ticket-opt-price-featured { font-size: 18px; color: var(--pine); }
.ticket-progress {
  margin-top: 14px; padding: 11px 13px; background: var(--apricot-soft); border-radius: 8px;
  font-size: 11.5px; color: #8a6d12; display: flex; gap: 8px; align-items: center;
}
.ticket-progress span { font-size: 14px; }
.ticket-submit {
  width: 100%; padding: 13px; background: var(--pine); color: #fff; border: none; border-radius: 8px;
  font-family: var(--display); font-weight: 800; font-size: 14px; cursor: pointer; margin-top: 14px;
}

/* ============================================================
   Page Campagnes de dons
   ============================================================ */

.campaign-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md); max-width: 360px; margin: 0 auto;
}
.campaign-cover {
  height: 90px; background: linear-gradient(135deg, var(--pine), var(--sky));
  display: flex; align-items: flex-end; padding: 16px 18px;
}
.campaign-tag {
  background: rgba(255,255,255,.2); color: #fff; font-size: 10px; font-weight: 800;
  padding: 3px 9px; border-radius: 100px; text-transform: uppercase; letter-spacing: .08em;
}
.campaign-body { padding: 20px; }
.campaign-title { font-family: var(--display); font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.campaign-desc { font-size: 12px; color: var(--ink-soft); margin-bottom: 18px; }
.campaign-progress { margin-bottom: 14px; }
.progress-top { display: flex; justify-content: space-between; font-size: 11.5px; margin-bottom: 6px; }
.progress-amt { font-family: var(--display); font-weight: 800; color: var(--pine); }
.progress-goal { color: var(--ink-soft); }
.progress-bar { height: 8px; background: var(--paper-2); border-radius: 100px; overflow: hidden; }
.progress-bar.progress-thin { height: 5px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--pine), var(--sky)); border-radius: 100px; }
.progress-bot { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-soft); margin-top: 6px; }
.progress-bot b { color: var(--ink); }
.campaign-btn {
  width: 100%; padding: 13px; background: var(--pine); color: #fff; border: none; border-radius: 8px;
  font-family: var(--display); font-weight: 800; font-size: 14px; cursor: pointer; margin-bottom: 14px;
}
.campaign-label {
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.campaign-donors { list-style: none; padding: 0; display: grid; gap: 7px; }
.campaign-donors li { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.campaign-donors .av { width: 24px; height: 24px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 9px; flex-shrink: 0; }
.campaign-donors .d-name { flex: 1; }
.campaign-donors .d-amt { font-family: var(--display); font-weight: 800; color: var(--pine); }

/* Tableau de bord campagnes (deep dive 2) */
.campaigns-board {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.campaigns-board .cb-head {
  padding: 14px 18px; background: var(--ink); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 13px;
}
.campaigns-board .cb-body { padding: 18px; display: grid; gap: 10px; }
.cb-item { padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; }
.cb-item.cb-item-done { border: 2px solid var(--pine); background: var(--pine-soft); }
.cb-item.cb-item-done .cb-name { color: var(--pine-deep); }
.cb-item.cb-item-done .cb-meta b { color: var(--pine-deep); }
.cb-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cb-name { font-family: var(--display); font-weight: 800; font-size: 13.5px; }
.cb-pct { font-size: 10.5px; color: var(--pine); font-weight: 700; }
.cb-pct.cb-pct-mid { color: #8a6d12; background: var(--apricot-soft); padding: 1px 7px; border-radius: 100px; }
.cb-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-soft); margin-top: 6px; }

/* ============================================================
   Page Paiement & dons en ligne
   ============================================================ */

/* Formulaire de don (mockup) */
.donform {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
  max-width: 340px; margin: 0 auto;
}
.donform-head {
  padding: 24px; background: linear-gradient(135deg, var(--pine), var(--pine-deep));
  color: #fff;
}
.donform-title { font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.donform-sub { font-size: 12.5px; color: #c7d0e8; }
.donform-body { padding: 22px; }
.donform-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 10px;
}
.donform-amounts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px;
}
.donform-amounts-2 { grid-template-columns: repeat(2, 1fr); margin-bottom: 14px; }
.donform-amt {
  padding: 13px 0; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white);
  font-family: var(--display); font-weight: 800; font-size: 15px; cursor: pointer;
}
.donform-amt.is-selected { border: 2px solid var(--pine); background: var(--pine-soft); color: var(--pine); }
.donform-amt-other { color: var(--ink-soft); font-size: 14px; }
.donform-toggle {
  display: flex; background: var(--paper-2); border-radius: 8px; padding: 4px; margin-bottom: 14px;
}
.donform-toggle-opt {
  flex: 1; text-align: center; padding: 8px;
  font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--ink-soft);
  border-radius: 6px;
}
.donform-toggle-opt.is-selected { background: var(--white); color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm); }
.donform-tax {
  padding: 11px 13px; background: var(--apricot-soft); border-radius: 8px;
  font-size: 12px; color: #8a6d12; margin-bottom: 14px;
  display: flex; gap: 8px; align-items: center;
}
.donform-tax span { font-size: 14px; }
.donform-submit {
  width: 100%; padding: 14px; background: var(--pine); color: #fff; border: none; border-radius: 8px;
  font-family: var(--display); font-weight: 800; font-size: 14px; cursor: pointer;
}
.donform-secure { font-size: 10.5px; color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* Frais de transaction (grid carte / paypal) */
.fee-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fee-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.fee-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.fee-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; }
.fee-title { font-family: var(--display); font-weight: 800; font-size: 15px; }
.fee-rows { display: grid; gap: 8px; font-size: 13px; }
.fee-rows > div { display: flex; justify-content: space-between; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.fee-rows > div.last { border-bottom: none; padding-bottom: 0; }
.fee-note {
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 18px 22px; margin-top: 18px;
  display: flex; gap: 14px; align-items: center;
}
.fee-note span { font-size: 24px; }
.fee-note p { font-size: 13.5px; color: #c7d0e8; margin: 0; }

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

/* ============================================================
   Page Promesses de dons
   ============================================================ */

.promises-board { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.promises-head { padding: 16px 20px; background: var(--ink); display: flex; align-items: center; gap: 10px; }
.promises-title { color: #fff; font-family: var(--display); font-weight: 800; font-size: 14px; }
.promises-sub { color: #8597b8; font-size: 11.5px; margin-left: auto; }
.promises-body { padding: 20px; }
.promises-stats { display: flex; gap: 8px; margin-bottom: 16px; }
.ps-stat { flex: 1; text-align: center; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.ps-stat-v { font-family: var(--display); font-weight: 800; font-size: 20px; }
.ps-stat-k { font-size: 10.5px; color: var(--ink-soft); }
.ps-stat-ok { background: var(--pine-soft); border-color: var(--pine-soft); }
.ps-stat-ok .ps-stat-v { color: var(--pine); }
.ps-stat-pending { background: var(--apricot-soft); border-color: var(--apricot-soft); }
.ps-stat-pending .ps-stat-v { color: #8a6d12; }

.promise-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.promise-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
}
.promise-row .av {
  width: 28px; height: 28px; border-radius: 50%; color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 11px; flex-shrink: 0;
}
.promise-row .prow-info { flex: 1; font-size: 12.5px; }
.promise-row .prow-sub { font-size: 10.5px; color: var(--ink-soft); }
.promise-row .prow-status { font-size: 10px; padding: 2px 7px; border-radius: 100px; font-weight: 700; }
.promise-row .status-soon { background: var(--apricot-soft); color: #8a6d12; }
.promise-row .status-late { background: #fef0e0; color: #b35200; }
.promise-row .status-ok   { background: var(--pine-soft); color: var(--pine-deep); }
.promise-row .prow-amt { font-family: var(--display); font-weight: 800; font-size: 13px; }
.promise-row .amt-ok { color: var(--pine); }

/* Scénarios de relance */
.scenario-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.scenario {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.scenario .scen-head { display: flex; align-items: center; gap: 11px; }
.scenario .scen-info { flex: 1; }
.scenario .scen-name { font-family: var(--display); font-weight: 800; font-size: 13.5px; }
.scenario .scen-when { font-size: 11px; color: var(--ink-soft); }
.scenario .scen-preview {
  font-size: 11.5px; color: var(--ink-soft);
  padding-left: 57px; margin-top: 10px; font-style: italic;
}

/* Segment list — page CRM donateur */
.segment-list { display: grid; gap: 12px; }
.segment-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 18px; display: flex; align-items: center; gap: 13px; box-shadow: var(--shadow-sm);
}
.segment-item .seg-info { flex: 1; }
.segment-item .seg-name { font-family: var(--display); font-weight: 800; font-size: 14px; }
.segment-item .seg-meta { font-size: 12px; color: var(--ink-soft); }

/* Deep dive */
.dive { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 1060px; margin: 0 auto; }
.dive.rev { direction: rtl; }
.dive.rev > * { direction: ltr; }
.dive .txt .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--apricot); margin-bottom: 12px;
}
.dive .txt h2 { font-size: 34px; margin-bottom: 16px; }
.dive .txt p { font-size: 16px; color: var(--ink-soft); margin-bottom: 20px; }
.dive-list { display: grid; gap: 12px; list-style: none; }
.dive-list li { display: flex; gap: 11px; font-size: 14.5px; }
.dive-list .ck {
  width: 22px; height: 22px; border-radius: 7px; background: var(--pine-soft);
  color: var(--pine); display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 800;
}
.dive-visual {
  background: var(--paper-2); border-radius: var(--r-xl); padding: 28px; border: 1px solid var(--line);
}

/* Fiche donateur */
.donor-file { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-md); }
.df-head { padding: 22px; background: linear-gradient(135deg, var(--pine), var(--pine-deep)); color: var(--white); display: flex; align-items: center; gap: 14px; }
.df-head .av { width: 52px; height: 52px; border-radius: 50%; background: var(--apricot); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.df-head .nm { font-family: var(--display); font-weight: 800; font-size: 18px; }
.df-head .meta { font-size: 12px; color: #c7d0e8; }
.df-body { padding: 20px 22px; }
.df-stats { display: flex; gap: 10px; margin-bottom: 18px; }
.df-stat { flex: 1; text-align: center; padding: 12px 6px; background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line); }
.df-stat .v { font-family: var(--display); font-weight: 800; font-size: 18px; }
.df-stat .k { font-size: 10.5px; color: var(--ink-soft); margin-top: 2px; }
.df-tl-title { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.df-event { display: flex; gap: 12px; padding-bottom: 14px; position: relative; }
.df-event::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -4px; width: 2px; background: var(--line); }
.df-event:last-child::before { display: none; }
.df-event .dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 3px solid var(--white); box-shadow: 0 0 0 1.5px var(--line); margin-top: 2px; }
.df-event .ev-t { font-size: 13px; font-weight: 700; }
.df-event .ev-d { font-size: 11.5px; color: var(--ink-soft); }

/* Témoignage */
.quote-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-wrap .mark { font-family: var(--display); font-size: 64px; color: var(--apricot); line-height: 1; }
.quote-wrap blockquote { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 22px; }
.quote-wrap .who { font-size: 14px; color: var(--ink-soft); }
.quote-wrap .who b { color: var(--ink); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; display: flex; gap: 10px; font-weight: 700; }
.faq-item h3 .q { color: var(--pine); }
.faq-item p { font-size: 14.5px; color: var(--ink-soft); padding-left: 26px; }
.faq-item p a { color: var(--pine); font-weight: 600; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--pine), var(--pine-deep)); color: var(--white);
  border-radius: var(--r-xl); padding: 56px 48px; text-align: center;
  max-width: 1000px; margin: 0 auto; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,210,63,.22); top: -90px; right: -50px;
}
.cta-band h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; position: relative; color: var(--white); }
.cta-band p { font-size: 17px; color: #c7d0e8; margin-bottom: 28px; position: relative; }
.cta-band .hero-cta { justify-content: center; position: relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { background: var(--ink); color: #8597b8; padding: 56px 40px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; max-width: 1080px; margin: 0 auto 36px; }
.foot-grid .logo { color: var(--white); margin-bottom: 12px; }
.foot-grid p { font-size: 13.5px; max-width: 250px; }
.foot-col h3 { color: var(--white); font-family: var(--display); font-size: 14px; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; padding: 4px 0; }
.foot-col a:hover { color: var(--white); }
.foot-bot { max-width: 1080px; margin: 0 auto; padding-top: 22px; border-top: 1px solid #1f3157; font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.foot-bot a { color: inherit; }
.foot-bot a:hover { color: var(--white); }

/* Hero des pages internes (feature & solutions) */
.page-hero {
  padding: 70px 40px 56px; text-align: center;
  background:
    radial-gradient(ellipse 50% 70% at 50% 0%, var(--pine-soft) 0%, transparent 65%),
    var(--paper);
}
.page-hero .crumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.page-hero .crumb a { color: var(--pine); font-weight: 600; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); max-width: 760px; margin: 0 auto 18px; }
.page-hero h1 em { font-style: normal; color: var(--pine); }
.page-hero p { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 0 auto 28px; }
.page-hero .hero-cta { justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid, .ps-grid, .dive, .foot-grid { grid-template-columns: 1fr; }
  .dive.rev { direction: ltr; }
  .bento, .bento-3 { grid-template-columns: 1fr; }
  .feat-lg, .feat-sm, .feat-wide { grid-column: span 1; }
  .hero-visual { margin-top: 20px; }
  .fc-1, .fc-2 { position: static; margin: 10px 0; }
  .site-head { padding: 14px 20px; gap: 12px; flex-wrap: wrap; }
  .hero, .sec, .site-foot { padding-left: 20px; padding-right: 20px; }

  /* ---------- MENU MOBILE ----------
     Auparavant `.site-nav { display: none }` : sous 900 px, le site n'offrait
     AUCUNE navigation en dehors du footer. Le panneau ci-dessous restitue
     l'intégralité du menu, déplié par le bouton hamburger. */
  .nav-burger { display: flex; }
  .nav-panel {
    display: none; flex-direction: column; gap: 4px;
    width: 100%; order: 3; padding-top: 14px; margin-top: 12px;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .site-head.is-open .nav-panel { display: flex; }

  .site-nav { flex-direction: column; gap: 0; font-size: 16px; }
  .site-nav > a { padding: 13px 4px; border-bottom: 1px solid var(--line); }

  /* Le sous-menu « Fonctionnalités » devient une liste dépliée, sans survol. */
  .nav-drop { display: block; }
  .nav-drop > .nav-drop-trigger { display: none; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    width: 100%; box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 6px; grid-template-columns: 1fr; gap: 0;
  }
  .nav-drop-menu::before { display: none; }
  .nav-drop-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }

  .site-head .actions { margin-left: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 14px; }
  .login-wrap { width: 100%; }
  .login-trigger { width: 100%; justify-content: center; }
  /* En mobile le menu Connexion est déplié : pas de survol possible. */
  .login-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; box-shadow: none; border-color: var(--line); margin-top: 8px;
  }
  .site-head .actions .btn { justify-content: center; }
}

/* ============================================================
   ============================================================
   PATTERNS DE MISE EN PAGE ALTERNATIFS (v2)
   ------------------------------------------------------------
   Ajoutés pour casser la redondance des pages fonctionnalités
   (toutes bâties sur hero → bento-3 → dive → dive.rev → ps-grid).
   Chaque bloc ci-dessous est un « archétype » réutilisable :
     .hero-split    hero asymétrique aligné à gauche (≠ .page-hero centré)
     .stepper-h     parcours horizontal numéroté (≠ .workflow-steps vertical)
     .chip-grid     grille d'étiquettes (formats, compatibilités)
     .stat-band     bandeau sombre de chiffres clés
     .chapters      chapitres 01→N pleine largeur (≠ .bento-3)
     .cmp-table     tableau comparatif réel (≠ .ps-grid en 2 colonnes)
     .faq-acc       FAQ en accordéon <details> (≠ .faq-list dépliée)
     .soon-band     bandeau « bientôt disponible »
     .recon-table   visuel : relevé bancaire rapproché
     .schedule      visuel : échéancier de dons récurrents
     .seatmap-demo  visuel : plan de salle
     .donor-dash    visuel : tableau de bord de l'espace donateur
   ============================================================ */

/* ---------- Hero asymétrique aligné à gauche ---------- */
.hero-split {
  padding: 72px 40px 60px;
  background:
    radial-gradient(ellipse 55% 75% at 92% 15%, var(--pine-soft) 0%, transparent 62%),
    var(--paper);
}
.hero-split-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px;
  align-items: center; max-width: var(--maxw); margin: 0 auto;
}
.hero-split .crumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.hero-split .crumb a { color: var(--pine); font-weight: 600; }
.hero-split h1 { font-size: clamp(34px, 4vw, 52px); margin: 14px 0 18px; }
.hero-split h1 em { font-style: normal; color: var(--pine); }
.hero-split .lead { font-size: 18px; color: var(--ink-soft); margin-bottom: 26px; max-width: 520px; }
.hero-split .hero-trust { margin-top: 24px; }

/* ---------- Parcours horizontal numéroté ---------- */
.stepper-h {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 1060px; margin: 0 auto; list-style: none; counter-reset: sth;
}
.stepper-h.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stepper-h.cols-5 { grid-template-columns: repeat(5, 1fr); }
.stepper-h li { position: relative; padding: 0 18px; text-align: center; counter-increment: sth; }
.stepper-h li::before {
  content: counter(sth, decimal-leading-zero);
  display: grid; place-items: center; margin: 0 auto 16px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--line);
  font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--pine);
  position: relative; z-index: 2;
}
.stepper-h li::after {
  content: ""; position: absolute; top: 23px; left: 50%; width: 100%;
  height: 2px; background: var(--line); z-index: 1;
}
.stepper-h li:last-child::after { display: none; }
.stepper-h .st-name { font-family: var(--display); font-weight: 800; font-size: 15.5px; margin-bottom: 6px; }
.stepper-h .st-desc { font-size: 13.5px; color: var(--ink-soft); }
.stepper-h li.is-done::before { background: var(--pine); border-color: var(--pine); color: var(--white); }

/* ---------- Grille d'étiquettes (formats, compatibilités) ---------- */
.chip-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 940px; margin: 0 auto;
}
.chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 13px 18px; box-shadow: var(--shadow-sm);
}
.chip .chip-key {
  font-family: var(--display); font-weight: 800; font-size: 13px;
  background: var(--pine-soft); color: var(--pine-deep);
  padding: 3px 9px; border-radius: 6px; letter-spacing: .02em;
}
.chip .chip-lab { font-size: 13.5px; color: var(--ink-soft); }
.chip .chip-lab b { color: var(--ink); font-weight: 700; }

/* ---------- Bandeau sombre de chiffres clés ---------- */
.stat-band {
  background: var(--ink); border-radius: var(--r-xl); color: var(--white);
  max-width: 1000px; margin: 0 auto; padding: 44px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center;
}
.stat-band.cols-4 { grid-template-columns: repeat(4, 1fr); }
.stat-band .sb-v { font-family: var(--display); font-weight: 800; font-size: 38px; color: var(--apricot); line-height: 1.05; }
.stat-band .sb-k { font-size: 13.5px; color: #8597b8; margin-top: 8px; }
.stat-band .sb-k b { color: var(--white); }

/* ---------- Chapitres 01 → N (pleine largeur, alternés) ---------- */
.chapters { max-width: 940px; margin: 0 auto; counter-reset: chp; display: grid; gap: 8px; }
.chapter {
  display: grid; grid-template-columns: 92px 1fr; gap: 26px; align-items: start;
  padding: 28px 0; border-top: 1px solid var(--line); counter-increment: chp;
}
.chapter:last-child { border-bottom: 1px solid var(--line); }
.chapter::before {
  content: counter(chp, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-size: 40px;
  color: var(--line); line-height: 1; letter-spacing: -.04em;
}
.chapter h3 { font-size: 21px; margin-bottom: 8px; }
.chapter p { font-size: 15px; color: var(--ink-soft); }
.chapter .ch-tag {
  display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700;
  color: var(--pine-deep); background: var(--pine-soft); padding: 3px 10px; border-radius: 100px;
}

/* ---------- Tableau comparatif ---------- */
.cmp-table { max-width: 880px; margin: 0 auto; overflow-x: auto; }
.cmp-table table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp-table th, .cmp-table td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.cmp-table thead th {
  font-family: var(--display); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em; color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
}
.cmp-table thead th.col-mc { color: var(--pine); }
.cmp-table td.col-mc { background: var(--pine-soft); font-weight: 600; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody tr td:first-child { font-weight: 700; }
.cmp-table .yes { color: var(--sky); font-weight: 800; }
.cmp-table .no  { color: #b3261e; font-weight: 800; }

/* ---------- FAQ en accordéon ---------- */
.faq-acc { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-acc details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.faq-acc summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--display); font-weight: 700; font-size: 16.5px;
  display: flex; align-items: center; gap: 12px;
}
.faq-acc summary::-webkit-details-marker { display: none; }
/* La question est un <h3> pour l'outline du document et la cohérence avec
   .faq-list ; il hérite ici de la typo du summary pour ne rien changer au rendu. */
.faq-acc summary h3 { font: inherit; margin: 0; letter-spacing: inherit; flex: 1; }
.faq-acc summary::after {
  content: "+"; margin-left: auto; font-size: 22px; font-weight: 400;
  color: var(--pine); transition: transform .2s; line-height: 1;
}
.faq-acc details[open] summary::after { transform: rotate(45deg); }
.faq-acc details p { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); }
.faq-acc details p a { color: var(--pine); font-weight: 600; }

/* ---------- Bandeau « bientôt disponible » ---------- */
.badge-soon-strong { background: #fff1f0; color: #b3261e; }
.soon-band {
  max-width: 1000px; margin: 0 auto; border-radius: var(--r-xl);
  border: 1.5px dashed var(--pine); background: var(--pine-soft);
  padding: 36px 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.soon-band .sb-txt { flex: 1; min-width: 280px; }
.soon-band h2 { font-size: 26px; margin-bottom: 8px; }
.soon-band p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Visuel : relevé bancaire rapproché ---------- */
.recon-table {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.recon-head {
  background: var(--ink); color: var(--white); padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
}
.recon-head .rh-t { font-family: var(--display); font-weight: 700; font-size: 13.5px; }
.recon-head .rh-s { font-size: 11.5px; color: #8597b8; margin-left: auto; }
.recon-row {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 12px;
  align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line);
}
.recon-row:last-child { border-bottom: none; }
.recon-row .rr-date { font-size: 11px; color: var(--ink-soft); font-weight: 700; }
.recon-row .rr-lab { font-size: 12.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink); }
.recon-row .rr-match { font-size: 11.5px; margin-top: 3px; display: flex; align-items: center; gap: 6px; }
.recon-row .rr-amt { font-family: var(--display); font-weight: 800; font-size: 14.5px; color: var(--sky); }
.recon-row .score {
  font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 100px;
}
.score-auto { background: #e3f7f0; color: #00714f; }
.score-sugg { background: var(--apricot-soft); color: #8a6d12; }
.score-none { background: var(--paper-2); color: var(--ink-soft); }

/* ---------- Visuel : échéancier de dons récurrents ---------- */
.schedule { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.schedule-head { padding: 18px 20px; background: linear-gradient(135deg, var(--pine), var(--pine-deep)); color: var(--white); }
.schedule-head .sc-n { font-family: var(--display); font-weight: 800; font-size: 16px; }
.schedule-head .sc-m { font-size: 12px; color: #c7d0e8; margin-top: 2px; }
.schedule-body { padding: 8px 0; }
.sc-row { display: flex; align-items: center; gap: 12px; padding: 11px 20px; }
.sc-row + .sc-row { border-top: 1px solid var(--line); }
.sc-row .sc-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.sc-row .sc-date { font-size: 12.5px; font-weight: 700; width: 82px; flex-shrink: 0; }
.sc-row .sc-state { font-size: 11.5px; color: var(--ink-soft); flex: 1; }
.sc-row .sc-amt { font-family: var(--display); font-weight: 800; font-size: 13.5px; }
.sc-row.is-paid .sc-dot { background: var(--sky); }
.sc-row.is-next .sc-dot { background: var(--apricot); }
.sc-row.is-todo .sc-dot { background: var(--line); }
.sc-row.is-todo .sc-date, .sc-row.is-todo .sc-amt { color: var(--ink-soft); }

/* ---------- Visuel : plan de salle ---------- */
.seatmap-demo {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-md);
}
.seatmap-stage {
  background: var(--ink); color: var(--white); border-radius: 6px;
  text-align: center; font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: .18em; padding: 7px; margin-bottom: 18px;
}
.seatmap-rows { display: grid; gap: 7px; margin-bottom: 18px; }
.seatmap-row { display: flex; align-items: center; gap: 6px; justify-content: center; }
.seatmap-row .sr-lab { font-size: 10px; font-weight: 800; color: var(--ink-soft); width: 14px; }
.seat {
  width: 15px; height: 15px; border-radius: 4px 4px 2px 2px; flex-shrink: 0;
  background: var(--pine-soft); border: 1px solid transparent;
}
.seat.is-gold { background: var(--apricot); }
.seat.is-sold { background: var(--line); }
.seat.is-mine { background: var(--pine); box-shadow: 0 0 0 2px rgba(37,64,215,.25); }
.seat.is-blocked { background: repeating-linear-gradient(45deg, #dfe4ee, #dfe4ee 3px, #eef1f7 3px, #eef1f7 6px); }
.seatmap-tables { display: flex; gap: 22px; justify-content: center; margin-bottom: 18px; }
.seat-table { position: relative; width: 62px; height: 62px; }
.seat-table .st-round {
  position: absolute; inset: 13px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 9px; font-weight: 800; color: var(--ink-soft);
}
.seat-table .st-chair {
  position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--pine-soft);
}
.seatmap-legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding-top: 14px; border-top: 1px solid var(--line); }
.seatmap-legend span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-soft); }

/* ---------- Visuel : constructeur de rapport ---------- */
.report-builder {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.rb-head { padding: 14px 18px; background: var(--ink); color: var(--white); display: flex; align-items: center; gap: 10px; }
.rb-head .rb-t { font-family: var(--display); font-weight: 700; font-size: 13.5px; }
.rb-head .rb-src { font-size: 11px; margin-left: auto; background: rgba(255,255,255,.14); padding: 3px 9px; border-radius: 100px; }
.rb-body { padding: 16px 18px; }
.rb-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.rb-cols { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.rb-col {
  font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px;
  background: var(--paper-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.rb-col.is-on { background: var(--pine-soft); color: var(--pine-deep); border-color: transparent; }
.rb-col.is-on::before { content: "✓ "; font-weight: 800; }
.rb-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.rb-table th, .rb-table td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rb-table th { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 800; }
.rb-table td b { font-family: var(--display); }
.rb-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--paper-2); border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-soft); }
.rb-foot .rb-btn { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 11.5px; background: var(--pine); color: var(--white); padding: 5px 11px; border-radius: 7px; }

/* ---------- Bandeau nouveauté (accueil) ---------- */
.ship-band {
  max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.ship-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.ship-card .sc-badge { align-self: flex-start; margin-bottom: 14px; }
.ship-card h3 { font-size: 19px; margin-bottom: 8px; }
.ship-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.ship-card .lnk { margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--pine); }

/* ---------- Visuel : tableau de bord de l'espace donateur ---------- */
.donor-dash { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.dd-head { padding: 18px 20px; background: var(--ink); color: var(--white); }
.dd-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 16px; }
.dd-title .dd-year { margin-left: auto; font-family: var(--body); font-weight: 600; font-size: 11px; background: rgba(255,255,255,.14); padding: 3px 9px; border-radius: 100px; }
.dd-kpis { display: flex; gap: 28px; margin-top: 14px; }
.dd-kpis .k { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8597b8; }
.dd-kpis .v { font-family: var(--display); font-weight: 800; font-size: 19px; }
.dd-kpis .v.is-due { color: var(--apricot); }
.dd-body { padding: 16px 20px; display: grid; gap: 16px; }
.dd-label { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; display: flex; justify-content: space-between; }
.dd-label b { color: var(--pine); letter-spacing: 0; }
.dd-bar { display: flex; height: 12px; border-radius: 100px; background: var(--paper-2); overflow: hidden; }
.dd-bar .mc { background: var(--pine); }
.dd-bar .ext { background: #aab6f2; }
.dd-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 11.5px; color: var(--ink-soft); }
.dd-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.dd-legend b { color: var(--ink); }
.dd-tax { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
.dd-tax b { color: var(--sky); font-family: var(--display); }
.dd-months { display: flex; align-items: flex-end; gap: 5px; height: 58px; }
.dd-months span { flex: 1; background: var(--pine); border-radius: 3px 3px 0 0; min-height: 2px; }
.dd-months span.z { background: var(--line); }
.dd-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12.5px; }
.dd-row + .dd-row { margin-top: 8px; }
.dd-row .dd-r-t { flex: 1; }
.dd-row .dd-r-t small { display: block; font-size: 11px; color: var(--ink-soft); }
.dd-row .dd-r-a { font-family: var(--display); font-weight: 800; }
.dd-row.is-due { background: var(--apricot-soft); border-color: transparent; }
.dd-row .dd-btn { font-family: var(--display); font-weight: 700; font-size: 11px; background: var(--pine); color: var(--white); padding: 5px 10px; border-radius: 7px; white-space: nowrap; }

/* ---------- Responsive des nouveaux patterns ---------- */
@media (max-width: 900px) {
  .hero-split { padding: 48px 20px 40px; }
  .hero-split-grid { grid-template-columns: 1fr; gap: 32px; }
  .stepper-h, .stepper-h.cols-3, .stepper-h.cols-5 { grid-template-columns: 1fr; gap: 26px; }
  .stepper-h li::after { display: none; }
  .stat-band, .stat-band.cols-4 { grid-template-columns: 1fr 1fr; padding: 32px 22px; gap: 22px; }
  .stat-band .sb-v { font-size: 30px; }
  .chapter { grid-template-columns: 1fr; gap: 10px; }
  .chapter::before { font-size: 30px; }
  .ship-band { grid-template-columns: 1fr; }
  .soon-band { padding: 28px 22px; }
}

/* ============================================================
   BLOG — page d'article (blog/article.php, mise en page des pages légales)
   ============================================================ */
.blog-article .head-block .badge{margin-bottom:12px}
.blog-article .legal-content h2{scroll-margin-top:90px}
.blog-article .legal-content table{width:100%;border-collapse:collapse;margin:16px 0;font-size:15px}
.blog-article .legal-content th,.blog-article .legal-content td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top}
.blog-article .legal-content th{background:var(--paper-2)}
.blog-article .legal-content table{display:block;overflow-x:auto}
.blog-faq{margin-top:8px}
.blog-sources{font-size:14px;line-height:1.6;padding-left:18px}
.blog-sources a{word-break:break-word}
.blog-disclaimer{margin-top:28px;font-size:13.5px;color:var(--ink-soft)}
.blog-draft-band{background:#fff4d6;border-bottom:1px solid #f0d48a;color:#6b4e00;font-size:14px;padding:10px 16px;text-align:center}
mark.blog-todo{background:#ffe08a;color:inherit;padding:0 3px;border-radius:3px}

/* Bulle de chat (pastille du site ; Crisp n'est chargé qu'au clic — includes/footer.php) */
.chat-launcher {
  position: fixed; left: 20px; bottom: 20px; z-index: 150;
  width: 60px; height: 60px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--pine); color: var(--white); box-shadow: var(--shadow-lg);
  transition: transform .2s ease, background-color .2s ease;
}
.chat-launcher:hover { background: var(--pine-deep); transform: scale(1.06); }
.chat-launcher:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; }
.chat-launcher.is-loading { opacity: .7; cursor: progress; }
.chat-launcher[hidden] { display: none; }
@media (max-width: 600px) { .chat-launcher { left: 14px; bottom: 14px; width: 54px; height: 54px; } }
@media (prefers-reduced-motion: reduce) { .chat-launcher { transition: none; } .chat-launcher:hover { transform: none; } }
@media print { .chat-launcher { display: none; } }

/* ---------- Page 404 (404.php) ---------- */
.nf-code {
  display: inline-block; margin-top: 18px; padding: 5px 12px; border-radius: 999px;
  background: var(--pine-soft); color: var(--pine); font: 600 13px/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase;
}
.nf-hero .g-shero-grid { align-items: center; }
.nf-receipt {
  position: relative; max-width: 360px; justify-self: end; width: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 22px 24px 66px; transform: rotate(2deg);
  font-family: var(--body); color: var(--ink);
}
/* bord bas « déchiré » du ticket */
.nf-receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px;
  background: radial-gradient(circle at 7px -2px, transparent 7px, var(--paper) 7.5px) 0 0 / 14px 10px repeat-x;
}
.nf-receipt-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px dashed var(--line);
  font: 700 15px/1.2 var(--display);
}
.nf-receipt-cerfa { font: 600 11px/1 var(--body); color: var(--ink-soft); border: 1px solid var(--line); border-radius: 4px; padding: 4px 6px; letter-spacing: .06em; text-transform: uppercase; }
.nf-receipt-rows { margin: 0; }
.nf-receipt-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--paper-2); font-size: 14px; }
.nf-receipt-rows dt { color: var(--ink-soft); flex: none; }
.nf-receipt-rows dd { margin: 0; font-weight: 600; text-align: right; min-width: 0; }
.nf-receipt-rows > .nf-row-url { display: block; }
.nf-row-url dd { text-align: left; margin-top: 6px; }
.nf-receipt-url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--pine); overflow-wrap: anywhere; background: var(--pine-soft); border-radius: 6px; padding: 6px 8px; }
.nf-receipt-foot { margin-top: 12px; font-size: 13px; color: var(--ink-soft); font-style: italic; }
.nf-stamp {
  position: absolute; right: 22px; bottom: 18px; transform: rotate(-8deg);
  padding: 5px 12px; border: 3px solid #d8452f; border-radius: 6px; color: #d8452f;
  font: 800 19px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,255,255,.55); opacity: .85; mix-blend-mode: multiply; pointer-events: none;
}
html.g-js .nf-stamp { opacity: 0; transform: rotate(-8deg) scale(1.6); transition: opacity .35s ease 1s, transform .45s cubic-bezier(.2,1.4,.4,1) 1s; }
html.g-js .is-in .nf-stamp, html.g-js.g-fallback .nf-stamp { opacity: .85; transform: rotate(-8deg) scale(1); }
.nf-eyebrow { text-align: center; }
.nf-account {
  max-width: 1120px; margin: 40px auto 0; padding: 24px 28px; border-radius: var(--r-lg);
  background: var(--pine-soft); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.nf-account strong { display: block; font: 700 19px/1.25 var(--display); margin-bottom: 4px; }
.nf-account span { color: var(--ink-soft); }
.nf-account-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .nf-receipt { justify-self: center; transform: rotate(1deg); }
  .nf-account { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html.g-js .nf-stamp { transition: none; opacity: .85; transform: rotate(-8deg); }
}
