/* Identité sobre et grand public : couleur de marque issue de la configuration (/brand.css), pas de rouge dominant.
   Fil conducteur : le document vérifié, où l'information utile est surlignée. Polices auto-hébergées (OFL). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #142139;
  --muted: #536079;
  --line: #dce2ea;
  --surface: #ffffff;
  --page: #f4f7fb;
  --note: #e8eef8;
  --marker: #f6e27a;
  --sage: #1f7a62;
  --sage-bg: #e4f3ed;
  --warn-ink: #6b4a00;
  --warn-bg: #fff6dd;
  --focus: #1a73c7;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--display);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 33, 57, 0.06), 0 8px 24px -12px rgba(20, 33, 57, 0.18);
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--page);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.demo-banner {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.9rem;
}
.demo-banner { background: var(--warn-bg); color: var(--warn-ink); }

/* En-tête ------------------------------------------------------------------ */

.site-header { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.site-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
/* Une feuille dont une ligne est surlignée. */
.brand-mark {
  flex: none;
  width: 24px;
  height: 30px;
  border-radius: 5px;
  background:
    linear-gradient(var(--marker), var(--marker)) 5px 12px / 14px 5px no-repeat,
    linear-gradient(#ffffff, #ffffff) 5px 6px / 12px 2px no-repeat,
    linear-gradient(#ffffff, #ffffff) 5px 20px / 14px 2px no-repeat,
    var(--brand);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 22px; align-items: center; font-size: 0.97rem; }
.site-nav a:not(.button) { color: var(--ink); text-decoration: none; white-space: nowrap; }
.site-nav a:not(.button):hover { color: var(--brand); text-decoration: underline; }
.site-nav form { display: flex; margin: 0; }
.site-nav .link {
  color: var(--muted); white-space: nowrap; text-decoration: none; line-height: inherit;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.93rem;
}
.site-nav .link:hover { color: var(--ink); border-color: var(--muted); }

main { max-width: 1160px; margin: 0 auto; padding: 36px 20px 72px; }
main:has(.home) { max-width: none; padding: 0; }
[id] { scroll-margin-top: 84px; }
.narrow { max-width: 600px; }

/* Typographie --------------------------------------------------------------- */

h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: 2.1rem; line-height: 1.12; margin: 0 0 16px; font-weight: 700; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 6px; font-weight: 650; }
.lead { font-size: 1.2rem; max-width: 32em; color: #2b3954; }
.section-lead { font-size: 1.1rem; max-width: 38em; color: var(--muted); margin: 0 0 32px; }

/* Boutons ------------------------------------------------------------------- */

.button {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: filter 0.15s;
}
.button:hover { filter: brightness(1.12); }
.button.small { padding: 7px 16px; font-size: 0.95rem; }
.button.large { padding: 15px 30px; font-size: 1.08rem; }
.button.secondary { background: var(--surface); color: var(--brand); }
.button.secondary:hover { background: var(--note); filter: none; }
.button.inverse { background: #fff; color: var(--brand); border-color: #fff; }
.button:disabled { opacity: 0.6; cursor: progress; }
.link { background: none; border: none; padding: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; }
.inline { display: inline; }
.actions form { margin-right: 12px; }

/* Accueil -------------------------------------------------------------------- */

.section-inner { max-width: 1160px; margin: 0 auto; padding: 80px 20px; }
.home h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.12; max-width: 20em; }

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 72px 20px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 13em; font-weight: 750; }
.hero h1 span { display: block; }
.hero-detail { max-width: 34em; color: #536079; margin-top: 0; }
/* Les trois engagements : une rangée pleine largeur sous l'accroche et l'exemple d'analyse. */
.hero-pillars { grid-column: 1 / -1; list-style: none; margin: 0; padding: 32px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; counter-reset: pillar; }
.hero-pillars li { counter-increment: pillar; }
.hero-pillars li::before { content: "0" counter(pillar); display: block; font-family: var(--display); font-weight: 750; font-size: 0.95rem; color: var(--brand); letter-spacing: 0.04em; margin-bottom: 8px; }
.home .hero-pillars h2 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 8px; }
.hero-pillars p { margin: 0; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin: 32px 0 28px; }
.hero-secondary { font-weight: 700; }
.reassure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; }
.reassure li { padding-left: 22px; position: relative; }
.reassure li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

/* Exemple d'analyse : l'élément marquant de la page. */
.shot { margin: 0; }
.shot figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); text-align: right; }
.shot-window { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px 24px 22px; }
.shot-kicker { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.shot-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 2px 0 0; }
.shot-meta { margin: 2px 0 16px; color: var(--muted); font-size: 0.9rem; }
.shot-checks { list-style: none; margin: 0 0 16px; padding: 0; }
.shot-checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line); }
.shot-icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; }
.shot-checks .ok .shot-icon { background: var(--sage-bg); color: var(--sage); }
.shot-checks .check .shot-icon { background: var(--warn-bg); color: var(--warn-ink); }
.shot-text { display: flex; flex-direction: column; font-size: 0.93rem; line-height: 1.35; }
.shot-text span { color: var(--muted); font-size: 0.86rem; }
.shot-state { font-size: 0.78rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.shot-checks .ok .shot-state { background: var(--sage-bg); color: var(--sage); }
.shot-checks .check .shot-state { background: var(--warn-bg); color: var(--warn-ink); }
.shot-next { margin: 0; font-size: 0.92rem; font-weight: 700; }

/* L'huissier aussi a des règles */
.rules-band { background: var(--brand); color: #fff; }
.home .rules-band h2 { color: #fff; }
.rules-band .section-lead { color: rgba(255, 255, 255, 0.82); }
.rule-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rule-cards li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 22px 20px; }
.rule-cards h3 { color: #fff; font-size: 1.15rem; margin-bottom: 8px; }
.rule-cards p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 0.97rem; }

/* La dette et la loi */
.stakes-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.stakes .section-lead { margin-bottom: 0; }
.stakes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stakes-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 50px; position: relative; font-weight: 700; font-size: 1.05rem; }
.stakes-list li::before { content: "§"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.3rem; color: var(--brand); }
.stakes-note { margin: 18px 0 0; color: var(--muted); }

/* Étapes du recouvrement (accueil et /parcours) */
.journey { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.journey-steps { list-style: none; counter-reset: etape; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.journey-steps li { counter-increment: etape; }
.journey-steps a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); color: var(--ink); text-decoration: none; position: relative; }
.journey-steps a::before { content: counter(etape); width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }
.journey-steps a:hover { border-color: var(--brand); background: var(--note); }
.journey-steps strong { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.journey-steps span { color: var(--muted); font-size: 0.9rem; }
.journey-more { margin: 28px 0 0; }

/* Pourquoi l'IA */
.ai-points { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ai-points div { border-top: 3px solid var(--brand); padding-top: 18px; }
.ai-points dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.ai-points dd { margin: 0; color: var(--muted); }

/* Page « Où en êtes-vous ? » */
.procedure-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); letter-spacing: -0.03em; }
.procedure-head .lead { margin-bottom: 32px; }
.procedure-head .section-inner { padding-bottom: 56px; }
.procedure-step { background: var(--surface); border-top: 1px solid var(--line); }
.procedure-step:nth-of-type(odd) { background: var(--page); }
.procedure-step .section-inner { padding-top: 56px; padding-bottom: 56px; }
.procedure-number { margin: 0 0 6px; font-weight: 700; color: var(--brand); }
.procedure-who { color: var(--muted); font-size: 1.08rem; max-width: 42em; margin: 0 0 24px; }
.procedure-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.procedure-col { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.procedure-col h3 { display: flex; gap: 10px; align-items: center; font-size: 1.05rem; margin-bottom: 10px; }
.procedure-col h3 span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; flex: none; }
.procedure-col.can h3 span { background: var(--note); color: var(--brand); }
.procedure-col.cannot h3 span { background: var(--sage-bg); color: var(--sage); }
.procedure-col.need h3 span { background: var(--warn-bg); color: var(--warn-ink); }
.procedure-col ul { margin: 0; padding-left: 18px; }
.procedure-col li { margin: 6px 0; }
.procedure-cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 14px; background: var(--note); }
.procedure-cta p { margin: 0; max-width: 46em; }
.procedure-foot { border-top: 1px solid var(--line); }
.procedure-foot .section-inner { padding-top: 32px; padding-bottom: 40px; }
.procedure-foot p { margin: 0; color: var(--muted); font-size: 0.93rem; max-width: 52em; }
/* Guides */
.guide-narrow > * { max-width: 760px; }
.guide-crumb { margin: 0 0 12px; font-size: 0.93rem; }
.guide-updated { color: var(--muted); font-size: 0.93rem; margin: 20px 0 0; }
.guide-section { border-top: 1px solid var(--line); }
.guide-section .section-inner { padding-top: 48px; padding-bottom: 48px; }
.guide-section h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 36px 0 12px; }
.guide-section h2:first-child { margin-top: 0; }
.guide-section li { margin: 8px 0; }
.guide-stages { list-style: none; padding: 0; margin: 0; counter-reset: stage; display: grid; gap: 12px; }
.guide-stages li { counter-increment: stage; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.guide-stages li::before { content: counter(stage); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--note); color: var(--brand); font-weight: 700; }
.guide-stages span { color: var(--muted); }
.guide-note { color: var(--muted); font-size: 0.93rem; }
.guide-essentials { padding: 22px 24px; border-radius: 14px; background: var(--note); }
.guide-essentials h2 { margin-top: 0; }
.guide-essentials ul { margin: 0; padding-left: 20px; }
.guide-advice { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--brand); background: var(--surface); border-radius: 0 12px 12px 0; }
.guide-intro { color: var(--muted); max-width: 46em; margin: 0 0 24px; }
.guide-objects { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.guide-object { display: flex; flex-direction: column; padding: 18px 20px; border: 1px solid var(--line); border-top-width: 4px; border-radius: 14px; background: var(--surface); }
.guide-object h3 { font-size: 1.08rem; margin: 0 0 8px; }
.guide-object p { margin: 0 0 10px; }
.guide-object .guide-ref { margin-top: auto; white-space: normal; }
.guide-verdict { display: inline-flex; align-self: flex-start; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 0.88rem; font-weight: 700; }
.guide-object.protected { border-top-color: var(--sage); }
.guide-object.protected .guide-verdict { background: var(--sage-bg); color: var(--sage); }
.guide-object.seizable { border-top-color: var(--brand); }
.guide-object.seizable .guide-verdict { background: var(--note); color: var(--brand); }
.guide-object.depends { border-top-color: var(--warn-ink); }
.guide-object.depends .guide-verdict { background: var(--warn-bg); color: var(--warn-ink); }
.guide-cases { margin: 20px 0 0; display: grid; gap: 12px; }
.guide-cases > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.guide-cases dt { font-weight: 700; margin-bottom: 6px; }
.guide-cases dd { margin: 0; }
.guide-steps li { padding-left: 4px; }
.guide-ref { display: inline-block; color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.guide-ref a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.guide-ref a:hover { color: var(--ink); }
.guide-sources a { overflow-wrap: anywhere; }
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 760px; }
.guide-list a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: inherit; text-decoration: none; }
.guide-list a:hover, .guide-list a:focus-visible { border-color: var(--brand); }
.guide-list strong { color: var(--brand); font-size: 1.08rem; }
.guide-list span { color: var(--muted); }
.guide-terms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.guide-terms li { margin: 0; }
mark { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); color: inherit; padding: 0 3px; }

.entry { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.entry .section-inner { padding: 48px 20px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.entry h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin: 0; }
.entry-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.entry-list li { padding: 9px 16px; border-radius: 999px; background: var(--note); font-weight: 700; font-size: 0.95rem; }

.how-steps { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.how-steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 20px; }
.how-steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  margin-bottom: 14px;
}
.how-steps h3 { font-size: 1.3rem; }
.how-steps p { margin: 0; color: var(--muted); }

/* Tarifs -------------------------------------------------------------------- */

.prices { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prices-page { border-top: 0; }
.prices-page h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); letter-spacing: -0.03em; }
.pricing-pilot { margin: 0 0 28px; padding: 14px 18px; border-radius: 12px; background: var(--sage-bg); color: #163f33; max-width: 52em; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.offer { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.offer-free { background: var(--page); }
.offer-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.offer-flag { position: absolute; top: -14px; white-space: nowrap; left: 20px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.82rem; font-weight: 700; }
.offer h3 { font-size: 1.35rem; margin: 0; }
.offer-for { margin: 4px 0 18px; color: var(--muted); font-size: 0.95rem; min-height: 2.9em; }
.offer-price { margin: 0 0 18px; display: flex; flex-direction: column; }
.offer-price .amount { font-family: var(--display); font-size: 2.4rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1.05; }
.offer-professional .amount { font-size: 1.9rem; }
.offer-price .unit { color: var(--muted); font-size: 0.9rem; }
.offer-features { list-style: none; margin: 0 0 22px; padding: 16px 0 0; border-top: 1px solid var(--line); flex: 1; font-size: 0.95rem; }
.offer-features li { padding-left: 22px; position: relative; margin: 8px 0; }
.offer-features li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.soon { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--note); color: var(--muted); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.offer .button { width: 100%; }
.pricing-extra { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; align-items: start; }
.pricing-extra > p { margin: 0; }
.never { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.never li { padding-left: 22px; position: relative; }
.never li::before { content: "✓"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }

/* Engagements, questions, appel final ------------------------------------- */

.trust-list { margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.trust-list dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 6px; }
.trust-list dd { margin: 0; color: var(--muted); }

.faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); max-width: 780px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; font-size: 1.07rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.6rem; font-weight: 500; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 42em; }
.faq h2 { margin-bottom: 24px; }

.closing { background: var(--ink); color: #dfe6f2; text-align: center; padding: 80px 20px; }
.closing h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 auto 10px; }
.closing p { margin: 0 0 28px; }

/* Pied de page -------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #b9c4d6; font-size: 0.93rem; border-top: 1px solid #24324d; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer-inner { max-width: 1160px; margin: 0 auto; padding: 48px 20px 32px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.site-footer p { margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.2rem; }
.footer-title { color: #fff; font-weight: 700; }
.footer-about p:last-child { max-width: 30em; }
.footer-legal { max-width: 1160px; margin: 0 auto; padding: 0 20px 28px; }

/* Connexion et inscription ------------------------------------------------- */

.auth { display: flex; justify-content: center; padding: 24px 0; }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.8rem; }
.auth-switch { margin: 20px 0 0; }
.auth-alt { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.auth-alt summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.auth-alt .hint { margin: 10px 0 0; }
.password-card { margin-top: 32px; }
.password-card h2 { margin: 0; }

.prose { max-width: 680px; }
.prose h2 { margin-top: 28px; }
.prose .table-wrap { margin: 16px 0; }
.prose td, .prose th { vertical-align: top; }

/* Espace connecté ----------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.two-cols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 16px; }
.two-cols .card { margin-bottom: 0; }

.page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.page-head h1 { margin: 0; }

.form { display: flex; flex-direction: column; gap: 6px; }
.form label { font-weight: 600; margin-top: 10px; }
.form input:not([type=radio]):not([type=file]), .form select {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid #8a96a3;
  border-radius: 6px;
  background: var(--surface);
  width: 100%;
}
.form input[type=file] { font: inherit; padding: 12px; border: 1px dashed #8a96a3; border-radius: 6px; background: var(--page); }
.form .button { margin-top: 16px; align-self: flex-start; }
.form h2 { margin-top: 20px; }
.form .hint { margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 12px; margin: 8px 0; }
legend { font-weight: 600; padding: 0 4px; }
.choices legend { position: absolute; left: -999px; }
.choice { display: flex; gap: 8px; align-items: baseline; font-weight: 400 !important; margin-top: 4px !important; }

.notice { background: var(--note); border-left: 4px solid var(--brand); padding: 12px 16px; border-radius: 4px; }
.notice p { margin: 6px 0; }
.info { background: var(--note); padding: 12px; border-radius: 4px; }
.error { background: var(--warn-bg); color: var(--warn-ink); border-left: 4px solid #b07d00; padding: 12px; border-radius: 4px; }
.muted, .meta, .hint { color: var(--muted); }
.hint { font-size: 0.92rem; }
.empty { color: var(--muted); }
.tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--muted); border-radius: 999px; font-size: 0.8rem; color: var(--muted); }

.case-list { list-style: none; padding: 0; margin: 0; }
.case-list h2 { margin-bottom: 4px; }
.case-list .meta { margin: 0; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; }
.field dt { font-size: 0.85rem; color: var(--muted); }
.field dd { margin: 0; }

.documents { width: 100%; border-collapse: collapse; margin-bottom: 16px; display: block; overflow-x: auto; }
.documents th, .documents td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.documents td a { word-break: break-all; }
.upload-progress { padding-left: 18px; margin: 8px 0 0; }

@media (max-width: 1020px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .trust-list, .rule-cards, .ai-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 44px 20px 60px; }
  .hero-pillars { grid-template-columns: 1fr; gap: 24px; }
  .entry .section-inner, .pricing-extra { grid-template-columns: 1fr; }
  .how-steps, .site-footer-inner, .stakes-inner, .procedure-cols { grid-template-columns: 1fr; }
  .stakes-inner { gap: 28px; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps { gap: 32px; }
  .section-inner { padding: 56px 20px; }
  .nav-wide { display: none; }
}

@media (max-width: 560px) {
  :root { font-size: 16px; }
  h1 { font-size: 1.7rem; }
  .offers, .trust-list, .rule-cards, .ai-points, .journey-steps { grid-template-columns: 1fr; }
  .offer-for { min-height: 0; }
  .site-nav { gap: 12px; }
  .site-nav .button.small { padding: 6px 13px; }
  .brand { gap: 8px; }
  .nav-mid { display: none; }
  .site-header-inner { padding: 10px 16px; flex-wrap: nowrap; }
  .brand-name { font-size: 1.15rem; }
  .section-inner, .hero { padding-left: 16px; padding-right: 16px; }
  .shot-window { padding: 18px 16px; }
  .shot-checks li { grid-template-columns: 26px minmax(0, 1fr); }
  .shot-state { grid-column: 2; justify-self: start; }
  .auth-card { padding: 22px; }
}

/* E-mails collés et vérification */
.paste-email { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line, #dfe3e0); }
.email-list { list-style: none; padding: 0; margin: 0 0 14px; }
.email-list li { padding: 8px 0; border-bottom: 1px solid var(--line, #dfe3e0); }
.form textarea, textarea.draft, input.draft {
  font: inherit; width: 100%; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid #8a96a3; border-radius: 6px; background: #fff; color: inherit;
}
textarea.draft, input.draft { background: var(--page); margin-bottom: 8px; }
.card label[for^="draft"] { display: block; font-weight: 600; margin-top: 10px; }
.signals { padding-left: 1.2em; }
.signals li { margin: 8px 0; }
.signals li::marker { content: "! "; font-weight: 700; color: #8a6400; }
.companies { list-style: none; padding: 0; }
.companies li { padding: 10px 0; border-bottom: 1px solid var(--line, #dfe3e0); }
.form.search { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.form.search label { width: 100%; margin-top: 0; }
.form.search input { flex: 1 1 220px; }
.form.search .button { margin-top: 0; }
.email-body {
  white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 0.95rem;
  background: var(--page); padding: 14px; border-radius: 6px; max-height: 480px; overflow: auto;
}
.copy-status { color: var(--muted); }
.email-title, .email-list a, .meta { overflow-wrap: anywhere; }
.analysis { border-left: 6px solid var(--brand); }
.verdict-label { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin: 0 0 6px; }
.verdict-high { border-left-color: #8a6400; background: var(--warn-bg); }
.verdict-high .verdict-label::before { content: "⚠ "; }
.verdict-medium { border-left-color: #b9a000; }
.verdict-low { border-left-color: var(--sage); }
.analysis h3 { margin-top: 22px; }
.next-step { margin-top: 22px; padding: 16px 18px; background: var(--note); border-radius: 8px; }
.next-step h3 { margin-top: 0; }
.next-action { font-size: 1.08rem; font-weight: 600; }
.plan li { margin: 10px 0; }
.case-status { margin: 6px 0 0; padding: 6px 10px; background: var(--note); border-radius: 4px; display: inline-block; }
.contact { margin: 12px 0; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.contact-title { font-weight: 700; margin: 0 0 6px; }
.contact ul { margin: 0; padding-left: 1.2em; overflow-wrap: anywhere; }
.sent-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Parcours du dossier : frise horizontale d'étapes, un panneau par étape ------- */

.case-card { position: relative; }
.case-card:hover { border-color: var(--brand); }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.summary { font-size: 1.05rem; margin: 0 0 4px; }
.alert-line { margin: 0 0 14px; padding: 10px 14px; background: var(--warn-bg); color: var(--warn-ink); border-radius: 6px; }
.alert-line.alert-high { border-left: 4px solid var(--warn-ink); }

.stepper-wrap { overflow-x: auto; margin: 22px -20px 0; padding: 4px 20px 2px; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; min-width: min-content; }
.st { flex: 1 1 0; min-width: 104px; position: relative; }
/* Trait qui relie chaque pastille à la suivante. */
.st + .st::before {
  content: ""; position: absolute; top: 19px; right: 50%; width: 100%; height: 3px;
  background: var(--line); z-index: 0;
}
.st-done + .st::before, .st-warn + .st::before { background: var(--sage); }
.st button {
  position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 6px 10px; border: 0; background: none; font: inherit; color: var(--ink); cursor: pointer; text-align: center;
  border-bottom: 3px solid transparent;
}
.st button[aria-selected="true"] { border-bottom-color: var(--brand); }
.st button:hover .st-name { text-decoration: underline; text-underline-offset: 3px; }
.st-dot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 1rem; background: var(--surface); border: 3px solid var(--line); color: var(--muted);
}
.st-done .st-dot { background: var(--sage); border-color: var(--sage); color: #fff; }
.st-warn .st-dot { background: var(--warn-bg); border-color: var(--warn-ink); color: var(--warn-ink); }
.st-wait .st-dot { border-color: var(--brand); border-style: dashed; color: var(--brand); }
.st-current .st-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--note); }
.st-todo .st-dot { border-color: var(--brand); color: var(--brand); font-size: 1.3rem; }
.st-todo + .st::before { background: var(--line); }
.st-name { font-weight: 600; font-size: 0.92rem; line-height: 1.25; }
.st-next .st-name { font-weight: 400; color: var(--muted); }
.st-when { font-size: 0.8rem; color: var(--muted); }
.st-current .st-when { color: var(--brand); font-weight: 600; }

.st-panel { margin-top: 0; padding: 16px 18px; border-radius: 0 0 8px 8px; background: var(--page); border-top: 1px solid var(--line); }
.st-panel + .st-panel { margin-top: 12px; }
.js .st-panel:not([data-selected]) { display: none; }
.js .st-panel + .st-panel { margin-top: 0; }
.st-panel-current { background: var(--note); }
.st-panel > :first-child { margin-top: 0; }
.st-panel > :last-child { margin-bottom: 0; }
.j-title { margin: 0 0 4px; font-weight: 600; font-size: 1.05rem; }
.checks { padding-left: 1.2em; }
.checks li { margin: 3px 0; }
.st-panel .draft { width: 100%; background: var(--surface); }
.sent-message { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; margin: 10px 0; }
.sent-message .email-body { margin: 0; max-height: 280px; overflow: auto; }
.j-actions { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sent-form { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 12px; }
.sent-form label { font-weight: 600; }
.link-button { border: 0; background: none; padding: 0; font: inherit; font-size: 0.9rem; color: var(--muted); text-decoration: underline; cursor: pointer; }

.notes-form fieldset { border: 0; margin: 10px 0 0; padding: 0; }
.notes-form legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.notes-form .radio { display: inline-flex; gap: 6px; align-items: center; margin: 0 18px 0 0; font-weight: 400; }
.notes-form input:not([type=radio]), .notes-form textarea { background: var(--surface); }
.payments-details { display: none; padding: 4px 0 0 14px; border-left: 3px solid var(--line); margin-top: 6px; }
.notes-form:has(input[value="yes"]:checked) .payments-details { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.field-row > div { display: flex; flex-direction: column; gap: 6px; }

.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.more > summary, .case-info > summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.case-info .fields { margin-top: 12px; }
.case-info .actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 560px) {
  .st { min-width: 74px; }
  .st button { padding: 0 2px 8px; }
  .st-dot { width: 34px; height: 34px; }
  .st + .st::before { top: 16px; }
  .st-name { font-size: 0.85rem; }
}

/* Administration -------------------------------------------------------------- */
.admin h2 { margin-top: 8px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-weight: 700; color: var(--muted); background: var(--page); white-space: nowrap; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-email { overflow-wrap: anywhere; min-width: 200px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.admin-actions form { margin: 0; }
.admin-delete summary { cursor: pointer; color: var(--warn-ink); font-weight: 700; padding: 7px 0; }
.admin-delete .form { min-width: 240px; margin-top: 6px; }
.admin-delete label { font-weight: 400; margin-top: 0; font-size: 0.88rem; }
.status-banned { color: var(--warn-ink); font-weight: 700; }
.button.danger { background: var(--warn-ink); border-color: var(--warn-ink); }

/* Analyse en cours : fenêtre centrale --------------------------------------------- */
html.modal-open { overflow: hidden; }
.analysis-overlay[hidden] { display: none; }
.analysis-overlay {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(20, 33, 57, 0.55); backdrop-filter: blur(4px);
}
.analysis-modal {
  width: 100%; max-width: 440px; background: var(--surface); border-radius: 22px; padding: 36px 32px 28px;
  text-align: center; box-shadow: 0 30px 80px -20px rgba(10, 20, 40, 0.5);
}
.analysis-modal h2 { font-size: 1.5rem; margin: 22px 0 8px; }
.analysis-modal > p { color: var(--muted); margin: 0 0 18px; }
.analysis-spinner { position: relative; width: 96px; height: 96px; margin: 0 auto; }
.analysis-spinner .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 6px solid var(--note); border-top-color: var(--brand); border-right-color: var(--brand);
  animation: spin 1.1s linear infinite;
}
/* La feuille surlignée de la marque, au centre de l'anneau. */
.analysis-spinner .sheet {
  position: absolute; left: 31px; top: 25px; width: 34px; height: 44px; border-radius: 6px;
  background:
    linear-gradient(var(--marker), var(--marker)) 7px 18px / 20px 7px no-repeat,
    linear-gradient(#fff, #fff) 7px 9px / 16px 3px no-repeat,
    linear-gradient(#fff, #fff) 7px 30px / 20px 3px no-repeat,
    var(--brand);
  animation: breathe 2.2s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(0.92); } }
.analysis-tasks { list-style: none; margin: 0 auto 18px; padding: 14px 18px; max-width: 320px; text-align: left; background: var(--page); border-radius: 14px; }
.analysis-tasks li { position: relative; padding-left: 22px; margin: 6px 0; font-size: 0.95rem; }
.analysis-tasks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: blink 1.8s ease-in-out infinite; }
.analysis-tasks li:nth-child(2)::before { animation-delay: 0.6s; }
.analysis-tasks li:nth-child(3)::before { animation-delay: 1.2s; }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.analysis-elapsed { font-weight: 700; color: var(--ink) !important; }
.analysis-late { color: var(--warn-ink) !important; }
.analysis-modal .link { font-size: 0.95rem; margin-top: 4px; }
@media (prefers-reduced-motion: reduce) {
  .analysis-spinner .ring { animation-duration: 3s; }
  .analysis-spinner .sheet, .analysis-tasks li::before { animation: none; opacity: 1; }
}

/* Message à envoyer, présenté comme un e-mail ------------------------------------- */
.composer { margin: 12px 0 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.composer-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.composer-label { flex: none; width: 52px; color: var(--muted); font-size: 0.9rem; }
.composer-value { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.composer-body { position: relative; padding: 14px 14px 10px; }
.composer-body pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 0.97rem; line-height: 1.6; max-height: 420px; overflow: auto; }
.composer-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.copy-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--brand); font: inherit; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.copy-btn:hover { background: var(--note); }
.copy-btn.copied { background: var(--sage-bg); color: var(--sage); border-color: var(--sage-bg); }
.contact-more { margin-top: 10px; }
.contact-more > summary { cursor: pointer; color: var(--muted); font-size: 0.92rem; }

/* Mise à jour à la demande et notes ------------------------------------------------ */
.update-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 10px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--note); }
.update-bar p { margin: 0; flex: 1 1 320px; }
.update-bar .hint { margin: 0; }
.updates { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.update-list { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 8px; }
.update-list li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: 10px; padding: 8px 12px; }
.update-list .meta { margin: 0; font-size: 0.85rem; }
.update-body { margin: 2px 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.update-form textarea { background: var(--surface); }
.update-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.update-actions .button { margin-top: 0; }

/* Fil du dossier ----------------------------------------------------------------- */
.thread-list { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.thread-list::before { content: ""; position: absolute; left: 39px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.thread-item { position: relative; display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 8px 0; }
.thread-kind {
  position: relative; z-index: 1; justify-self: center; align-self: start; padding: 2px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; background: var(--surface); border: 1px solid var(--line); color: var(--muted);
}
.thread-in .thread-kind { background: var(--note); color: var(--brand); border-color: var(--note); }
.thread-out .thread-kind { background: var(--sage-bg); color: var(--sage); border-color: var(--sage-bg); }
.thread-note .thread-kind { background: #fdf6cf; color: #6b5a00; border-color: #fdf6cf; }
.thread-content { min-width: 0; }
.thread-title { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.thread-date { margin-left: 8px; font-weight: 400; font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.thread-detail { color: var(--muted); font-size: 0.93rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.thread-detail summary { cursor: pointer; color: var(--brand); }
.thread-detail .email-body { margin-top: 6px; }
@media (max-width: 560px) {
  .thread-item { grid-template-columns: 64px 1fr; gap: 10px; }
  .thread-list::before { left: 31px; }
  .composer-label { width: 40px; }
}

/* Contrôles de procédure ----------------------------------------------------------- */
.legal-checks { margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.legal-title { margin: 0 0 8px; font-weight: 700; font-family: var(--display); }
.legal-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: start; }
.check-status { justify-self: start; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.check-anomalie_probable .check-status { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-ink); }
.check-a_verifier .check-status { background: var(--note); color: var(--brand); border-color: var(--note); }
.check-conforme .check-status { background: var(--sage-bg); color: var(--sage); border-color: var(--sage-bg); }
.check-source { color: var(--muted); font-size: 0.88rem; }
.legal-checks .hint { margin: 10px 0 0; }
.more .legal-checks { margin-bottom: 14px; }
@media (max-width: 560px) { .check { grid-template-columns: 1fr; gap: 4px; } }

/* Crédits */
.credit-balance { max-width: 34em; }
.credit-balance-label { margin: 0; color: var(--muted); font-weight: 700; }
.credit-balance-amount { margin: 4px 0 10px; font-family: var(--display); font-size: 2.6rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.05; }
.credits-page h2 { margin-top: 36px; }
.credit-grid td.credit-cost, .credit-delta { white-space: nowrap; font-weight: 700; text-align: right; }
.credit-plus { color: var(--sage); }
.credit-hint { display: block; margin-top: 6px; }
.offer form { margin: 0; }
.offer form .button { width: 100%; }
.pricing-extra h3 { margin: 32px 0 8px; }
.pricing-extra .table-wrap { margin: 16px 0 20px; }

/* Contexte de réception d'une pièce */
.reception-fields { display: grid; gap: 6px; margin: 4px 0 14px; }
.reception-fields select { max-width: 100%; }
.reception-line { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }
.reception-missing { font-style: italic; }
.reception-edit summary { cursor: pointer; font-size: 0.9rem; margin-top: 4px; }
.reception-edit .form { margin-top: 8px; }
.lexicon-toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 24px; margin-top: 28px; }
.lexicon-toc p { margin: 0 0 4px; font-weight: 700; font-size: 0.93rem; }
.lexicon-toc ul { margin: 0; padding-left: 18px; font-size: 0.93rem; }
.lexicon-toc li { margin: 4px 0; }
.lexicon-term { padding: 20px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.lexicon-term:last-child { border-bottom: 0; }
.lexicon-term h3 { font-size: 1.15rem; margin: 0 0 8px; }
.lexicon-term p { margin: 0 0 10px; }
.lexicon-short { font-weight: 700; }
