/* ==========================================================================
   BoringLocal — feuille de style unique
   Règles : fond papier, filets visibles, aucune ombre, aucun dégradé,
   rayons ≤ 6px, chiffres en mono, Stabilo ≤ 3 % de la surface.
   ========================================================================== */

:root {
  --papier: #F6F3EC;
  --papier-2: #ECE7DB;
  --encre: #15171A;
  --graphite: #5E6167;
  --filet: #D9D3C5;
  --stabilo: #F5D63D;
  --vert: #17784C;
  --brique: #B4441F;
  --blanc: #FFFFFF;

  --f-titre: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-texte: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: 16px;
  --max: 1200px;
  --radius: 4px;
  --radius-ui: 6px;
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 700;
  font-stretch: 88%;
  font-variation-settings: "wdth" 88;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: 44px; line-height: 1.04; }
h2 { font-size: 32px; line-height: 1.12; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
@media (min-width: 900px) {
  h1 { font-size: 72px; line-height: 1; }
  h2 { font-size: 44px; line-height: 1.09; }
  h3 { font-size: 24px; }
}

.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--graphite); }
.small { font-size: 15px; }
.lead { font-size: 19px; line-height: 1.55; max-width: 60ch; }
@media (min-width: 900px) { .lead { font-size: 21px; } }
.measure { max-width: 64ch; }
.hl { background: linear-gradient(transparent 12%, var(--stabilo) 12%, var(--stabilo) 92%, transparent 92%); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.pos { color: var(--vert); }
.neg { color: var(--brique); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--graphite);
  margin-bottom: 20px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; border-top: 1px solid var(--filet); }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--alt { background: var(--papier-2); }
.section--dark { background: var(--encre); color: var(--papier); border-top-color: var(--encre); }
.section--dark .muted, .section--dark .eyebrow { color: #A7A9AD; }
.section--tight { padding: 48px 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head p { color: var(--graphite); }
.section--dark .section-head p { color: #C9CACC; }

.grid-2 { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
  .grid-7-5 { grid-template-columns: 7fr 5fr; }
  .grid-5-7 { grid-template-columns: 5fr 7fr; }
}
.center-y { align-items: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid var(--encre); border-radius: var(--radius);
  font-family: var(--f-texte); font-weight: 500; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .12s, color .12s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--stabilo); color: var(--encre); }
.btn--primary:hover { background: var(--encre); color: var(--stabilo); }
.btn--secondary { background: transparent; color: var(--encre); }
.btn--secondary:hover { background: var(--encre); color: var(--papier); }
.section--dark .btn--primary { border-color: var(--stabilo); }
.section--dark .btn--primary:hover { background: var(--papier); color: var(--encre); border-color: var(--papier); }
@media (max-width: 599px) {
  .btn { white-space: normal; text-align: center; padding-top: 12px; padding-bottom: 12px; }
}

.grid-2 > *, .calc > *, .work-row > *, .price-card > *, .fit > *, .points > *, .scenarios > * { min-width: 0; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--block { width: 100%; }
.link-arrow { font-weight: 500; }
@media (min-width: 600px) { .link-arrow { white-space: nowrap; } }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.reassure { margin-top: 16px; font-family: var(--f-mono); font-size: 13px; color: var(--graphite); }
.section--dark .reassure { color: #A7A9AD; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--papier); border-bottom: 1px solid var(--filet); }
.site-header .container { display: flex; align-items: center; height: var(--header-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-titre); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; font-variation-settings: "wdth" 88; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 26px; height: 26px; border: 1.5px solid var(--encre); border-radius: 3px; display: grid; place-items: center; background: var(--stabilo); }
.logo-mark::after { content: ""; width: 10px; height: 10px; background: var(--encre); border-radius: 1px; }

.nav { display: none; align-items: center; gap: 4px; margin-left: 16px; }
.nav > a, .nav-drop > button { padding: 8px 12px; font-size: 15px; font-weight: 500; text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius); }
.nav > a:hover, .nav-drop > button:hover, .nav a[aria-current="page"] { background: var(--papier-2); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: " ▾"; font-size: 11px; }
.nav-drop-menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: var(--papier); border: 1px solid var(--encre); border-radius: var(--radius); padding: 8px; }
.nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 10px 12px; text-decoration: none; border-radius: var(--radius); }
.nav-drop-menu a:hover { background: var(--papier-2); }
.nav-drop-menu .mono { display: block; font-size: 12px; color: var(--graphite); }
.nav-drop-menu strong { font-weight: 500; font-size: 15px; }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header-right .aside-link { display: none; font-size: 15px; color: var(--graphite); }
.header-right .login { display: none; font-size: 15px; font-weight: 500; text-decoration: none; }
.header-right .btn { min-height: 40px; padding: 0 16px; font-size: 15px; gap: 0; }
.nav a, .nav button, .header-right a { white-space: nowrap; }
@media (min-width: 1080px) and (max-width: 1239px) { .nav > a, .nav-drop > button { padding: 8px 8px; } .nav { margin-left: 4px; } }
.burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--encre); border-radius: var(--radius); background: transparent; cursor: pointer; padding: 0; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--encre); box-shadow: 0 -5px 0 var(--encre), 0 5px 0 var(--encre); }

@media (max-width: 420px) { .header-right .btn .long { display: none; } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header-right .login { display: inline; }
}
@media (min-width: 1240px) { .header-right .aside-link { display: inline; } }

.mobile-nav { display: none; border-top: 1px solid var(--filet); background: var(--papier); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px var(--gutter); border-bottom: 1px solid var(--filet); text-decoration: none; font-weight: 500; }
.mobile-nav .sub { padding-left: calc(var(--gutter) + 16px); font-weight: 400; color: var(--graphite); }
.mobile-nav .mobile-label { padding: 18px var(--gutter) 6px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
@media (min-width: 1080px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
@media (min-width: 900px) { .hero { padding: 96px 0 112px; } }
.hero h1 { margin-bottom: 24px; }
.hero .grid-2 { align-items: center; }

/* ---------- Carte UI (captures produit) ---------- */
.ui { background: var(--blanc); border: 1px solid var(--encre); border-radius: var(--radius-ui); overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--encre); }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--filet); font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.ui-body { padding: 16px; }
.ui-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--filet); font-family: var(--f-mono); font-size: 13px; background: #FBFAF6; }
.ui-caption { margin-top: 12px; font-family: var(--f-mono); font-size: 13px; color: var(--graphite); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 3px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; white-space: nowrap; border: 1px solid currentColor; }
.pill--ok { color: var(--vert); }
.pill--wait { color: var(--brique); }
.pill--neutral { color: var(--graphite); }
.stars { font-family: var(--f-mono); letter-spacing: 1px; }

/* Journal */
.journal-list { list-style: none; }
.journal-list li { display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid #EEEAE0; }
.journal-list li:last-child { border-bottom: 0; }
.journal-list .t { font-family: var(--f-mono); font-size: 13px; color: var(--graphite); padding-top: 1px; }
.journal-list .what { font-weight: 500; }
.journal-list .where { grid-column: 2; font-size: 13px; color: var(--graphite); }
.journal-list li.new { animation: slideIn .4s ease-out; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .journal-list li.new { animation: none; } }
@media (max-width: 899px) { .journal-list li:nth-child(n+4) { display: none; } }

/* ---------- Tableaux « relevé » ---------- */
.ledger { width: 100%; border-collapse: collapse; font-size: 16px; }
.ledger th, .ledger td { padding: 14px 12px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.ledger th { font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.ledger td.num, .ledger th.num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger tfoot td { border-bottom: 0; border-top: 1.5px solid var(--encre); font-weight: 600; }
.ledger-wrap { overflow-x: auto; background: var(--papier); border: 1px solid var(--encre); border-radius: var(--radius); }
.big-stat { font-family: var(--f-titre); font-variation-settings: "wdth" 88; font-weight: 700; font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; margin: 32px 0 8px; }
@media (min-width: 900px) { .big-stat { font-size: 56px; } }
@media (max-width: 600px) {
  .ledger { font-size: 14px; }
  .ledger th, .ledger td { padding: 12px 8px; }
}

/* ---------- Bon de travail ---------- */
.work { list-style: none; border-top: 1.5px solid var(--encre); }
.work-row { display: grid; gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--filet); }
@media (min-width: 900px) { .work-row { grid-template-columns: 5fr 7fr; gap: 64px; padding: 64px 0; align-items: center; } }
.work-row .eyebrow { color: var(--encre); }
.work-row h3 { font-size: 26px; }
@media (min-width: 900px) { .work-row h3 { font-size: 32px; line-height: 1.12; } }
.work-row p { color: var(--graphite); }

/* Avis */
.review { padding: 16px; border-bottom: 1px solid #EEEAE0; }
.review:last-child { border-bottom: 0; }
.review-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.review-author { font-weight: 600; }
.review-text { color: #33363B; }
.reply { margin-top: 12px; padding: 12px 14px; background: #F7F5EF; border-left: 2px solid var(--encre); border-radius: 0 3px 3px 0; }
.reply-label { font-family: var(--f-mono); font-size: 12px; color: var(--graphite); margin-bottom: 6px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.review-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.fake-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--encre); border-radius: 3px; font-size: 13px; font-weight: 500; background: transparent; }
.fake-btn--primary { background: var(--encre); color: var(--blanc); }

/* Calendrier */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); font-family: var(--f-mono); font-size: 11px; }
.cal > div { min-height: 58px; padding: 6px; border-right: 1px solid #EEEAE0; border-bottom: 1px solid #EEEAE0; color: var(--graphite); }
.cal > div:nth-child(7n) { border-right: 0; }
.cal .dow { min-height: 0; text-transform: uppercase; letter-spacing: .05em; background: #FBFAF6; }
.cal .post { display: block; margin-top: 4px; padding: 3px 5px; background: var(--papier-2); border-left: 2px solid var(--vert); color: var(--encre); font-family: var(--f-texte); font-size: 11px; line-height: 1.25; border-radius: 0 2px 2px 0; }
.cal .post.next { border-left-color: var(--graphite); }
@media (max-width: 520px) { .cal .post { font-size: 0; padding: 0; height: 6px; } .cal > div { min-height: 40px; } }

/* File de photos */
.photo-queue { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ph { aspect-ratio: 1; border-radius: 3px; border: 1px solid var(--filet); position: relative; overflow: hidden; }
.ph span { position: absolute; left: 6px; bottom: 6px; font-family: var(--f-mono); font-size: 10px; background: var(--blanc); padding: 1px 4px; border-radius: 2px; }
.ph.done::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; display: grid; place-items: center; background: var(--vert); color: #fff; font-size: 11px; border-radius: 2px; }
.ph-1 { background: repeating-linear-gradient(135deg, #E3D7C1 0 8px, #D9CAB0 8px 16px); }
.ph-2 { background: repeating-linear-gradient(45deg, #C9D3C7 0 8px, #BCC8BA 8px 16px); }
.ph-3 { background: repeating-linear-gradient(90deg, #D8CFC7 0 10px, #CEC3B9 10px 20px); }
.ph-4 { background: repeating-linear-gradient(0deg, #E6DDBF 0 6px, #DCD1AE 6px 12px); }

/* Liste de fiches */
.fiches { list-style: none; }
.fiche { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #EEEAE0; }
.fiche:last-child { border-bottom: 0; }
.fiche-name { font-weight: 600; }
.fiche-meta { grid-column: 1; font-family: var(--f-mono); font-size: 12px; color: var(--graphite); }
.fiche .pill { grid-row: 1 / span 2; grid-column: 2; }

/* ---------- Relevé (calculateur) ---------- */
.calc { display: grid; gap: 32px; }
@media (min-width: 900px) { .calc { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.field { margin-bottom: 28px; }
.field label, .field .label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; margin-bottom: 10px; }
.field output, .field .val { font-family: var(--f-mono); font-size: 20px; font-weight: 500; }
.field .hint { font-size: 14px; color: var(--graphite); margin-top: 6px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--encre); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--encre); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; background: var(--stabilo); border: 1.5px solid var(--encre); border-radius: 3px; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: var(--stabilo); border: 1.5px solid var(--encre); border-radius: 3px; }

.input-money { display: flex; align-items: center; border: 1.5px solid var(--encre); border-radius: var(--radius); background: var(--blanc); max-width: 240px; }
.input-money input { width: 100%; border: 0; background: transparent; padding: 12px 14px; font-family: var(--f-mono); font-size: 20px; outline: none; }
.input-money span { white-space: nowrap; padding: 0 14px; font-family: var(--f-mono); color: var(--graphite); }
.input-money:focus-within { outline: 2px solid var(--encre); outline-offset: 2px; }

.segmented { display: inline-flex; border: 1.5px solid var(--encre); border-radius: var(--radius); overflow: hidden; }
.segmented button { border: 0; background: transparent; padding: 10px 18px; font-size: 15px; font-weight: 500; cursor: pointer; }
.segmented button + button { border-left: 1.5px solid var(--encre); }
.segmented button[aria-pressed="true"] { background: var(--encre); color: var(--papier); }

.releve { background: var(--blanc); border: 1px solid var(--encre); border-radius: var(--radius-ui); font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 14px; }
@media (min-width: 600px) { .releve { font-size: 15px; } }
.releve-head { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--filet); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.releve-body { padding: 8px 20px; }
.releve-line { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; }
.releve-line .k { flex: 0 1 auto; }
.releve-line .k small { display: block; color: var(--graphite); font-size: 12px; }
.releve-line .dots { flex: 1 1 auto; min-width: 16px; border-bottom: 1px dotted #B9B3A6; transform: translateY(-4px); }
.releve-line .v { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.releve-total { border-top: 1.5px solid var(--encre); margin-top: 6px; padding-top: 16px; }
.releve-total .k { font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.releve-total .v { font-size: 30px; font-weight: 500; color: var(--vert); }
@media (min-width: 600px) { .releve-total .v { font-size: 40px; } }
.releve-foot { padding: 14px 20px; border-top: 1px solid var(--filet); font-size: 12px; color: var(--graphite); background: #FBFAF6; }

/* ---------- Marque blanche (portail) ---------- */
.portal { --brand: #1F4E79; }
.portal-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--brand); color: #fff; transition: background-color .25s; }
.portal-logo { width: 28px; height: 28px; border-radius: 4px; background: #fff; color: var(--brand); display: grid; place-items: center; font-family: var(--f-titre); font-weight: 800; font-size: 15px; transition: color .25s; }
.portal-name { font-weight: 600; }
.portal-client { margin-left: auto; font-size: 13px; opacity: .85; }
.portal-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #EEEAE0; }
.portal-kpis div { padding: 14px 16px; border-right: 1px solid #EEEAE0; }
.portal-kpis div:last-child { border-right: 0; }
.portal-kpis strong { display: block; font-family: var(--f-mono); font-size: 22px; font-weight: 500; }
.portal-kpis span { font-size: 12px; color: var(--graphite); }
.portal-tag { color: var(--brand); font-weight: 600; transition: color .25s; }
.brand-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.brand-switch button { border: 1.5px solid var(--encre); background: transparent; border-radius: var(--radius); padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; }
.brand-switch button[aria-pressed="true"] { background: var(--encre); color: var(--papier); }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-family: var(--f-mono); font-size: 14px; }
.checks li::before { content: "✓ "; color: var(--vert); }
.checks.stack { flex-direction: column; }
.crosses { list-style: none; display: flex; flex-direction: column; gap: 8px; font-family: var(--f-mono); font-size: 14px; }
.crosses li::before { content: "✕ "; color: var(--brique); }

/* ---------- Audit PDF ---------- */
.pdf { background: var(--blanc); border: 1px solid var(--encre); border-radius: 2px; padding: 28px 24px; max-width: 460px; margin: 0 auto; position: relative; }
@media (min-width: 600px) { .pdf { padding: 40px 36px; } }
.pdf::before { content: ""; position: absolute; inset: 8px -8px -8px 8px; border: 1px solid var(--encre); border-radius: 2px; background: var(--papier-2); z-index: -1; }
.pdf-wrap { position: relative; z-index: 0; padding: 0 8px 8px 0; }
.pdf-brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--filet); }
.pdf-brand i { width: 20px; height: 20px; background: #1F4E79; border-radius: 3px; display: block; }
.pdf h4 { font-size: 26px; line-height: 1.1; margin: 24px 0 4px; }
.pdf .score { display: flex; align-items: baseline; gap: 10px; margin: 24px 0; font-family: var(--f-mono); }
.pdf .score strong { font-size: 48px; font-weight: 500; line-height: 1; color: var(--brique); }
.pdf ul { list-style: none; border-top: 1px solid var(--filet); }
.pdf li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--filet); font-size: 14px; }
.pdf li b { font-family: var(--f-mono); font-weight: 500; color: var(--brique); white-space: nowrap; }
.pdf li b.ok { color: var(--vert); }
.pdf-foot { margin-top: 20px; font-family: var(--f-mono); font-size: 11px; color: var(--graphite); }

/* ---------- Étapes ---------- */
.steps { list-style: none; counter-reset: step; border-top: 1.5px solid var(--encre); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--filet); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); color: var(--graphite); }
.steps .dur { font-family: var(--f-mono); font-size: 15px; white-space: nowrap; }
.steps strong { font-weight: 500; }
.steps-h { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--encre); counter-reset: step; }
@media (min-width: 768px) { .steps-h { grid-template-columns: repeat(3, 1fr); } }
.steps-h li { counter-increment: step; padding: 20px 20px 20px 0; border-bottom: 1px solid var(--filet); }
@media (min-width: 768px) { .steps-h li { border-bottom: 0; border-right: 1px solid var(--filet); padding: 24px 24px 0 0; } .steps-h li + li { padding-left: 24px; } .steps-h li:last-child { border-right: 0; } }
.steps-h li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--f-mono); font-size: 13px; color: var(--graphite); margin-bottom: 8px; }
.steps-h strong { display: block; font-weight: 600; margin-bottom: 4px; }
.steps-h p { font-size: 15px; color: var(--graphite); }
.punch { margin-top: 32px; font-family: var(--f-titre); font-variation-settings: "wdth" 88; font-weight: 700; font-size: 26px; letter-spacing: -0.01em; }

/* ---------- Grilles de points (sans cartes) ---------- */
.points { display: grid; border-top: 1.5px solid var(--encre); }
@media (min-width: 700px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .points--3 { grid-template-columns: repeat(3, 1fr); } }
.points > div { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--filet); }
@media (min-width: 700px) { .points > div { padding: 32px 32px 32px 0; } }
.points h3 { font-size: 20px; margin-bottom: 8px; }
.points p { font-size: 16px; color: var(--graphite); }
.section--dark .points { border-top-color: var(--papier); }
.section--dark .points > div { border-bottom-color: #34373C; }
.section--dark .points p { color: #B9BBBE; }

/* ---------- Pour qui ---------- */
.fit { display: grid; border: 1px solid var(--encre); border-radius: var(--radius); background: var(--papier); }
@media (min-width: 800px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit > div { padding: 28px 24px; }
@media (min-width: 800px) { .fit > div + div { border-left: 1px solid var(--encre); } }
@media (max-width: 799px) { .fit > div + div { border-top: 1px solid var(--encre); } }
.fit h3 { font-family: var(--f-mono); font-variation-settings: normal; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.fit ul { list-style: none; }
.fit li { padding: 12px 0 12px 28px; border-top: 1px solid var(--filet); position: relative; }
.fit li::before { position: absolute; left: 0; font-family: var(--f-mono); }
.fit .yes li::before { content: "✓"; color: var(--vert); }
.fit .no li::before { content: "✕"; color: var(--brique); }

/* ---------- Prix ---------- */
.price-card { display: grid; border: 1.5px solid var(--encre); border-radius: var(--radius); background: var(--papier); }
@media (min-width: 900px) { .price-card { grid-template-columns: 5fr 7fr; } }
.price-card > div { padding: 32px 24px; }
@media (min-width: 600px) { .price-card > div { padding: 40px; } }
@media (min-width: 900px) { .price-card > div + div { border-left: 1px solid var(--filet); } }
@media (max-width: 899px) { .price-card > div + div { border-top: 1px solid var(--filet); } }
.price { font-family: var(--f-mono); font-variant-numeric: tabular-nums; line-height: 1; margin: 12px 0 8px; }
.price strong { font-size: 72px; font-weight: 500; letter-spacing: -0.03em; }
@media (min-width: 900px) { .price strong { font-size: 96px; } }
.price > span { font-size: 18px; color: var(--graphite); }
.included { list-style: none; columns: 1; }
@media (min-width: 600px) { .included { columns: 2; column-gap: 32px; } }
.included li { break-inside: avoid; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--filet); position: relative; font-size: 16px; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--vert); font-family: var(--f-mono); }

/* ---------- FAQ ---------- */
.faq { border-top: 1.5px solid var(--encre); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 48px 24px 0; color: var(--graphite); }

/* ---------- Onglets ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1.5px solid var(--encre); margin-bottom: 0; }
.tabs button { background: transparent; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px; padding: 12px 16px; font-weight: 500; font-size: 15px; cursor: pointer; color: var(--graphite); }
.tabs button[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--encre); }
.tab-panel[hidden] { display: none; }

/* ---------- CTA final ---------- */
.final-cta { text-align: left; }
.final-cta h2 { font-size: 40px; max-width: 16ch; }
@media (min-width: 900px) { .final-cta h2 { font-size: 72px; line-height: 1; } }
.final-cta p.lead { color: #C9CACC; }

/* ---------- Définition ---------- */
.definition { padding: 48px 0; border-top: 1px solid var(--filet); }
.definition dl { margin: 0; max-width: 760px; }
.definition dt { font-family: var(--f-titre); font-variation-settings: "wdth" 88; font-weight: 700; font-size: 32px; letter-spacing: -0.02em; }
.definition dt span { font-family: var(--f-mono); font-weight: 400; font-size: 16px; color: var(--graphite); margin-left: 8px; letter-spacing: 0; }
.definition dt em { font-family: var(--f-texte); font-size: 16px; color: var(--graphite); font-weight: 400; letter-spacing: 0; }
.definition dd { margin: 8px 0 0; font-size: 19px; }
.definition dd small { display: block; margin-top: 6px; font-size: 16px; color: var(--graphite); }

/* ---------- Footer ---------- */
.site-footer { background: var(--papier); }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); padding: 48px 0; border-top: 1px solid var(--filet); }
@media (min-width: 900px) { .footer-cols { grid-template-columns: 2fr repeat(4, 1fr); } }
.footer-cols h4 { font-family: var(--f-mono); font-variation-settings: normal; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); margin-bottom: 14px; }
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 8px; font-size: 15px; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { font-size: 15px; color: var(--graphite); margin-top: 12px; max-width: 30ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 32px; border-top: 1px solid var(--filet); font-family: var(--f-mono); font-size: 12px; color: var(--graphite); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); margin-right: 6px; vertical-align: 1px; }

/* ---------- Divers ---------- */
/* Valeur à confirmer avant mise en ligne (voir A-CONFIRMER.md) */
.todo { outline: 1.5px dashed var(--brique); outline-offset: 4px; }

.page-hero { padding: 56px 0 64px; }
@media (min-width: 900px) { .page-hero { padding: 88px 0 96px; } }
.page-hero h1 { max-width: 18ch; }
.breadcrumb { font-family: var(--f-mono); font-size: 13px; color: var(--graphite); margin-bottom: 24px; }
.breadcrumb a { color: inherit; }

.cross { display: grid; border-top: 1.5px solid var(--encre); }
@media (min-width: 768px) { .cross { grid-template-columns: repeat(3, 1fr); } }
.cross a { display: block; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--filet); text-decoration: none; }
@media (min-width: 768px) { .cross a { border-bottom: 0; border-right: 1px solid var(--filet); padding: 28px 28px 8px 0; } .cross a + a { padding-left: 28px; } .cross a:last-child { border-right: 0; } }
.cross a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.cross .eyebrow { margin-bottom: 8px; }
.cross p { font-size: 15px; color: var(--graphite); }

.notice { border: 1px solid var(--encre); border-radius: var(--radius); padding: 20px 24px; background: var(--papier); }
.notice strong { font-weight: 600; }

.scenarios { display: grid; gap: 16px; }
@media (min-width: 900px) { .scenarios { grid-template-columns: repeat(3, 1fr); } }
.scenarios .releve-total .v { font-size: 30px; }

.form-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-input { flex: 1 1 260px; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--encre); border-radius: var(--radius); background: var(--blanc); font-size: 17px; }
.form-note { margin-top: 12px; font-size: 14px; color: var(--graphite); }
.form-ok { margin-top: 12px; font-family: var(--f-mono); font-size: 14px; color: var(--vert); }

.phone { width: 100%; max-width: 340px; margin: 0 auto; border: 1.5px solid var(--encre); border-radius: 28px; padding: 12px; background: var(--encre); }
.phone .ui { border-radius: 18px; border: 0; }
.gbp-head { padding: 16px; border-bottom: 1px solid #EEEAE0; }
.gbp-head strong { display: block; font-size: 18px; }
.gbp-head .rating { font-family: var(--f-mono); font-size: 13px; color: var(--graphite); }
.gbp-post { margin: 12px 16px; border: 1px solid #EEEAE0; border-radius: 6px; overflow: hidden; }
.gbp-post .ph { aspect-ratio: 16/8; border: 0; border-radius: 0; }
.gbp-post p { padding: 10px 12px; font-size: 13px; }

.not-found { min-height: 60vh; display: grid; align-content: center; }

.rules { list-style: none; border-top: 1.5px solid var(--encre); }
.rules li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--filet); align-items: baseline; }
@media (min-width: 600px) { .rules li { grid-template-columns: 140px 1fr auto; } }
.rules .stars { font-size: 15px; }
.rules .pill { justify-self: start; grid-column: 2; }
@media (min-width: 600px) { .rules .pill { grid-column: 3; } }

.annot { list-style: none; margin-top: 16px; font-family: var(--f-mono); font-size: 13px; color: var(--graphite); display: grid; gap: 6px; }
.settings-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #EEEAE0; }
.settings-row:last-child { border-bottom: 0; }
.settings-row span:first-child { color: var(--graphite); }
.settings-row span:last-child { font-weight: 500; text-align: right; }
.tag { display: inline-block; padding: 1px 6px; margin: 2px 0 2px 4px; border: 1px solid var(--filet); border-radius: 3px; font-family: var(--f-mono); font-size: 12px; font-weight: 400; }

/* ---------- Très petits écrans (en dernier pour primer) ---------- */
@media (max-width: 374px) {
  .site-header .container, .header-right { gap: 10px; }
  .logo { font-size: 17px; gap: 8px; }
  .site-header .logo { min-width: 0; }
  .logo-mark { width: 22px; height: 22px; }
  .header-right .btn { padding: 0 12px; }
}
@media (max-width: 479px) {
  .steps li { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; }
  .steps .dur { grid-column: 2; color: var(--graphite); font-size: 14px; }
}

/* ---------- Calculateur : comparaison « à la main » ---------- */
.releve-compare { padding: 6px 20px 14px; border-top: 1px dashed #B9B3A6; background: #FBFAF6; }
.releve-sub { margin: 10px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--graphite); }
.releve-gain { border-top: 1.5px solid var(--encre); margin-top: 6px; padding-top: 14px; }
.releve-gain .k { font-weight: 500; }
.releve-gain .v { font-size: 24px; font-weight: 500; color: var(--vert); }

/* ---------- Pages légales ---------- */
.legal-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .legal-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 80px; align-items: start; } }
.toc { font-size: 15px; }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--header-h) + 32px); } }
.toc ol { list-style: none; border-top: 1.5px solid var(--encre); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--filet); }
.toc a { display: grid; grid-template-columns: 32px 1fr; padding: 9px 0; text-decoration: none; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--graphite); padding-top: 2px; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 999px) { .toc details summary { cursor: pointer; font-weight: 500; padding: 12px 0; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: 28px; margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--filet); }
.prose h2:first-child { margin-top: 0; }
@media (min-width: 900px) { .prose h2 { font-size: 32px; } }
.prose h3 { font-size: 20px; margin: 32px 0 10px; }
.prose p, .prose li { color: #2B2E33; }
.prose ul { list-style: none; margin: 0 0 1em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--graphite); }
.prose table { margin: 8px 0 24px; }
.prose .ledger-wrap { margin: 8px 0 24px; }
.prose .ledger { font-size: 15px; }
.prose .ledger td { color: #2B2E33; }
.tldr { border: 1.5px solid var(--encre); border-radius: var(--radius); background: var(--blanc); padding: 24px; margin-bottom: 48px; }
.tldr p.eyebrow { margin-bottom: 12px; }
.tldr ul { margin: 0; }
dl.kv { display: grid; grid-template-columns: 1fr; margin: 8px 0 24px; border-top: 1px solid var(--filet); }
@media (min-width: 600px) { dl.kv { grid-template-columns: 220px 1fr; } }
dl.kv dt, dl.kv dd { margin: 0; padding: 10px 0; }
dl.kv dt { color: var(--graphite); font-size: 15px; }
@media (min-width: 600px) { dl.kv dt, dl.kv dd { border-bottom: 1px solid var(--filet); } }
@media (max-width: 599px) { dl.kv dt { padding-bottom: 0; } dl.kv dd { border-bottom: 1px solid var(--filet); padding-top: 2px; } }

/* ---------- Audit gratuit ---------- */
.audit-search { display: flex; flex-wrap: wrap; gap: 12px; max-width: 720px; margin-top: 32px; }
.audit-search .text-input { flex: 1 1 320px; font-size: 18px; min-height: 60px; }
.audit-search .btn { min-height: 60px; }
.audit-log { list-style: none; margin-top: 32px; max-width: 720px; font-family: var(--f-mono); font-size: 14px; border-top: 1.5px solid var(--encre); }
.audit-log li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--filet); }
.audit-log li .st { color: var(--graphite); white-space: nowrap; }
.audit-log li.done .st { color: var(--vert); }
.audit-result[hidden], .audit-log[hidden] { display: none; }
.audit-banner { margin-bottom: 32px; }
.audit-head { display: grid; gap: 24px; align-items: end; padding-bottom: 32px; border-bottom: 1.5px solid var(--encre); }
@media (min-width: 800px) { .audit-head { grid-template-columns: 1fr auto; } }
.audit-head h2 { margin: 0; }
.audit-score { font-family: var(--f-mono); line-height: 1; white-space: nowrap; }
.audit-score strong { font-size: 96px; font-weight: 500; letter-spacing: -0.04em; }
.audit-score span { font-size: 20px; color: var(--graphite); }
.audit-score.low strong { color: var(--brique); }
.audit-score.mid strong { color: var(--encre); }
.audit-score.high strong { color: var(--vert); }
.checklist { list-style: none; }
.checklist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--filet); }
.checklist .c-title { font-weight: 600; }
.checklist .c-value { font-family: var(--f-mono); text-align: right; white-space: nowrap; }
.checklist .c-note { grid-column: 1 / -1; font-size: 15px; color: var(--graphite); }
.checklist .c-pts { font-family: var(--f-mono); font-size: 12px; color: var(--graphite); }
.bareme { list-style: none; border-top: 1.5px solid var(--encre); font-size: 16px; }
.bareme li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.bareme li b { font-weight: 600; }
.bareme li span.pts { font-family: var(--f-mono); }
.bareme li small { grid-column: 1 / -1; color: var(--graphite); font-size: 14px; }

/* Correctifs de largeur : ligne « Écart », checklist d'audit, pages légales */
.releve-gain { flex-wrap: wrap; row-gap: 2px; }
.releve-gain .dots { display: none; }
.releve-gain .k { flex: 1 1 100%; }
.releve-gain .v { flex: 1 1 100%; text-align: left; }
.legal-grid > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
@media (max-width: 599px) {
  .checklist li { grid-template-columns: minmax(0, 1fr); }
  .checklist .c-value { text-align: left; white-space: normal; }
}

/* Accueil resserré et identité BoringLocal validée. */
.logo-icon { width: 28px; height: 36px; object-fit: contain; flex-shrink: 0; }
.feature-summary { margin-top: 32px; }
.feature-summary p { color: var(--graphite); }
form[data-form] :disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 374px) { .logo-icon { width: 22px; height: 29px; } }

.ui-foot strong { white-space: nowrap; }

/* Démonstration du jeu de collecte d’avis. */
.game-preview { display: grid; grid-template-columns: minmax(140px, .8fr) 1fr; gap: 24px; align-items: center; padding: 24px; }
.game-preview svg { width: 100%; height: auto; max-width: 220px; margin: auto; }
.game-preview .eyebrow { font-size: 11px; margin-bottom: 12px; }
.game-preview h4 { font-size: 23px; }
@media (max-width: 599px) { .game-preview { grid-template-columns: 1fr; } .game-preview svg { max-width: 180px; } }

/* Language controls across all seven public versions. */
.language-select{font:500 13px var(--f-sans);color:var(--encre);background:var(--papier);border:1px solid var(--filet);border-radius:3px;min-height:40px;max-width:118px;padding:0 6px;cursor:pointer}.language-select:focus-visible{outline:2px solid var(--encre);outline-offset:3px}.header-right{gap:12px}.site-header .aside-link{display:none}.site-header .btn .long{display:none}.site-header .logo{flex-shrink:0}
@media(max-width:1239px){.site-header .nav{display:none}.site-header .burger{display:inline-grid}}
@media(max-width:599px){.site-header .container{gap:8px}.header-right{gap:8px}.site-header .header-right>.btn{display:none}.site-header .logo{font-size:18px}.language-select{max-width:106px}.ui-line,.ui-row,.settings-row{overflow-wrap:anywhere}.releve .v{flex-shrink:0}.receipt-row{gap:8px}}

.language-picker{position:relative;font-size:13px;flex-shrink:0}.language-picker summary{display:flex;align-items:center;gap:7px;min-height:40px;padding:0 8px;border:1px solid var(--filet);border-radius:3px;cursor:pointer;list-style:none;white-space:nowrap}.language-picker summary::-webkit-details-marker{display:none}.language-picker img{width:24px;height:16px;max-width:none;border-radius:2px;box-shadow:0 0 0 1px #0002;flex-shrink:0}.language-picker summary:focus-visible,.language-options a:focus-visible{outline:2px solid var(--encre);outline-offset:3px}.language-options{position:absolute;right:0;top:calc(100% + 8px);width:184px;padding:6px;background:var(--papier);border:1px solid var(--encre);border-radius:3px;box-shadow:0 6px 18px #0002;z-index:60}.language-options a{display:flex;align-items:center;gap:10px;min-height:42px;padding:8px;text-decoration:none}.language-options a:hover,.language-options a[aria-current]{background:var(--papier-2)}.language-options a span:last-child:not(:first-of-type){margin-left:auto}@media(max-width:599px){.language-picker{font-size:12px}.language-picker summary{gap:5px;padding:0 6px}.language-picker summary img{width:21px;height:14px}}
