/* Ordalys — feuille de style principale (« editorial ledger ») */

@font-face {
  font-family: "Fraunces";
  src: url("type/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("type/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("type/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 92%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 103%;
}

:root {
  --paper: #F5F1E8;
  --paper-2: #ECE5D6;
  --card: #FBF9F4;
  --ink: #15203A;
  --ink-soft: #46506A;
  --navy: #1B2A4A;
  --navy-2: #24365C;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C3CCDF;
  --on-navy-accent: #F3B394;
  --accent: #B4441E;
  --accent-dark: #9E3A18;
  --sage: #5E7A6B;
  --sage-text: #4C6A5B;
  --rule: #D9D0BE;
  --rule-strong: #8A8070;
  --ok: #2F6B4F;
  --error: #A3241B;

  --font-head: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --space-section: clamp(56px, 8vw, 112px);
  --shadow: 0 1px 0 rgba(21, 32, 58, .04), 0 18px 40px -24px rgba(21, 32, 58, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, .55), transparent 42%),
    radial-gradient(circle at 88% 64%, rgba(180, 68, 30, .035), transparent 38%),
    repeating-linear-gradient(0deg, rgba(21, 32, 58, .018) 0 1px, transparent 1px 4px);
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.1rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }

.num, table, .tally, .calc { font-variant-numeric: tabular-nums; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Boutons ---------- */
.btn-ink, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.35em;
  border-radius: var(--radius);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center;
}
.btn-ink { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-ink:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ink:active, .btn-line:active { transform: translateY(1px); }
.btn-small { min-height: 42px; padding: .5em 1em; font-size: .95rem; }
.btn-block { width: 100%; }
.on-navy .btn-line { color: #fff; border-color: #fff; }
.on-navy .btn-line:hover { background: #fff; color: var(--navy); }
.btn-ink[disabled] { opacity: .7; cursor: progress; }

.arrow::after { content: "→"; font-weight: 400; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 232, .96);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(6px)) {
  .masthead { background: rgba(245, 241, 232, .86); backdrop-filter: blur(8px); }
}
.masthead__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark svg { width: 30px; height: 30px; flex: none; }
.wordmark:hover { color: var(--ink); }

.masthead__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  font: 700 .95rem var(--font-body);
  cursor: pointer;
}
.masthead__toggle-icon { position: relative; width: 18px; height: 12px; }
.masthead__toggle-icon::before, .masthead__toggle-icon::after,
.masthead__toggle-icon span {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.masthead__toggle-icon::before { top: 0; }
.masthead__toggle-icon span { top: 5px; }
.masthead__toggle-icon::after { bottom: 0; }
.masthead__toggle[aria-expanded="true"] .masthead__toggle-icon::before { transform: translateY(5px) rotate(45deg); }
.masthead__toggle[aria-expanded="true"] .masthead__toggle-icon span { opacity: 0; }
.masthead__toggle[aria-expanded="true"] .masthead__toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }

.masthead__nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 20px 30px -20px rgba(21, 32, 58, .3);
  padding: 8px var(--gutter) 24px;
}
.masthead__nav.is-open { display: block; }
.masthead__nav ul { list-style: none; margin: 0; padding: 0; }
.masthead__nav li { margin: 0; border-bottom: 1px solid var(--rule); }
.masthead__nav a:not(.btn-ink) {
  display: block;
  padding: 14px 2px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.masthead__nav a[aria-current="page"] { color: var(--accent-dark); }
.masthead__nav .masthead__cta { border-bottom: 0; padding-top: 18px; }
.masthead__nav .masthead__cta .btn-ink { width: 100%; }

@media (min-width: 900px) {
  .masthead__toggle { display: none; }
  .masthead__nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .masthead__nav ul { display: flex; align-items: center; gap: 6px; }
  .masthead__nav li { border: 0; }
  .masthead__nav a:not(.btn-ink) {
    padding: 10px 12px;
    font-size: .98rem;
    position: relative;
  }
  .masthead__nav a:not(.btn-ink)::after {
    content: "";
    position: absolute; left: 12px; right: 12px; bottom: 4px;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
  }
  .masthead__nav a:not(.btn-ink):hover::after,
  .masthead__nav a[aria-current="page"]::after { transform: scaleX(1); }
  .masthead__nav .masthead__cta { padding: 0 0 0 12px; }
  .masthead__nav .masthead__cta .btn-ink { width: auto; min-height: 44px; }
}

/* ---------- Grille éditoriale ---------- */
.grid-12 { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .span-3 { grid-column-end: span 3; }
  .span-4 { grid-column-end: span 4; }
  .span-5 { grid-column-end: span 5; }
  .span-6 { grid-column-end: span 6; }
  .span-7 { grid-column-end: span 7; }
  .span-8 { grid-column-end: span 8; }
  .span-9 { grid-column-end: span 9; }
  .start-4 { grid-column-start: 4; }
  .start-5 { grid-column-start: 5; }
}

/* ---------- Folios (sections) ---------- */
.folio { padding-block: var(--space-section); border-top: 1px solid var(--rule); }
.folio--tint { background: rgba(236, 229, 214, .7); }
.folio--navy {
  background: var(--navy);
  color: var(--on-navy);
  border-top: 0;
}
.folio--navy h2, .folio--navy h3 { color: #fff; }
.folio--navy a { color: var(--on-navy-accent); }
.folio--navy a:hover { color: #fff; }
.folio--navy .kicker { color: var(--on-navy-accent); }
.folio--navy .lede, .folio--navy p { color: var(--on-navy-soft); }
.folio--navy strong { color: #fff; }

.folio__head { margin-bottom: clamp(32px, 5vw, 56px); }
.folio__head h2 { max-width: 20ch; margin-bottom: .35em; }
.folio__head .lede { max-width: 62ch; }
@media (min-width: 900px) {
  .folio__head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
  }
  .folio__head .kicker { grid-column: 1 / span 3; padding-top: .9em; }
  .folio__head > div { grid-column: 4 / span 9; }
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 14px;
}
.kicker::before {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: currentColor;
  margin-bottom: 10px;
}

.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }

.marginal {
  font-size: .95rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--sage);
  padding: 4px 0 4px 16px;
}
.marginal strong { color: var(--ink); }
.marginal--alert { border-left-color: var(--accent); }

/* ---------- Héros ---------- */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__copy .kicker { margin-bottom: 20px; }
.hero h1 { max-width: 15ch; margin-bottom: .45em; }
.hero__sub { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink-soft); max-width: 58ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__actions a { flex: 1 1 220px; }
@media (min-width: 560px) { .hero__actions a { flex: 0 0 auto; } }

.tally {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.tally li {
  margin: 0;
  padding: 12px 0;
  font-weight: 700;
  font-size: .98rem;
  display: flex; align-items: center; gap: 10px;
}
.tally li + li { border-top: 1px solid var(--rule); }
.tally li::before {
  content: "";
  width: 8px; height: 8px; flex: none;
  background: var(--accent);
  transform: rotate(45deg);
}
@media (min-width: 640px) {
  .tally { grid-template-columns: repeat(3, auto); justify-content: start; }
  .tally li { padding: 14px 24px 14px 0; }
  .tally li + li { border-top: 0; border-left: 1px solid var(--rule); padding-left: 20px; }
}

.hero__stage { position: relative; padding: 28px 0 0 22px; }
.hero__stage::before {
  content: "";
  position: absolute;
  top: 0; right: calc(-1 * var(--gutter)); bottom: 44px; left: 56px;
  background: var(--navy);
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .hero__stage { padding: 40px 0 0 0; margin-left: -24px; }
  .hero__stage::before { left: 72px; right: -60px; bottom: 60px; }
}
.hero .grid-12 { align-items: center; }

/* ---------- Plaques (cartes) ---------- */
.plate {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 30px);
  position: relative;
}
.plate h3 { margin-bottom: .45em; }
.plate p:last-child, .plate ul:last-child { margin-bottom: 0; }
.plate__index {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--sage);
  margin-bottom: 18px;
}
.plate__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  font-size: .92rem;
  color: var(--ink-soft);
}

.cards-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards-2 { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Rapport exemple (héros) ---------- */
.report {
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}
.report__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
}
.report__title { font-family: var(--font-head); font-size: 1.15rem; margin: 0; letter-spacing: -0.01em; }
.sample-badge {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 3px 8px;
  background: #fff;
}
.flow {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  counter-reset: flow;
  background: rgba(236, 229, 214, .5);
  border-bottom: 1px solid var(--rule);
}
.flow li {
  margin: 0;
  counter-increment: flow;
  border: 1px solid var(--rule);
  background: var(--card);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.3;
  position: relative;
}
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-size: .72rem;
  color: var(--sage-text);
  letter-spacing: .08em;
  margin-bottom: 2px;
}
.flow li span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.flow li.is-human { border-color: var(--accent); }
.report__table-wrap { overflow-x: auto; padding: 4px 20px 6px; }
.report table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 300px; }
.report th, .report td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.report th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.report td.amount, .report th.amount { text-align: right; }
.report tr:last-child td { border-bottom: 0; }
.status {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  border: 1px solid currentColor;
}
.status--ok { color: var(--ok); }
.status--wait { color: var(--accent-dark); }
.status--new { color: var(--navy-2); }
.report__foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
  padding: 12px 20px 16px;
  font-size: .8rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}

/* ---------- Lignes de registre ---------- */
.ledger { border-top: 1px solid var(--ink); }
.ledger-row {
  display: grid;
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.ledger-row__num {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--accent-dark);
}
.ledger-row h3 { margin-bottom: .3em; }
.ledger-row p { margin-bottom: .5em; }
.ledger-row__keep { font-size: .93rem; color: var(--ink-soft); }
.ledger-row__keep strong { color: var(--sage-text); }
@media (min-width: 900px) {
  .ledger-row { grid-template-columns: 3fr 5fr 4fr; align-items: start; }
  .ledger-row__num { padding-top: .2em; }
  .ledger-row--2 { grid-template-columns: 3fr 9fr; }
}

/* ---------- Bandeau contexte ---------- */
.context-band {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--sage);
  background: var(--card);
  border-radius: var(--radius);
}
.context-band h3 { margin: 0; font-size: 1.2rem; }
.context-band p { margin: 0; color: var(--ink-soft); }
@media (min-width: 900px) { .context-band { grid-template-columns: 3fr 9fr; gap: 32px; } }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps > li {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  counter-increment: step;
  display: grid;
  gap: 10px;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: .9;
  color: var(--accent);
}
.folio--navy .steps > li { border-top-color: rgba(255, 255, 255, .18); }
.folio--navy .steps > li::before { color: var(--on-navy-accent); }
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; }
.steps .step__time { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
  .steps > li { border-top: 1px solid var(--rule); padding-top: 32px; }
}

/* ---------- Tarifs ---------- */
.pricing {
  display: grid;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.price-col {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-col + .price-col { border-top: 1px solid var(--rule); }
.price-col h3 { font-size: 1.6rem; margin: 0; }
.price-col__for { font-size: .95rem; color: var(--ink-soft); margin: 0; min-height: 3em; }
.price-col__price { margin: 6px 0 0; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.price-col__price small { font-family: var(--font-body); font-size: .9rem; letter-spacing: 0; font-weight: 700; color: var(--ink-soft); }
.price-col__ttc { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.price-col ul { list-style: none; padding: 0; margin: 10px 0 18px; flex: 1; }
.price-col li { padding-left: 22px; position: relative; font-size: .98rem; }
.price-col li::before {
  content: "";
  position: absolute; left: 2px; top: .62em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}
.price-col__tag {
  align-self: flex-start;
  font-size: .78rem; font-weight: 700;
  color: var(--sage-text);
  border: 1px solid var(--sage);
  padding: 3px 8px; border-radius: 2px;
}
.price-col--mid { position: relative; }
@media (min-width: 900px) {
  .pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-col { padding: 36px 32px; }
  .price-col:first-child { padding-left: 0; }
  .price-col:last-child { padding-right: 0; }
  .price-col + .price-col { border-top: 0; border-left: 1px solid var(--rule); }
  .price-col--mid { background: rgba(255, 255, 255, .45); }
}
.pricing-note { margin-top: 24px; display: grid; gap: 14px; }
@media (min-width: 900px) { .pricing-note { grid-template-columns: 1fr 1fr; gap: 32px; } }

.notice-pay {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .98rem;
}
.notice-pay svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }

/* ---------- Tableau comparatif ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
}
.table-scroll:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .96rem; }
.compare caption {
  text-align: left;
  padding: 16px 18px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  border-bottom: 1px solid var(--rule);
}
.compare th, .compare td { padding: 13px 18px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; background: rgba(236, 229, 214, .6); }
.compare tbody th { font-weight: 700; width: 30%; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.scroll-hint { font-size: .85rem; color: var(--ink-soft); margin: 8px 0 0; }
@media (min-width: 900px) { .scroll-hint { display: none; } }

/* ---------- Calculateur ---------- */
.calc { display: grid; gap: 24px; }
@media (min-width: 980px) { .calc { grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; } }
.calc__label-note {
  display: inline-block;
  font-size: .85rem; font-weight: 700;
  padding: 4px 10px;
  border: 1px dashed var(--rule-strong);
  border-radius: 2px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 8px; padding: 0; }
.calc-field { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.calc-field:last-child { border-bottom: 0; }
.calc-field__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.calc-field label { font-weight: 700; font-size: .97rem; }
.calc-field__hint { font-size: .85rem; color: var(--ink-soft); margin: 2px 0 0; }
.calc-field__num { display: flex; align-items: center; gap: 6px; }
.calc-field__num input {
  width: 6.2em;
  min-height: 40px;
  padding: 6px 8px;
  font: 700 1rem var(--font-body);
  font-variant-numeric: tabular-nums;
  text-align: right;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.calc-field__num span { font-size: .9rem; color: var(--ink-soft); min-width: 2.2em; }
.calc-field input[type="range"] {
  width: 100%;
  margin: 12px 0 2px;
  accent-color: var(--accent);
  height: 28px;
  background: transparent;
}
.calc-field--hyp { background: rgba(94, 122, 107, .08); padding: 14px; border: 1px solid var(--sage); border-radius: var(--radius); margin-top: 10px; }

.calc__out {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}
@media (min-width: 980px) { .calc__out { position: sticky; top: 96px; } }
.calc__out h3 { color: #fff; font-size: 1.3rem; }
.calc__out dl { margin: 0; }
.calc__out dl div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.calc__out dt { color: var(--on-navy-soft); font-size: .95rem; }
.calc__out dd { margin: 0; font-family: var(--font-head); font-size: 1.5rem; white-space: nowrap; }
.calc__out .is-key dd { color: var(--on-navy-accent); }
.calc__plan {
  margin: 20px 0 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius);
  color: var(--on-navy-soft);
}
.calc__plan strong { color: #fff; }
.calc__plan .btn-ink { margin-top: 12px; width: 100%; }
.calc__disclaimer { font-size: .85rem; color: var(--on-navy-soft); margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  letter-spacing: -0.01em;
  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(--font-body);
  font-size: 1.6rem; font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__body { padding: 0 0 22px; max-width: 72ch; color: var(--ink-soft); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Transparence / avertissement ---------- */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.points li { margin: 0; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--rule); position: relative; }
.points li::before {
  content: "";
  position: absolute; left: 4px; top: 1.35em;
  width: 14px; height: 1px;
  background: var(--accent);
  box-shadow: 0 -4px 0 var(--accent);
}
.folio--navy .points li { border-bottom-color: rgba(255, 255, 255, .16); }
.folio--navy .points li::before { background: var(--on-navy-accent); box-shadow: 0 -4px 0 var(--on-navy-accent); }

.disclaimer {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  background: var(--card);
}
.disclaimer h3 { font-size: 1.25rem; }
.disclaimer ul { columns: 1; margin-bottom: 1em; }
@media (min-width: 760px) { .disclaimer ul { columns: 2; column-gap: 40px; } }
.disclaimer li { break-inside: avoid; font-size: .96rem; }
.disclaimer p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- Formulaire ---------- */
.lead { display: grid; gap: 32px; }
@media (min-width: 900px) { .lead { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.lead__after { list-style: none; padding: 0; margin: 24px 0; counter-reset: after; }
.lead__after li {
  counter-increment: after;
  padding: 12px 0 12px 44px;
  border-top: 1px solid var(--rule);
  position: relative;
  margin: 0;
}
.lead__after li::before {
  content: counter(after);
  position: absolute; left: 0; top: 12px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: .85rem; font-weight: 700;
}

.lead-form { scroll-margin-top: 96px; }
.lead-form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .req { color: var(--accent-dark); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: 400 1rem var(--font-body);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180, 68, 30, .2); outline: none; }
.field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__hint { font-size: .84rem; color: var(--ink-soft); margin: 5px 0 0; }
.field__error { font-size: .88rem; color: var(--error); font-weight: 700; margin: 6px 0 0; }
.field--consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: .93rem; }
.field--consent input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.field--consent label { font-weight: 400; margin: 0; }
.field--consent-wrap .field__error { margin-left: 34px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__submit { margin-top: 22px; }
.lead-form__fine { font-size: .86rem; color: var(--ink-soft); margin: 14px 0 0; }

.form-alert {
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--error);
  border-left: 4px solid var(--error);
  background: #FFF5F3;
  color: var(--error);
  font-weight: 700;
  border-radius: var(--radius);
}
.plan-chosen {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--sage);
  background: rgba(94, 122, 107, .1);
  border-radius: var(--radius);
  font-size: .97rem;
}

/* ---------- Pages internes ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { max-width: 64ch; }
.crumbs { font-size: .88rem; margin-bottom: 22px; color: var(--ink-soft); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { color: var(--ink-soft); }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); margin-top: 1.8em; padding-top: .9em; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-top: .45em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { background: rgba(236, 229, 214, .7); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.prose caption { text-align: left; font-weight: 700; padding: 12px; }
.prose .table-scroll { margin: 1.2em 0; }
.legal-meta { font-size: .9rem; color: var(--ink-soft); }
.legal-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 3fr 9fr; gap: 48px; } }
.toc { font-size: .92rem; }
.toc ol { padding-left: 1.2em; margin: 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 1000px) { .toc { position: sticky; top: 96px; align-self: start; } }
.placeholder { background: rgba(180, 68, 30, .08); padding: 0 .2em; border-radius: 2px; }

.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 56px; } }

.keeps { display: grid; gap: 20px; }
@media (min-width: 760px) { .keeps { grid-template-columns: 1fr 1fr; } }
.keeps .plate h3 { display: flex; align-items: center; gap: 10px; }

.cta-band { padding-block: clamp(48px, 6vw, 80px); }
.cta-band__inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 8fr 4fr; } .cta-band__inner .btn-ink { justify-self: end; } }
.cta-band h2 { margin: 0; max-width: 22ch; }

.contact-cards { display: grid; gap: 16px; }
.contact-cards .plate { padding: 20px; }
.contact-cards h2 { font-size: 1.2rem; margin-bottom: .3em; }
.contact-cards p { margin: 0 0 .4em; }
.btn-wa { margin-top: 8px; }

.status-page { padding-block: clamp(64px, 10vw, 140px); }
.status-page__code { font-family: var(--font-head); font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--accent); margin: 0 0 12px; }
.status-page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Colophon (pied de page) ---------- */
.colophon {
  background: var(--navy);
  color: var(--on-navy-soft);
  font-size: .93rem;
  padding-block: 56px 28px;
}
.colophon a { color: #fff; }
.colophon a:hover { color: var(--on-navy-accent); }
.colophon .wordmark { color: #fff; }
.colophon__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .colophon__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .colophon__grid { grid-template-columns: 4fr 3fr 2fr 3fr; gap: 40px; } }
.colophon h2 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-navy-accent);
  margin: 0 0 14px;
}
.colophon ul { list-style: none; padding: 0; margin: 0; }
.colophon li + li { margin-top: 8px; }
.colophon address { font-style: normal; line-height: 1.75; }
.colophon__disclaimer { font-size: .86rem; margin-top: 16px; }
.colophon__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .85rem;
}
.link-button {
  background: none; border: 0; padding: 0;
  font: inherit; color: #fff;
  text-decoration: underline; text-underline-offset: .18em;
  cursor: pointer;
  text-align: left;
}
.link-button:hover { color: var(--on-navy-accent); }
.prose .link-button, .page-body .link-button { color: var(--accent-dark); }

/* ---------- Consentement ---------- */
.consent-bar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 120;
  max-width: 760px;
  margin-inline: auto;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(21, 32, 58, .45);
  padding: 22px 22px 20px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.consent-bar[hidden] { display: none; }
.consent-bar h2 { font-size: 1.2rem; margin: 0 40px 8px 0; }
.consent-bar p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.consent-close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--rule-strong);
  background: transparent;
  border-radius: var(--radius);
  font-size: 1.4rem; line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.consent-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .consent-actions { grid-template-columns: repeat(3, 1fr); } }
.btn-choice {
  min-height: 46px;
  padding: .6em 1em;
  font: 700 .97rem var(--font-body);
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-choice:hover { background: var(--ink); color: var(--paper); }

.consent-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
}
.consent-dialog::backdrop { background: rgba(21, 32, 58, .55); }
.consent-dialog__inner { padding: 24px; }
.consent-dialog h2 { font-size: 1.35rem; margin-right: 40px; }
.consent-dialog p { font-size: .93rem; color: var(--ink-soft); }
.consent-opt { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.consent-opt label { font-weight: 700; }
.consent-opt p { margin: 4px 0 0; font-size: .86rem; }
.consent-opt input {
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.consent-dialog .consent-actions { margin-top: 18px; }

/* ---------- Divers ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .masthead, .colophon, .consent-bar, .hero__actions, .lead-form { display: none !important; }
  body { background: #fff; }
}
.folio--navy .marginal { border-left-color: var(--on-navy-accent); color: var(--on-navy-soft); }
[hidden] { display: none !important; }
.grid-12 > *, .legal-layout > *, .lead > *, .calc > *, .split > *, .cards-3 > *, .cards-2 > *, .keeps > *, .pricing > *, .ledger-row > * { min-width: 0; }
