:root {
  --brand: #2E7D32;
  --brand-strong: #1B5E20;
  --brand-soft: #E8F5E9;
  --brand-ink: #1B5E20;
  --ink: #1d2433;
  --muted-ink: #5b6475;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e3dfd6;
  --ok: var(--brand);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(29, 36, 51, .06), 0 8px 24px rgba(29, 36, 51, .08);
  --maxw: 68rem;
  --brand-accent: #f0b429;
  --hero-overlay-rgb: 29, 36, 51;
  --hero-overlay-start: .7;
  --hero-overlay-end: .4;
  --hero-ink: #fff;
  --hero-ink-soft: #f4f6fa;
  --brand-ring: rgba(46, 125, 50, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 clamp(1rem, .95rem + .25vw, 1.125rem)/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: var(--brand); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.small { font-size: .875rem; }
.muted { color: var(--muted-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem 1rem; z-index: 10; }

.site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .75rem; padding-bottom: .75rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; font-size: .95rem; }
.site-header nav a { color: var(--ink); text-decoration: none; }
.site-header nav a:hover { color: var(--brand); text-decoration: underline; }
.site-header nav a[aria-current="page"] { color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: .35em; }
.brand-mark { text-decoration: none; display: inline-flex; align-items: center; line-height: 0; }
.brand-mark img { display: block; height: 30px; width: auto; }
.brand-lockup { display: inline-flex; align-items: center; vertical-align: middle; line-height: 0; }
.brand-lockup svg { height: 22px; width: auto; }
.brand-hero { display: block; margin: 0 0 1rem; }
.brand-hero img { width: 4rem; height: 4rem; }

.btn {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1.05rem; padding: .85rem 1.6rem; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow); cursor: pointer; min-height: 44px;
}
.btn:hover, .btn:focus-visible { background: var(--brand-strong); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.alt { background: #f3f0e8; border-block: 1px solid var(--line); }
.section.narrow .wrap { max-width: 36rem; }

.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); }
.hero h1 { max-width: 22ch; }
.eyebrow { color: var(--brand); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 42rem; color: var(--muted-ink); }

/* Maquette du suivi */
.mock { margin: 1.5rem 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .9rem; background: #eeebe3; border-bottom: 1px solid var(--line); }
.mock-bar span { width: .65rem; height: .65rem; border-radius: 50%; background: #cfc9bb; }
.mock-bar b { margin-left: .6rem; font-size: .8rem; color: var(--muted-ink); font-weight: 600; }
.mock-body { padding: 1.25rem; }
.mock-body.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5rem 0; }
.mock-kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-ink); margin: 0 0 .25rem; }
.mock-title { font-weight: 700; font-size: 1.15rem; margin: 0 0 .25rem; }
.mock-meta { font-size: .9rem; color: var(--muted-ink); margin-bottom: 1.25rem; }
.mock figcaption { padding: 0 1.25rem 1rem; }
.proof-line { font-weight: 600; font-size: 1.1rem; }

/* Chronologie : verticale sur mobile, horizontale dès 48rem */
.tl { list-style: none; margin: 0; padding: 0; }
.tl-step { position: relative; display: grid; grid-template-columns: 1.5rem 1fr; column-gap: .75rem; padding-bottom: 1rem; }
.tl-step::before { content: ""; position: absolute; left: .7rem; top: 1.25rem; bottom: -.1rem; width: 2px; background: var(--line); }
.tl-step:last-child::before { display: none; }
.tl-dot { grid-row: 1 / span 3; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid var(--line); background: var(--card); position: relative; z-index: 1; }
.tl-label { font-weight: 600; }
.tl-when, .tl-note { grid-column: 2; font-size: .85rem; color: var(--muted-ink); }
.is-done .tl-dot { background: var(--ok); border-color: var(--ok); }
.is-done .tl-dot::after { content: ""; position: absolute; left: .38rem; top: .15rem; width: .35rem; height: .65rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.is-current .tl-dot { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring); background: var(--card); }
.is-current .tl-label { color: var(--brand-ink); }
.is-pending .tl-label { color: var(--muted-ink); font-weight: 500; }
@media (min-width: 48rem) {
  .tl { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
  .tl-step { display: block; padding: 0; text-align: center; }
  .tl-step::before { left: 50%; right: -50%; top: .7rem; bottom: auto; width: auto; height: 2px; }
  .tl-dot { display: block; margin: 0 auto .6rem; }
  .tl-when, .tl-note { display: block; }
}

/* Objections */
.objections { display: grid; gap: 1rem; margin: 1.5rem 0 0; }
.objections > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.objections dt { font-weight: 700; margin-bottom: .35rem; }
.objections dd { margin: 0; color: var(--muted-ink); }
@media (min-width: 48rem) { .objections { grid-template-columns: 1fr 1fr; } }

/* Tarifs */
.plans { display: grid; gap: 1rem; margin: 1.25rem 0; }
.plans-3 { grid-template-columns: 1fr; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.plan h3, .plan h4 { margin-bottom: .25rem; }
.plan p { margin-bottom: .25rem; }
.price { font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.price span { font-size: 1rem; font-weight: 500; color: var(--muted-ink); }
@media (min-width: 40rem) { .plans { grid-template-columns: 1fr 1fr; } .plans-3 { grid-template-columns: repeat(3, 1fr); } }

.final { background: var(--brand); color: #fff; text-align: center; }
.final .lead { color: var(--brand-soft); margin-inline: auto; }
.final .btn { background: #fff; color: var(--brand-ink); }
.final .btn:hover, .final .btn:focus-visible { background: var(--brand-soft); }

.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0; font-size: .9rem; color: var(--muted-ink); }
.site-footer p { margin: 0 0 .25rem; }

/* Formulaires et administration */
.form { display: grid; gap: .75rem; max-width: 24rem; }
.form input { font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px; }
.error { background: #fdecea; border: 1px solid #f3b8b1; color: #8a1c12; padding: .6rem .9rem; border-radius: 8px; }
.stats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 1.5rem; }
.table th, .table td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.table th { border-bottom: 2px solid var(--brand); color: var(--brand-ink); }
.digest { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; white-space: pre-wrap; font-size: .9rem; }
form.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; }

/* Pipeline, relecture, démonstration, aide-mémoire AGA */
.form.wide { max-width: 40rem; }
.form textarea { font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px; min-height: 12rem; }
.form label { font-weight: 600; }
.notice { background: #fff7e0; border: 1px solid #ecd9a0; padding: .6rem .9rem; border-radius: 8px; margin: 0 0 1rem; }
.banner-demo { background: #1d2433; color: #fff; text-align: center; padding: .6rem 1rem; font-weight: 700; }
.pv { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.pv h2 { font-size: 1.3rem; margin-top: 1.5rem; }
.pv h3 { font-size: 1.1rem; margin-top: 1.25rem; }
.pv blockquote { margin: .5rem 0; padding: .25rem 1rem; border-left: 4px solid var(--brand); background: #f3f0e8; }
.pv blockquote p { margin: .25rem 0; }
.qa-table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.qa-table th, .qa-table td { vertical-align: top; border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.qa-head td { background: #f3f0e8; }
.qa-head h2, .qa-head h3, .qa-head h4 { margin: 0; font-size: 1.1rem; }
.seg { margin: 0 0 .6rem; }
.seg-meta { font-size: .8rem; color: var(--muted-ink); }
.transcript { list-style: none; padding: 0; }
.transcript li { margin: 0 0 .6rem; }
.transcript .who { font-weight: 700; }
.transcript .when { color: var(--muted-ink); font-size: .8rem; margin-left: .4rem; }
.calc-form { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: end; margin: 1rem 0; }
.calc-form label { display: grid; gap: .25rem; font-weight: 600; }
.calc-form input { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; width: 11rem; }
.runbook-doc { max-width: 52rem; }

@media print {
  .site-header, .site-footer, .no-print, .skip, form { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  .table, .qa-table { page-break-inside: avoid; }
  h2, h3 { page-break-after: avoid; }
  a { color: inherit; text-decoration: none; }
  .pv { border: 0; padding: 0; }
}

/* Séance : capture des votes */
.panel.counter { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0 1.5rem; }
.panel.counter h2 { font-size: 1.2rem; }
.res-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1.25rem; }
.res-card h3, .res-card h2 { font-size: 1.15rem; }
.res-texte, .verbatim { white-space: pre-wrap; }
.verbatim { margin: .5rem 0; padding: .4rem 1rem; border-left: 4px solid var(--brand); background: #f3f0e8; }
.verbatim footer { font-size: .85rem; color: var(--muted-ink); }
.badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .5rem; border-radius: 999px; background: #e8e4d8; vertical-align: middle; }
.badge-vote_ouvert { background: #fff1c2; }
.badge-adoptee { background: var(--brand-soft); color: var(--brand-ink); }
.badge-rejetee { background: #f9d9d5; }
.ok-msg { background: var(--brand-soft); color: var(--brand-ink); border: 1px solid #b7dcc2; padding: .6rem .9rem; border-radius: 8px; }
.small-btn { font-size: .95rem; padding: .5rem 1rem; min-height: 38px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .75rem; }
.form fieldset { border: 1px solid var(--line); border-radius: 8px; display: grid; gap: .5rem; }
.form select, .calc-form select { font: inherit; padding: .5rem; border: 1px solid var(--line); border-radius: 8px; }
.calc-form .check { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.calc-form .check input { width: auto; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: end; margin: .75rem 0; }
.actions details { margin: .5rem 0; }
.vote-form { display: flex; flex-wrap: wrap; gap: .75rem; }
.narrow-wrap { max-width: 40rem; }


/* ===== Tranche 3 : passe visuelle ===== */
/* Photo du hero : « Brick residential building in winter » (Yvon Gallant), Pexels — licence Pexels (usage commercial libre, attribution non requise).
   https://www.pexels.com/photo/brick-residential-building-in-winter-17204787/ */
cite.statute { font-style: normal; font-size: .78em; color: var(--muted-ink); white-space: nowrap; }
.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .15rem .6rem; border-radius: 999px; vertical-align: middle; line-height: 1.5; }
.pill-pop { background: var(--brand); color: #fff; text-transform: uppercase; }
.pill-cur { background: var(--brand-soft); color: var(--brand-ink); margin-left: .4rem; }
.pill-wait { background: #fff1c2; color: var(--ink); }
.pill-ok { background: var(--brand-soft); color: var(--brand-ink); }

/* Hero photo */
.hero-photo { position: relative; isolation: isolate; overflow: hidden; color: var(--hero-ink); background: var(--ink);
  padding: clamp(3rem, 9vw, 7rem) 0 clamp(2.5rem, 7vw, 5.5rem); min-height: clamp(26rem, 52vw, 38rem); display: flex; align-items: center; }
.hero-photo .wrap { position: relative; z-index: 1; }
.hero-bg, .hero-bg img, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 60% 40%; max-width: none; }
.hero-overlay { z-index: -1; background: rgba(var(--hero-overlay-rgb), var(--hero-overlay-start)); }
@media (min-width: 56rem) {
  .hero-overlay { background: linear-gradient(90deg, rgba(var(--hero-overlay-rgb), var(--hero-overlay-start)) 0%, rgba(var(--hero-overlay-rgb), var(--hero-overlay-start)) 45%, rgba(var(--hero-overlay-rgb), var(--hero-overlay-end)) 100%); }
}
.hero-photo h1 { max-width: 24ch; color: var(--hero-ink); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.hero-photo .eyebrow { color: var(--brand-accent); }
.hero-photo .lead { color: var(--hero-ink-soft); }
.hero-photo .btn { background: var(--brand); color: #fff; border: 2px solid #fff; }
.hero-photo .btn:hover, .hero-photo .btn:focus-visible { background: var(--brand-strong); }

/* Pastille Loi 16 */
.chip-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: .8rem 0; }
.chip { display: inline-flex; align-items: flex-start; gap: .6rem; background: var(--brand-soft); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 999px; padding: .45rem 1.1rem .45rem .8rem; color: var(--brand-ink); text-decoration: none; font-size: .95rem; box-shadow: var(--shadow); }
.chip:hover, .chip:focus-visible { border-color: var(--brand); background: #fff; }
.chip-text { min-width: 0; }
.chip .icon { width: 1.2rem; height: 1.2rem; color: var(--brand); }
.chip-ico { display: grid; }

/* La soirée de la secrétaire */
.evening h2 { margin-bottom: 1.25rem; }
.evening-lines p { display: grid; gap: .15rem; margin: 0 0 1rem; }
.evening-lines time { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-ink); }
@media (min-width: 40rem) { .evening-lines p { grid-template-columns: 8rem 1fr; gap: 1rem; } .evening-lines time { padding-top: .3rem; } }
.refrain { margin: 1.75rem 0 0; padding-left: 1rem; border-left: 4px solid var(--brand-accent); font-weight: 700; font-size: 1.15rem; }

/* Séquence du produit : téléphone → onde → document → signature */
.flow { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.flow-step { position: relative; display: grid; grid-template-columns: 4rem 1fr; column-gap: 1rem; align-items: start; }
.flow-step h3 { margin: .2rem 0 .15rem; font-size: 1.1rem; }
.flow-step p { margin: 0; font-size: .95rem; color: var(--muted-ink); }
.flow-ico { grid-row: 1 / span 2; width: 4rem; height: 4rem; border-radius: 50%; background: var(--card); border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: var(--shadow); }
.flow-ico .icon { width: 1.8rem; height: 1.8rem; }
.flow-step:not(:last-child)::before { content: ""; position: absolute; left: 2rem; top: 4rem; bottom: -1.5rem; width: 2px; background: var(--line); }
@media (min-width: 48rem) {
  .flow { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .flow-step { display: block; text-align: center; padding: 0 .5rem; }
  .flow-ico { margin: 0 auto 1rem; }
  .flow-step:not(:last-child)::before { left: calc(50% + 2.25rem); right: calc(-50% + 2.25rem); top: 2rem; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px); opacity: .55; }
}

/* Maquette du PV : « rien n'est inventé » */
.pv-mock { margin: 1.5rem 0 2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; max-width: 46rem; }
.pv-paper { padding: 1.1rem 1.4rem .4rem; border-bottom: 1px solid var(--line); }
.pv-paper p { margin: 0 0 .6rem; }
.pv-h { font-weight: 700; }
.marker { background: var(--brand-accent); color: var(--ink); font-weight: 700; padding: .05rem .35rem; border-radius: 4px; box-decoration-break: clone; }
.pv-mock figcaption { padding: .9rem 1.4rem 1rem; font-size: .95rem; }
.pv-mock figcaption .small { display: block; margin-top: .3rem; }

/* Qui est derrière */
.brick { background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='24'%3E%3Cpath d='M0 .5h64M0 12.5h64M16 .5v12M48 .5v12M0 12.5v12M32 12.5v12M64 12.5v12' fill='none' stroke='%23e3dfd6' stroke-width='1' opacity='.55'/%3E%3C/svg%3E"); border-block: 1px solid var(--line); }
.cobrand { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin: 0 0 1rem; font-size: clamp(2rem, 1.5rem + 2.5vw, 2.75rem); line-height: 1.1; }
.cb-main { display: inline-flex; align-items: center; line-height: 0; }
.cb-main svg { height: 1em; width: auto; }
.cb-by { font-size: .5em; color: var(--muted-ink); text-transform: uppercase; letter-spacing: .08em; }
/* Logo Bricopro : lettres blanches sur fond transparent, donc posé sur fond foncé ; plus petit que la marque Délibera. */
.cb-logo { display: block; height: 28px; width: auto; background: var(--ink); }
.facts { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.facts li { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; }
.facts .icon { color: var(--brand); }
.sign { font-weight: 700; color: var(--muted-ink); margin-bottom: 0; }

/* Tarifs en deux groupes */
.price-group { margin-top: 1.75rem; }
.group-label { font-size: clamp(1.2rem, 1.05rem + .8vw, 1.5rem); padding-left: .75rem; border-left: 4px solid var(--brand-accent); margin-bottom: .25rem; }
.connective { margin: 2rem 0 0; padding: 1rem 0; border-block: 1px solid var(--line); font-weight: 600; text-align: center; }
.plan { position: relative; }
.plan-featured { border: 2px solid var(--brand); background: linear-gradient(var(--brand-soft), var(--card) 7rem); }
.plan-featured .price { color: var(--brand-ink); }
.plan-featured .pill-pop { position: absolute; top: -.8rem; right: 1rem; }
.plan h4 { font-size: 1.15rem; }
.legal { background: #f3f0e8; border-top: 1px solid var(--line); padding: clamp(1.75rem, 4vw, 2.75rem) 0; }
.legal h2 { font-size: 1.15rem; }
.legal-list { padding-left: 1.2rem; margin: 0 0 .75rem; }
.legal-list li { margin-bottom: .3rem; }
#dossier-loi16 { scroll-margin-top: 1rem; }

/* Maquette de saisie du vote */
.vote-mock { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.vote-grid { display: grid; gap: 1rem; margin: 1.25rem 0 2rem; }
@media (min-width: 48rem) { .vote-grid { grid-template-columns: 1fr 1fr; } }
.tally { display: flex; height: .9rem; border-radius: 999px; overflow: hidden; background: var(--line); margin: .5rem 0 .75rem; }
.tally-pour { background: var(--ok); }
.tally-contre { background: #8a1c12; }
.tally-abst { background: #cfc9bb; }
.tally-legend { margin: 0 0 .35rem; }
.k { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; margin-right: .35rem; }
.k-pour { background: var(--ok); } .k-contre { background: #8a1c12; } .k-abst { background: #cfc9bb; }
.tally-legend strong + .k { margin-left: .25rem; }

/* Carte de réunion (/demo) */
.meeting-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.meeting-card h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.meeting-card .statuses { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; padding: 0; list-style: none; }
.meeting-card .statuses li { margin: 0; }
.statuses .pill { font-size: .8rem; }
.banner-demo + .section h2 { margin-top: 2rem; }
.banner-demo + .section .meeting-card h2 { margin-top: 0; }
.statuses .pill:not(.pill-ok):not(.pill-wait) { background: #e8e4d8; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .hero-photo, .chip-band { display: none !important; } }

/* ===== P2 : espace du conseil, convocation, facturation ===== */
.ws-nav { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: .25rem 0 1.5rem; padding: .35rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.ws-nav a { padding: .45rem .9rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.ws-nav a:hover { background: var(--brand-soft); color: var(--brand-ink); }
.ws-nav a[aria-current="page"] { background: var(--brand); color: #fff; }
.ws-eyebrow { margin: 0 0 .25rem; }
.ws-list { padding-left: 1.2rem; }
.chip-row { margin: 0 0 1rem; }
.chip-row .chip { display: inline-flex; align-items: center; gap: .6rem; background: var(--brand-soft); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: .55rem .9rem; }
.pill-late, .pill-etat-retard { background: #f9d9d5; color: #8a1c12; }
.pill-etat-bientot { background: #fff1c2; color: var(--ink); }
.pill-etat-avenir { background: #e8e4d8; color: var(--ink); }
.pill-etat-a_renseigner { background: #fff7e0; border: 1px solid #ecd9a0; color: var(--ink); }
.badge-exec-a_faire { background: #e8e4d8; }
.badge-exec-en_cours { background: #fff1c2; }
.badge-exec-faite { background: var(--brand-soft); color: var(--brand-ink); }
.versions { margin: .4rem 0 0; padding-left: 1.1rem; }
.form select { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; }
.form input[type=date], .calc-form input[type=date] { width: auto; }
.convocation-doc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 2rem; max-width: 52rem; }
.convocation-doc h2 { font-size: 1.15rem; margin-top: 1.5rem; }
.convocation-doc h3 { font-size: 1rem; }
.convocation-doc p { white-space: normal; }
.window-ok { background: var(--brand-soft); color: var(--brand-ink); border: 1px solid #b7dcc2; padding: .6rem .9rem; border-radius: 8px; }
.boundary-note { font-size: .9rem; color: var(--muted-ink); }
.gen-only { background: var(--brand-soft); border: 1px solid #b7dcc2; padding: .6rem .9rem; border-radius: 8px; margin: 0 0 1rem; }
@media print {
  .ws-nav, .ws-eyebrow, .gen-only, .chip-row { display: none !important; }
  .convocation-doc, .registre { border: 0; padding: 0; max-width: none; }
}

/* ===== Marque : aperçu des variantes du logo (/admin/brand-preview) ===== */
.brand-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.4rem; margin: 1.5rem 0; }
.brand-card.is-applied { border-left: 4px solid var(--brand); }
.brand-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1rem 0; }
.brand-tile { border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; background: #fff; line-height: 0; }
.brand-tile.brand-dark { padding: 0; overflow: hidden; background: var(--brand); }
.brand-sizes { padding-top: 1rem; border-top: 1px dashed var(--line); }
.brand-mono svg { height: 30px; width: auto; display: block; }
.brand-mono.brand-green { color: var(--brand); }
.brand-mono.brand-green svg { height: 48px; }
/* Pages légales : /cgu, /confidentialite, /consentement */
.legal-doc { max-width: 46rem; }
.legal-doc h2 { margin-top: 2rem; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem); }
.legal-doc .pin { margin: 1rem 0; padding: .75rem 1rem; border-left: 4px solid var(--brand); background: #f3f0e8; font-weight: 600; }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc li { margin-bottom: .35rem; }
.legal-doc .updated { margin-top: 2rem; }
.kit-block { margin: 1rem 0 2rem; }
.kit-block pre { margin: .5rem 0; padding: .75rem 1rem; border-left: 4px solid var(--brand); background: #f3f0e8; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.footer-links a { white-space: nowrap; }
@media print {
  .legal-doc { max-width: none; }
  .kit-block { page-break-inside: avoid; }
  .kit-block pre { border: 1px solid #000; background: #fff; }
}

/* Comparaison « eux / nous » : une carte, un en-tête, quatre lignes */
.compare { margin-top: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0 clamp(1rem, 3vw, 1.75rem); }
.cmp-head { display: none; }
.cmp-row { display: grid; gap: .6rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.cmp-head + .cmp-row { border-top: 0; }
.cmp-row p { margin: 0; }
.cmp-them { color: var(--muted-ink); font-weight: 400; }
.cmp-label { display: block; font-size: .85rem; }
.cmp-us { display: flex; align-items: baseline; gap: .6rem; color: var(--brand-ink); font-weight: 600; }
.cmp-us .icon { width: 1.25rem; height: 1.25rem; align-self: flex-start; margin-top: .15rem; color: var(--brand); }
.cmp-note { margin-top: 1rem; }
@media (min-width: 44rem) {
  .cmp-head, .cmp-row { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: baseline; }
  .cmp-head { display: grid; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; font-weight: 700; }
  .cmp-head .cmp-us { display: block; }
  .cmp-label { display: none; }
}

/* Tarifs : trois piliers + tarif membre + bande */
.plan-main { border: 2px solid var(--brand); background: linear-gradient(var(--brand-soft), var(--card) 9rem); padding: clamp(1.25rem, 3vw, 2rem); margin: 1.5rem 0 0; scroll-margin-top: 1rem; }
.plan-main h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }
.plan-main h3 a { color: var(--brand-ink); }
.plan-main .price-line { font-size: 1.15rem; font-weight: 800; color: var(--brand-ink); margin: 1rem 0 .5rem; }
.member { background: #fff7e0; border: 1px solid #ecd9a0; border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; }
.band { background: var(--brand-soft); border-block: 1px solid var(--line); padding: 1.25rem 0; }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.band p { margin: 0; }
.band-text { font-weight: 700; font-size: 1.1rem; color: var(--brand-ink); }
.band-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; }

/* Démonstration : bandeau « données fictives » toujours visible, pastilles, résultat du vote, journal */
.banner-demo { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem 1rem; }
.banner-cta { background: #fff; color: #1d2433; padding: .2rem .8rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.banner-cta:hover, .banner-cta:focus-visible { background: var(--brand-soft); }
.pill-fictif { background: #1d2433; color: #fff; font-weight: 600; font-size: .7rem; margin-left: .4rem; text-transform: none; white-space: normal; }
.demo-by .pill-fictif { margin-left: 0; }
.site-header nav .btn-nav { color: #fff; padding: .35rem .9rem; }
.site-header nav .btn-nav:hover { color: #fff; text-decoration: none; }
.tally-block { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1rem 1.4rem; margin: 1.25rem 0; }
.tally-big { font-size: clamp(1.25rem, 1rem + 1.5vw, 1.75rem); margin: .25rem 0; overflow-wrap: anywhere; }
.journal { margin-top: 1rem; }
.journal-lines { margin: .25rem 0 .75rem; padding-left: 1.1rem; }
.journal-lines code { overflow-wrap: anywhere; }
.chip-deadline { max-width: 100%; }
.bricopro-line { margin-top: 1rem; }
.pv .marker { white-space: normal; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: .75rem 0; font-size: 1rem; font-weight: 600; }
.footer-legal a { text-decoration: underline; text-underline-offset: .2em; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1rem; }
.table-scroll .table { margin-bottom: 0; min-width: 34rem; }
