/* ==========================================================================
   Registre: the clotilde.ai design system (one file for every public page)
   Source of truth for the look: clotilde-refonte-da/da-G-maquette.html (DA G, « La maquette »)
   Rules: one accent (orange chantier, fills only, ink text on it), no box-shadow, no blur, no gradient text.
   Depth comes from borders, fills and layered sheets.
   Component classes carry the `r-` prefix. Legacy article classes are
   restyled only inside `.r-article` (and `article` for inline-styled CTAs).
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --r-ground: #FFFFFF;
  --r-paper: #FFFFFF;
  --r-paper-2: #F3F3F1;
  --r-ink: #16181A;
  --r-ink-2: #5B6067;
  --r-rule: #DADCDF;
  --r-rule-soft: #ECEDEF;
  --r-ctl-border: #C9CCD1;
  --r-accent: #F2541B;
  --r-accent-hover: #E44A12;
  --r-accent-tint: #FEF0EA;
  --r-warm: #F6F4F0;        /* métier page ground */
  --r-on-accent: #16181A;  /* text on orange fills (AA) */
  --r-accent-text: #16181A; /* orange never colours text: AA fails on white */
  --r-side-x: #F3F3F1;      /* isometric model side planes */
  --r-side-y: #F8F8F7;
  --r-error: #9B2C1F;       /* functional only: field errors */

  /* type */
  --r-serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; /* one family: G uses no serif */
  --r-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-fs-xs: 12.5px;
  --r-fs-s: 14px;
  --r-fs-m: 15px;
  --r-fs-body: 17px;
  --r-fs-l: 19px;
  --r-fs-xl: 22px;
  --r-fs-2xl: 28px;
  --r-fs-3xl: 34px;
  --r-fs-4xl: 46px;
  --r-fs-hero: 56px;

  /* space */
  --r-s1: 4px;
  --r-s2: 8px;
  --r-s3: 12px;
  --r-s4: 16px;
  --r-s5: 24px;
  --r-s6: 32px;
  --r-s7: 48px;
  --r-s8: 64px;
  --r-s9: 80px;
  --r-sect: 112px;

  /* shape */
  --r-radius-s: 3px;   /* sheets, segments */
  --r-radius: 4px;     /* buttons, fields */
  --r-radius-l: 6px;   /* lead card */

  /* layout */
  --r-wrap: 1200px;
  --r-gut: clamp(20px, 5vw, 64px);
  --r-measure: 68ch;
  --r-header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.r-body {
  margin: 0;
  background: var(--r-ground);
  color: var(--r-ink);
  font: 400 var(--r-fs-body)/1.6 var(--r-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* base resets carry zero specificity (:where) so every component class wins */
:where(.r-body) :where(h1, h2, h3) {
  font-family: var(--r-serif);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
:where(.r-body) :where(p) { margin: 0; text-wrap: pretty; }
:where(.r-body) :where(a) { color: inherit; }
:where(.r-body) :where(img) { max-width: 100%; height: auto; }
.r-body [hidden] { display: none !important; }
.r-body :focus-visible { outline: 2px solid var(--r-ink); outline-offset: 3px; border-radius: 2px; }
.r-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.r-skip { position: absolute; left: var(--r-s4); top: -60px; z-index: 50; padding: 10px 16px; background: var(--r-accent); color: var(--r-on-accent); text-decoration: none; border-radius: var(--r-radius); }
.r-skip:focus { top: var(--r-s3); }
.r-noscript { margin: 0; padding: var(--r-s3) var(--r-s4); text-align: center; background: var(--r-accent); color: var(--r-on-accent); font-size: 0.9375rem; }
.r-noscript a { color: inherit; }
.r-i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Layout primitives ---------- */
.r-wrap { max-width: calc(var(--r-wrap) + 2 * var(--r-gut)); margin: 0 auto; padding: 0 var(--r-gut); }
/* A register section: margin column (title) + body column, hairline above */
.r-reg { border-top: 1px solid var(--r-rule); padding: var(--r-sect) 0; }
.r-reg > .r-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 72px; }
.r-reg__title { font-size: var(--r-fs-3xl); line-height: 1.15; }
.r-reg__aside { font-size: var(--r-fs-m); color: var(--r-ink-2); margin-top: 14px; max-width: 16em; }
.r-lede { font-size: var(--r-fs-l); line-height: 1.55; color: var(--r-ink-2); max-width: 32em; }

/* ---------- Wordmark ---------- */
.r-mark { font-family: var(--r-sans); font-size: 21px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; color: var(--r-ink); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.r-mark svg { width: 22px; height: 13px; flex: none; }

/* ---------- Header + nav ---------- */
.r-header { border-bottom: 1px solid var(--r-rule); background: var(--r-ground); }
.r-header__in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "mark nav cta"; align-items: center; column-gap: var(--r-s5); min-height: var(--r-header-h); }
.r-header .r-mark { grid-area: mark; }
.r-nav { grid-area: nav; justify-self: end; }
.r-nav ul { display: flex; align-items: center; gap: var(--r-s2); list-style: none; margin: 0; padding: 0; }
.r-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: var(--r-fs-m); color: var(--r-ink-2); text-decoration: none; }
.r-nav a:hover { color: var(--r-ink); }
.r-nav a[aria-current="page"] { color: var(--r-ink); text-decoration: underline; text-decoration-color: var(--r-accent); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.r-header__cta { grid-area: cta; }

/* ---------- Buttons and links ---------- */
.r-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: 500 16px/1.2 var(--r-sans); color: var(--r-on-accent); text-align: center;
  background: var(--r-accent); border: 1px solid var(--r-accent); border-radius: var(--r-radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.r-btn:hover { background: var(--r-accent-hover); border-color: var(--r-accent-hover); }
.r-btn:active { transform: translateY(1px); }
.r-btn:focus-visible { outline: 2px solid var(--r-ink); outline-offset: 3px; }
.r-btn--block { width: 100%; }
.r-btn--secondary { color: var(--r-accent-text); background: transparent; }
.r-btn--secondary:hover { color: var(--r-on-accent); background: var(--r-accent); }
.r-btn--small { min-height: 44px; padding: 0 18px; font-size: var(--r-fs-m); }
.r-btn:disabled, .r-btn[aria-disabled="true"] { cursor: not-allowed; color: var(--r-ink-2); background: var(--r-paper-2); border-color: var(--r-rule); transform: none; }
.r-btn[aria-busy="true"] { cursor: progress; color: var(--r-on-accent); background: var(--r-accent); border-color: var(--r-accent); opacity: .72; }
.r-btn__spin { width: 16px; height: 16px; border: 1.8px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: r-spin .8s linear infinite; }
@keyframes r-spin { to { transform: rotate(360deg); } }
.r-link { display: inline-flex; align-items: center; gap: var(--r-s2); min-height: 44px; color: var(--r-accent-text); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.r-link:hover { color: var(--r-accent-text); }
.r-link .r-i { transition: transform .15s; }
.r-link:hover .r-i { transform: translateX(3px); }

/* ---------- Form fields ---------- */
.r-field { display: block; margin-bottom: 18px; }
.r-field > label, .r-label { display: block; font-size: var(--r-fs-s); font-weight: 500; margin-bottom: 7px; }
.r-opt { font-weight: 400; color: var(--r-ink-2); }
.r-ctl {
  display: block; width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 16px/1.4 var(--r-sans); color: var(--r-ink);
  background: var(--r-paper); border: 1px solid var(--r-ctl-border); border-radius: var(--r-radius);
  appearance: none;
}
.r-ctl::placeholder { color: #8A8F8B; }
.r-ctl:hover { border-color: #A9AAA2; }
.r-ctl:focus { border-color: var(--r-accent); outline: 2px solid var(--r-ink); outline-offset: 0; }
select.r-ctl { padding-right: 40px; background: var(--r-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565C58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
textarea.r-ctl { min-height: 96px; resize: vertical; }
.r-ctl:disabled { color: var(--r-ink-2); background-color: var(--r-paper-2); border-color: var(--r-rule); cursor: not-allowed; }
.r-ctl[aria-invalid="true"] { border-color: var(--r-error); }
.r-ctl[aria-invalid="true"]:focus { outline-color: var(--r-error); }
.r-hint { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--r-ink-2); }
.r-error { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--r-error); }
.r-error .r-i { width: 16px; height: 16px; margin-top: 2px; }
.r-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: var(--r-fs-s); line-height: 1.5; cursor: pointer; }
.r-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--r-accent); flex: none; }
.r-check a { color: var(--r-accent-text); }

/* ---------- Hero: intro + lead card | trade switch + letter ----------
   Both columns stretch; the lead card and the front sheet end on one line. */
.r-hero { padding: 56px 0 var(--r-sect); }
.r-hero > .r-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: stretch; }
.r-hero__intro { display: flex; flex-direction: column; padding-bottom: 10px; /* = back-sheet offset */ }
.r-hero__doc { display: flex; flex-direction: column; }
.r-hero__title { font-size: var(--r-fs-hero); line-height: 1.08; letter-spacing: -0.022em; }
.r-hero__title .r-l { display: block; }
.r-hero .r-lede { margin-top: var(--r-s5); }
.r-hero .r-leadcard { margin-top: auto; padding: 34px 36px 30px; }
.r-hero .r-lede { margin-bottom: 36px; }

/* ---------- Lead card (2 steps + success) ---------- */
.r-leadcard { display: flex; flex-direction: column; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius-l); padding: 28px; }
.r-leadcard__step { display: block; }
.r-leadcard__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--r-s4); margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--r-rule-soft); }
.r-leadcard__head h2, .r-leadcard__head h3 { font-size: 23px; line-height: 1.2; }
.r-leadcard__count { font-size: 13px; color: var(--r-ink-2); white-space: nowrap; }
.r-leadcard__recap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-bottom: var(--r-s2); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-leadcard__recap button { font: inherit; color: var(--r-accent-text); background: none; border: 0; padding: 0 2px; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.r-leadcard .r-check { margin: 4px 0 18px; }
.r-leadcard__done { padding: var(--r-s2) 0; }
.r-leadcard__done > .r-i { width: 28px; height: 28px; color: var(--r-accent-text); }
.r-leadcard__done h2, .r-leadcard__done h3 { font-size: 26px; line-height: 1.2; margin-top: 14px; }
.r-leadcard__done p { margin-top: var(--r-s2); color: var(--r-ink-2); font-size: var(--r-fs-m); }
.r-leadcard__done a { color: var(--r-accent-text); }
.r-leadcard__foot { padding-top: 22px; }
.r-reassure { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--r-rule-soft); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-reassure li { display: inline-flex; align-items: center; gap: 7px; }
.r-reassure .r-i { width: 16px; height: 16px; color: var(--r-accent-text); }

/* ---------- Trade switch (segmented control) ---------- */
.r-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.r-switch__label { font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-seg { display: inline-flex; padding: 3px; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: 5px; }
.r-seg button { min-height: 40px; padding: 0 16px; font: 500 var(--r-fs-s)/1 var(--r-sans); color: var(--r-ink-2); background: none; border: 0; border-radius: var(--r-radius-s); cursor: pointer; transition: color .15s, background-color .15s; }
.r-seg button:hover { color: var(--r-ink); }
.r-seg button[aria-pressed="true"] { color: var(--r-accent-text); background: var(--r-accent-tint); }

/* ---------- The letter « Objet : Diagnostic, <métier> » ---------- */
.r-sheets { position: relative; flex: 1 0 auto; display: flex; padding: 0 0 10px 10px; }
/* the second sheet, offset behind; the laid-paper chain lines live here only */
.r-sheets::before {
  content: ""; position: absolute; left: 0; right: 10px; top: 10px; bottom: 0;
  background-color: var(--r-paper-2);
  background-image: repeating-linear-gradient(90deg, transparent 0 31px, rgba(31, 90, 68, .05) 31px 32px);
  border: 1px solid var(--r-rule); border-radius: var(--r-radius-s);
}
.r-letter { position: relative; flex: 1; display: flex; flex-direction: column; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius-s); padding: 36px 44px 30px; }
.r-letter__top { display: flex; align-items: baseline; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--r-rule); font-size: 13px; color: var(--r-ink-2); }
.r-letter__top .r-mark { font-size: var(--r-fs-l); min-height: 0; }
.r-letter__objet { margin: var(--r-s5) 0 6px; font-family: var(--r-serif); font-size: var(--r-fs-2xl); line-height: 1.2; font-weight: 500; color: var(--r-ink); }
.r-letter__objet .r-k { color: var(--r-ink); font-weight: 500; } /* same ink: one heading, not two tones */
.r-letter__salut { margin-bottom: 22px; font-size: var(--r-fs-m); color: var(--r-ink-2); }
.r-letter__foot { display: flex; justify-content: space-between; gap: var(--r-s4); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--r-rule); font-size: var(--r-fs-xs); color: var(--r-ink-2); }

.r-diag { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.r-diag th { padding: 0 0 10px; font: 500 var(--r-fs-xs)/1.3 var(--r-sans); color: var(--r-ink-2); text-align: left; border-bottom: 1px solid var(--r-ink); }
.r-diag td { vertical-align: top; padding: 16px 0 15px; border-bottom: 1px solid var(--r-rule); }
.r-diag tr:last-child td { border-bottom: 0; }
.r-diag .r-diag__n { width: 34px; font-family: var(--r-serif); font-size: var(--r-fs-l); line-height: 1.3; color: var(--r-accent-text); }
.r-diag .r-diag__h { width: 108px; text-align: right; white-space: nowrap; font-family: var(--r-serif); font-size: var(--r-fs-l); line-height: 1.3; }
.r-diag th.r-diag__h { font: 500 var(--r-fs-xs)/1.3 var(--r-sans); }
.r-diag .r-diag__h small { display: block; font: 400 var(--r-fs-xs)/1.4 var(--r-sans); color: var(--r-ink-2); }
.r-diag .r-diag__p { width: 120px; padding-left: var(--r-s5); }
.r-diag__t { font-family: var(--r-serif); font-size: var(--r-fs-l); line-height: 1.3; font-weight: 500; }
.r-diag__d { margin-top: 3px; max-width: 34em; font-size: var(--r-fs-s); line-height: 1.5; color: var(--r-ink-2); }
.r-prio { display: inline-flex; align-items: center; gap: var(--r-s2); font-size: var(--r-fs-s); line-height: 1.9; white-space: nowrap; }
.r-prio i { width: 9px; height: 9px; border: 1.5px solid var(--r-accent); border-radius: 50%; flex: none; }
.r-prio--haute i { background: var(--r-accent); }
.r-total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--r-s4); padding: 18px 0 14px; border-top: 3px double var(--r-ink); }
.r-total__lab { font-size: var(--r-fs-m); font-weight: 500; }
.r-total__lab small { display: block; font-size: var(--r-fs-xs); font-weight: 400; color: var(--r-ink-2); }
.r-total__val { font-family: var(--r-serif); font-size: 40px; line-height: 1; color: var(--r-accent-text); white-space: nowrap; font-variant-numeric: lining-nums; }
.r-total__val span { margin-left: var(--r-s2); font-family: var(--r-sans); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-total__val--pending { font-size: 21px; color: var(--r-ink-2); }
/* re-typeset on trade switch: the one orchestrated motion */
.r-retype tr, .r-retype-t { animation: r-retype .42s cubic-bezier(.2, .7, .2, 1) both; }
.r-retype tr:nth-child(2) { animation-delay: .05s; }
.r-retype tr:nth-child(3) { animation-delay: .1s; }
.r-retype-t { animation-delay: .15s; }
@keyframes r-retype { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* The stamp « Gratuit / 0 € », struck on the corner of the letter */
.r-stamp { position: absolute; top: -30px; right: -30px; width: 116px; height: 116px; color: var(--r-accent-text); transform: rotate(-11deg); pointer-events: none; }
.r-stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.r-stamp__ring { font: 600 8.6px/1 var(--r-sans); letter-spacing: .14em; fill: currentColor; }
.r-stamp__big { font: 500 19px/1 var(--r-serif); letter-spacing: -.01em; fill: currentColor; }
.r-stamp__small { font: 500 11px/1 var(--r-sans); letter-spacing: .04em; fill: currentColor; }

/* ---------- 3 steps (a true sequence) ---------- */
.r-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; margin: 0; padding: 0; }
.r-steps li { padding-top: 20px; border-top: 1px solid var(--r-ink); }
.r-steps__n { font-family: var(--r-serif); font-size: 40px; line-height: 1; color: var(--r-accent-text); }
.r-steps h3 { margin-top: 20px; font-size: 23px; line-height: 1.25; }
.r-steps p { margin-top: 10px; font-size: 16px; color: var(--r-ink-2); }

/* ---------- « En bref »: answer-first, set as the opening paragraph of a letter ---------- */
.r-brief { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: var(--r-s5); padding: 26px 0 28px; border-top: 1px solid var(--r-ink); border-bottom: 1px solid var(--r-rule); }
.r-brief__k { font-family: var(--r-serif); font-size: var(--r-fs-l); font-weight: 600; line-height: 1.45; color: var(--r-accent-text); }
.r-brief__v { font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.5; max-width: 36em; }

/* ---------- Pains: a ruled list of plain sentences ---------- */
.r-pains { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-pains li { padding: 20px 0; border-bottom: 1px solid var(--r-rule); font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.4; max-width: 34em; }

/* ---------- Tools: plain text names in a ruled grid ---------- */
.r-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-tools { border-bottom: 1px solid var(--r-rule); }
.r-tools li { padding: 18px 0; border-top: 1px solid var(--r-rule); font-size: var(--r-fs-body); }
.r-tools li:nth-child(-n+4) { border-top: 0; }
.r-tools__intro { margin-bottom: var(--r-s6); font-size: var(--r-fs-l); color: var(--r-ink-2); max-width: 32em; }

/* ---------- Agent rows (selectable) ---------- */
.r-agents { margin: 0; padding: 0; border: 0; min-width: 0; }
.r-agents__head { display: grid; grid-template-columns: minmax(0, 1fr) 7.5em; gap: var(--r-s5); padding: 0 0 10px 44px; border-bottom: 1px solid var(--r-ink); font-size: var(--r-fs-xs); font-weight: 500; color: var(--r-ink-2); }
.r-agents__head span:last-child { text-align: right; }
.r-agent { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) 7.5em; gap: 0 var(--r-s5); align-items: start; padding: 20px 16px 20px 0; border-bottom: 1px solid var(--r-rule); cursor: pointer; transition: background-color .15s; }
.r-agent:hover { background: #F6F6F2; }
.r-agent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.r-agent__box { width: 22px; height: 22px; margin-top: 3px; margin-left: 2px; display: grid; place-items: center; border: 1.5px solid #A9AAA2; border-radius: var(--r-radius-s); color: var(--r-on-accent); background: var(--r-paper); }
.r-agent__box .r-i { width: 15px; height: 15px; stroke-width: 2.4; opacity: 0; }
.r-agent__name { font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.3; font-weight: 500; }
.r-agent__desc { margin-top: 4px; font-size: var(--r-fs-m); line-height: 1.5; color: var(--r-ink-2); max-width: 38em; }
.r-agent__h { text-align: right; font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.3; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.r-agent__h small { display: block; font: 400 var(--r-fs-xs)/1.4 var(--r-sans); color: var(--r-ink-2); }
.r-agent:has(input:checked) { background: var(--r-accent-tint); }
.r-agent:has(input:checked) .r-agent__box { background: var(--r-accent); border-color: var(--r-accent); }
.r-agent:has(input:checked) .r-agent__box .r-i { opacity: 1; }
.r-agent:has(input:focus-visible) { outline: 2px solid var(--r-ink); outline-offset: -2px; }
.r-agent--pack { margin-top: -1px; border-top: 3px double var(--r-ink); border-bottom: 0; }
.r-agent__tag { display: inline-block; margin-left: 10px; font: 500 13px/1 var(--r-sans); color: var(--r-accent-text); vertical-align: 3px; }
.r-agent--pack .r-agent__h { color: var(--r-accent-text); }

/* Sticky mobile bar (mobile only) */
.r-stickybar { display: none; }

/* ---------- Testimonials (existing ones only, word for word) ---------- */
.r-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-quote { margin: 0; padding: 28px 32px 8px 0; display: flex; flex-direction: column; }
.r-quote + .r-quote { padding-left: 32px; border-left: 1px solid var(--r-rule); }
.r-quote__fig { font-family: var(--r-serif); font-size: var(--r-fs-l); color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-quote blockquote { margin: 12px 0 0; font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.45; }
.r-quote figcaption { margin-top: auto; padding-top: 20px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-quote figcaption b { display: block; font-weight: 500; color: var(--r-ink); }

/* ---------- FAQ ---------- */
.r-faq { border-top: 1px solid var(--r-ink); }
.r-faq details { border-bottom: 1px solid var(--r-rule); }
.r-faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--r-s5); min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer; font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.3; }
.r-faq summary::-webkit-details-marker { display: none; }
.r-faq summary .r-i { color: var(--r-ink-2); transition: transform .2s; }
.r-faq details[open] summary .r-i { transform: rotate(180deg); }
.r-faq summary:hover { color: var(--r-accent-text); }
.r-faq details > div, .r-faq details > p { padding: 0 0 24px; color: var(--r-ink-2); max-width: 38em; }

/* ---------- Resources list ---------- */
.r-resources { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-resources a { display: flex; justify-content: space-between; align-items: center; gap: var(--r-s5); min-height: 44px; padding: 18px 0; border-bottom: 1px solid var(--r-rule); font-family: var(--r-serif); font-size: var(--r-fs-l); line-height: 1.35; text-decoration: none; }
.r-resources a:hover { color: var(--r-accent-text); }
.r-resources .r-i { color: var(--r-accent-text); transition: transform .15s; }
.r-resources a:hover .r-i { transform: translateX(3px); }
.r-resources small { display: block; margin-top: 2px; font: 400 13px/1.4 var(--r-sans); color: var(--r-ink-2); }

/* ---------- Final CTA band ---------- */
.r-close { padding: var(--r-sect) 0; border-top: 1px solid var(--r-rule); }
.r-close > .r-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 72px; }
.r-close h2 { font-size: var(--r-fs-4xl); line-height: 1.1; max-width: 20ch; }
.r-close p { margin-top: var(--r-s4); font-size: 18px; color: var(--r-ink-2); max-width: 32em; }
.r-close .r-btn { margin-top: var(--r-s6); }

/* ---------- Breadcrumbs ---------- */
.r-crumbs { padding: 18px 0 0; font-size: 13.5px; color: var(--r-ink-2); }
.r-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.r-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.r-crumbs li + li::before { content: "/"; content: "/" / ""; margin: 0 8px; opacity: .55; } /* same "/" as the métier crumbs (.r-crumbs__sep) */
.r-crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.r-crumbs a:hover { color: var(--r-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.r-crumbs [aria-current="page"] { color: var(--r-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }

/* ---------- Footer ---------- */
.r-footer { padding: 40px 0 48px; border-top: 1px solid var(--r-ink); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-footer > .r-wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 72px; align-items: start; }
.r-footer .r-mark { font-size: var(--r-fs-xl); }
.r-footer__copy { margin-top: 6px; }
.r-footer ul { display: flex; flex-wrap: wrap; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
.r-footer ul a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.r-footer ul a:hover { color: var(--r-accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Blog index: filters, cards, pager ---------- */
.r-filters { display: flex; flex-wrap: wrap; gap: var(--r-s2); list-style: none; margin: 0; padding: 0; }
.r-filters button { min-height: 44px; padding: 0 16px; font: 500 var(--r-fs-s)/1 var(--r-sans); color: var(--r-ink-2); background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius); cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.r-filters button:hover { color: var(--r-ink); border-color: #A9AAA2; }
.r-filters button[aria-pressed="true"] { color: var(--r-on-accent); background: var(--r-accent); border-color: var(--r-accent); }
.r-filters__n { margin-left: 6px; font-weight: 400; opacity: .75; font-variant-numeric: lining-nums tabular-nums; }
.r-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.r-post { position: relative; display: flex; flex-direction: column; padding: 28px 0 32px; border-top: 1px solid var(--r-ink); }
.r-post__img { aspect-ratio: 3 / 2; margin-bottom: 20px; overflow: hidden; background: var(--r-paper-2); border: 1px solid var(--r-rule); border-radius: var(--r-radius-s); }
.r-post__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.r-post__cat { font-size: 13px; font-weight: 500; color: var(--r-accent-text); }
.r-post__title { margin-top: 8px; font-size: var(--r-fs-xl); line-height: 1.3; }
.r-post__title a { text-decoration: none; }
.r-post__title a::after { content: ""; position: absolute; inset: 0; }
.r-post:hover .r-post__title a { color: var(--r-accent-text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.r-post__excerpt { margin-top: 10px; font-size: var(--r-fs-m); line-height: 1.55; color: var(--r-ink-2); }
.r-post__meta { margin-top: 14px; font-size: 13px; color: var(--r-ink-2); }
.r-pager { display: flex; align-items: center; justify-content: center; gap: var(--r-s2); padding-top: var(--r-s7); border-top: 1px solid var(--r-rule); }
.r-pager button, .r-pager a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; font: 500 var(--r-fs-m)/1 var(--r-sans); color: var(--r-ink-2); background: none; border: 1px solid transparent; border-radius: var(--r-radius); text-decoration: none; cursor: pointer; font-variant-numeric: lining-nums tabular-nums; }
.r-pager button:hover:not(:disabled), .r-pager a:hover { color: var(--r-ink); border-color: var(--r-rule); }
.r-pager [aria-current="page"] { color: var(--r-ink); border-color: var(--r-ink); }
.r-pager button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Article page ----------
   `.r-article` wraps the legacy <article>. Bodies keep their legacy classes;
   they are restyled here so 521 articles look native without edits. */
.r-article { padding: var(--r-s7) 0 var(--r-sect); }
.r-article > .r-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--r-measure)) minmax(0, 1fr); column-gap: 56px; }
.r-article article { grid-column: 2; min-width: 0; }
.r-article .article-header { padding-bottom: var(--r-s6); border-bottom: 1px solid var(--r-ink); }
.r-article .article-category { font-size: var(--r-fs-s); font-weight: 500; color: var(--r-accent-text); }
.r-article .article-h1, .r-article article h1 { margin-top: 12px; font-family: var(--r-serif); font-weight: 500; font-size: 44px; line-height: 1.12; letter-spacing: -0.018em; text-wrap: balance; }
.r-article .article-meta { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 18px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-article .article-hero-image { margin: var(--r-s6) 0 0; }
.r-article .article-hero-image img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border: 1px solid var(--r-rule); border-radius: var(--r-radius-s); }
.r-article .article-content { padding-top: var(--r-s6); }

/* prose */
.r-article article p, .r-article article li { font-size: 18px; line-height: 1.7; }
.r-article article p { margin: 0 0 1.15em; }
.r-article article h2 { margin: 2.2em 0 .6em; font-family: var(--r-serif); font-weight: 500; font-size: 31px; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; scroll-margin-top: 24px; }
.r-article article h3 { margin: 1.8em 0 .5em; font-family: var(--r-serif); font-weight: 500; font-size: 23px; line-height: 1.3; text-wrap: balance; scroll-margin-top: 24px; }
.r-article article h4 { margin: 1.6em 0 .4em; font: 600 var(--r-fs-body)/1.4 var(--r-sans); }
.r-article article a { color: var(--r-accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.r-article article a:hover { color: var(--r-accent-text); }
.r-article article strong { font-weight: 600; }
.r-article article ul, .r-article article ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.r-article article li { margin: .35em 0; padding-left: .2em; }
.r-article article li::marker { color: var(--r-accent-text); }
.r-article article ol li::marker { font-family: var(--r-serif); font-variant-numeric: lining-nums; }
.r-article article blockquote { margin: 1.8em 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--r-ink); font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.5; }
.r-article article blockquote p { font-size: inherit; line-height: inherit; }
.r-article article hr { margin: 3em 0 2em !important; border: 0 !important; border-top: 1px solid var(--r-rule) !important; }
.r-article article code { padding: 1px 5px; font: 400 .88em/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--r-paper-2); border: 1px solid var(--r-rule-soft); border-radius: var(--r-radius-s); }
.r-article article pre { margin: 1.6em 0; padding: 18px 20px; overflow-x: auto; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius); }
.r-article article pre code { padding: 0; border: 0; background: none; }
.r-article article figure { margin: 2em 0; }
.r-article article figure img { display: block; width: 100%; border: 1px solid var(--r-rule); border-radius: var(--r-radius-s); }
.r-article article figcaption { margin-top: 10px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-article .r-table-scroll, .r-article article .table-wrapper { overflow-x: auto; margin: 1.8em 0; }
.r-article article table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-size: var(--r-fs-m); font-variant-numeric: lining-nums tabular-nums; }
.r-article .r-table-scroll table { margin: 0; }
.r-article article th { padding: 0 16px 10px 0; font-weight: 500; font-size: 13.5px; text-align: left; color: var(--r-ink-2); border-bottom: 1px solid var(--r-ink); }
.r-article article td { padding: 12px 16px 12px 0; vertical-align: top; border-bottom: 1px solid var(--r-rule); }
/* legacy tables carry inline paddings, tints and borders */
.r-article article table[style] { margin: 1.8em 0 !important; }
.r-article article tr[style] { background: none !important; }
.r-article article th[style] { padding: 0 16px 10px 0 !important; background: none !important; border-bottom: 1px solid var(--r-ink) !important; }
.r-article article td[style] { padding: 12px 16px 12px 0 !important; background: none !important; border-bottom: 1px solid var(--r-rule) !important; }

/* legacy body blocks, restyled in the register grammar */
.r-article .key-takeaway { margin: 2em 0; padding: 22px 0 6px; border-top: 1px solid var(--r-ink); border-bottom: 1px solid var(--r-rule); }
.r-article .key-takeaway h4 { margin: 0 0 8px; font: 600 var(--r-fs-l)/1.4 var(--r-serif); color: var(--r-accent-text); }
.r-article .key-takeaway p { font-family: var(--r-serif); font-size: 21px; line-height: 1.5; }
.r-article .highlight-box { margin: 1.8em 0; padding: 18px 22px; font-size: 17px; line-height: 1.6; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius); }
.r-article .highlight-box strong { color: var(--r-accent-text); }
.r-article .stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 32px; margin: 2em 0; border-top: 1px solid var(--r-ink); }
.r-article .stat-box { padding: 18px 0; border-bottom: 1px solid var(--r-rule); }
.r-article .stat-value { font-family: var(--r-serif); font-size: 36px; line-height: 1.1; color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-article .stat-label { margin-top: 6px; font-size: var(--r-fs-m); line-height: 1.5; color: var(--r-ink-2); }
.r-article .checklist { margin: 1.8em 0; border-top: 1px solid var(--r-rule); }
.r-article .checklist-item { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--r-rule); font-size: 17px; }
.r-article .checklist-icon { flex: none; width: 18px; font-weight: 600; color: var(--r-accent-text); }
.r-article .source-citation { font-size: var(--r-fs-s) !important; color: var(--r-ink-2); }
.r-article .related-articles { margin: 3em 0 0; padding-top: 20px; border-top: 1px solid var(--r-ink); }
.r-article .related-articles h3 { margin-top: 0; font-size: var(--r-fs-xl); }
.r-article .related-articles ul { list-style: none; padding: 0; }
.r-article .related-articles li { margin: 0; padding: 0; border-bottom: 1px solid var(--r-rule); }
.r-article .related-articles a { display: block; padding: 12px 0; font-family: var(--r-serif); font-size: var(--r-fs-l); text-decoration: none; color: var(--r-ink); }
.r-article .related-articles a:hover { color: var(--r-accent-text); }

/* TOC: legacy markup (nav.article-toc + button.toc-toggle) */
.r-article .toc-toggle { display: none; }
.r-article .toc-toggle-icon { display: none; } /* the legacy icon is an emoji */
.r-article .article-toc { margin: 0 0 var(--r-s6); padding: 18px 0 8px; border-top: 1px solid var(--r-ink); border-bottom: 1px solid var(--r-rule); }
.r-article .toc-title { margin: 0 0 6px !important; font: 500 13px/1.3 var(--r-sans) !important; color: var(--r-ink-2); letter-spacing: 0 !important; }
.r-article .toc-list { list-style: none; margin: 0 !important; padding: 0 !important; counter-reset: toc; }
.r-article .toc-list li { display: flex; gap: 12px; margin: 0; padding: 0; font-size: var(--r-fs-m); line-height: 1.45; counter-increment: toc; }
.r-article .toc-list li::before { content: counter(toc); flex: none; width: 1.2em; padding-top: 8px; font-family: var(--r-serif); color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-article .toc-link { display: block; padding: 8px 0; color: var(--r-ink) !important; text-decoration: none !important; }
.r-article .toc-link:hover, .r-article .toc-link.active { color: var(--r-accent-text) !important; }

/* Article CTA (legacy .article-cta) */
.r-article .article-cta { margin: 3em 0; padding: 30px 32px; background: var(--r-paper); border: 1px solid var(--r-rule); border-top: 3px double var(--r-ink); border-radius: 0 0 var(--r-radius) var(--r-radius); }
.r-article .article-cta h3 { margin: 0; font-size: 26px; }
.r-article .article-cta p { margin: 10px 0 0; font-size: 17px; color: var(--r-ink-2); }
.r-article .article-cta .cta-button { margin-top: 22px; display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; font: 500 16px/1.2 var(--r-sans); color: var(--r-on-accent); background: var(--r-accent); border: 0; border-radius: var(--r-radius); cursor: pointer; }
.r-article .article-cta .cta-button:hover { background: var(--r-accent-hover); }

/* Inline-styled legacy CTA boxes (490 articles): attribute-level overrides */
article .cta-internal-link,
article .cta-internal-link[style] {
  margin: 2.2em 0 !important; padding: 22px 0 !important;
  background: none !important; border: 0 !important;
  border-top: 1px solid var(--r-ink) !important; border-bottom: 1px solid var(--r-rule) !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important; transition: none !important;
}
article .cta-internal-link .cta-title { margin: 0 0 6px !important; font: 500 21px/1.3 var(--r-serif) !important; color: var(--r-ink) !important; }
article .cta-internal-link .cta-description { margin: 0 0 14px !important; font: 400 16px/1.6 var(--r-sans) !important; color: var(--r-ink-2) !important; }
article .cta-internal-link .cta-button-internal,
article .cta-internal-link a[style] {
  display: inline-flex !important; align-items: center; min-height: 44px; padding: 0 !important;
  font: 500 16px/1.3 var(--r-sans) !important; color: var(--r-accent-text) !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; transform: none !important;
  text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 4px;
}
article .cta-internal-link .cta-button-internal:hover { color: var(--r-accent-text) !important; }

/* Reading progress (legacy ids kept) */
.article-progress-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 2px; background: transparent; }
.article-progress-fill { height: 100%; width: 0; background: var(--r-accent); }

/* ---------- Demo modal (legacy ids: demoModal, modalStep1, modalStep2, modalSuccess) ---------- */
.demo-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: var(--r-gut); }
.demo-modal-overlay { position: absolute; inset: 0; background: rgba(26, 29, 27, .55); }
.demo-modal-content { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 36px 36px 30px; background: var(--r-paper); border: 1px solid var(--r-rule); border-top: 3px double var(--r-ink); border-radius: var(--r-radius-l); font-family: var(--r-sans); color: var(--r-ink); }
.demo-modal-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; font: 400 26px/1 var(--r-sans); color: var(--r-ink-2); background: none; border: 0; border-radius: var(--r-radius); cursor: pointer; }
.demo-modal-close:hover { color: var(--r-ink); background: var(--r-paper-2); }
.demo-modal-header { margin-bottom: 22px; padding-right: 36px; }
.demo-modal-badge { display: inline-block; font-size: 13px; font-weight: 500; color: var(--r-accent-text); }
.demo-modal-header h3 { margin: 6px 0 0; font: 500 26px/1.2 var(--r-serif); text-wrap: balance; }
.demo-modal-header p { margin: 8px 0 0; font-size: var(--r-fs-m); color: var(--r-ink-2); }
.profession-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; border-top: 1px solid var(--r-ink); }
.profession-tag { min-height: 48px; padding: 0; text-align: left; font: 400 16px/1.3 var(--r-sans); color: var(--r-ink); background: none; border: 0; border-bottom: 1px solid var(--r-rule); cursor: pointer; }
.profession-tag:hover, .profession-tag.selected { color: var(--r-accent-text); }
.demo-email-input, .qual-input { display: block; width: 100%; min-height: 48px; margin-bottom: 12px; padding: 11px 14px; font: 400 16px/1.4 var(--r-sans); color: var(--r-ink); background: var(--r-paper); border: 1px solid var(--r-ctl-border); border-radius: var(--r-radius); appearance: none; }
.demo-email-input:focus, .qual-input:focus { border-color: var(--r-accent); outline: 2px solid var(--r-ink); outline-offset: 0; }
textarea.qual-input { min-height: 88px; resize: vertical; }
.qual-select { padding-right: 40px; background: var(--r-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565C58' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.demo-form-error { margin: -4px 0 12px; font-size: 13.5px; color: var(--r-error); }
.demo-submit-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 4px; font: 500 16px/1.2 var(--r-sans); color: var(--r-on-accent); background: var(--r-accent); border: 0; border-radius: var(--r-radius); cursor: pointer; }
.demo-submit-btn:hover { background: var(--r-accent-hover); }
.demo-submit-btn:disabled { opacity: .72; cursor: progress; }
.demo-form-disclaimer { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--r-ink-2); }
#modalSuccess h4 { font: 500 24px/1.25 var(--r-serif) !important; color: var(--r-ink) !important; }
#modalSuccess p { color: var(--r-ink-2) !important; }
#modalSuccess > div:first-child { background: var(--r-accent-tint) !important; border: 1px solid var(--r-accent) !important; }
#modalSuccess svg { stroke: var(--r-accent) !important; }

/* ---------- Simple page shells: legal prose, 404, merci ---------- */
.r-page { padding: var(--r-s8) 0 var(--r-sect); }
.r-page__in { max-width: var(--r-measure); }
.r-page__title { font-size: var(--r-fs-4xl); line-height: 1.1; }
.r-page__meta { margin-top: 14px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-legal { margin-top: var(--r-s7); padding-top: var(--r-s2); border-top: 1px solid var(--r-ink); }
.r-legal h2 { margin: 1.8em 0 .5em; font-size: 25px; line-height: 1.25; }
.r-legal p, .r-legal li { font-size: 16.5px; line-height: 1.7; }
.r-legal p { margin: 0 0 1em; }
.r-legal ul { padding-left: 1.3em; }
.r-legal a { color: var(--r-accent-text); text-underline-offset: 3px; }
.r-status { padding: 96px 0 var(--r-sect); }
.r-status__in { max-width: 34em; }
.r-status__mark { width: 36px; height: 36px; color: var(--r-accent-text); }
.r-status__code { font-family: var(--r-serif); font-size: var(--r-fs-l); color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-status h1 { margin-top: 14px; font-size: var(--r-fs-4xl); line-height: 1.1; }
.r-status p { margin-top: var(--r-s4); font-size: 18px; color: var(--r-ink-2); }
.r-status__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--r-s3) var(--r-s5); margin-top: var(--r-s6); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .r-hero > .r-wrap { gap: 48px; }
  .r-hero__title { font-size: 38px; }
  .r-letter { padding: 30px 32px 26px; }
  .r-article > .r-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, var(--r-measure)) minmax(0, .4fr); }
}

@media (max-width: 980px) {
  :root { --r-sect: 80px; }
  .r-hero > .r-wrap, .r-reg > .r-wrap, .r-close > .r-wrap, .r-footer > .r-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .r-hero__intro { padding-bottom: 0; }
  .r-hero__title { font-size: 46px; }
  .r-close__spacer { display: none; }
  .r-reg__aside { max-width: none; }
  .r-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-quotes { grid-template-columns: minmax(0, 1fr); }
  .r-quote, .r-quote + .r-quote { padding: 24px 0 24px; border-left: 0; border-bottom: 1px solid var(--r-rule); }
  .r-article > .r-wrap { grid-template-columns: minmax(0, 1fr); }
  .r-article article { grid-column: 1; }
}

@media (max-width: 760px) {
  /* header: two rows, a designed mobile bar (no hamburger) */
  .r-header__in { grid-template-columns: 1fr auto; grid-template-areas: "mark cta" "nav nav"; min-height: 0; padding-top: 10px; }
  .r-nav { justify-self: stretch; margin: 6px calc(-1 * var(--r-gut)) 0; padding: 0 var(--r-gut); border-top: 1px solid var(--r-rule-soft); }
  .r-nav ul { gap: 0; justify-content: flex-start; }
  .r-nav li:first-child a { padding-left: 0; }
  .r-nav a { padding: 0 18px 0 0; margin-right: 6px; font-size: var(--r-fs-m); }
  .r-mark { font-size: 25px; }

  /* sticky bar: fixed to the bottom, shown when a page enables it */
  .r-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: var(--r-s3); padding: 12px var(--r-gut) calc(12px + env(safe-area-inset-bottom)); background: var(--r-paper); border-top: 1px solid var(--r-ink); transform: translateY(100%); transition: transform .25s ease; }
  .r-stickybar.is-visible { transform: none; }
  .r-stickybar__sum { flex: none; font-size: 13px; line-height: 1.35; color: var(--r-ink-2); }
  .r-stickybar__sum b { display: block; font: 500 var(--r-fs-l)/1.2 var(--r-serif); color: var(--r-ink); font-variant-numeric: lining-nums; }
  .r-stickybar .r-btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: 15px; white-space: nowrap; }
}

@media (max-width: 640px) {
  :root { --r-sect: 64px; }
  body.r-body { font-size: 16px; }
  .r-hero { padding: 32px 0 var(--r-sect); }
  .r-hero__title { font-size: clamp(28px, 8.6vw, 34px); line-height: 1.1; }
  .r-lede { font-size: 17px; }
  .r-hero .r-lede { margin-top: 18px; }
  .r-hero .r-lede { margin-bottom: 26px; }
  .r-leadcard, .r-hero .r-leadcard { padding: 20px; }
  .r-leadcard__head h2, .r-leadcard__head h3 { font-size: 21px; }
  .r-reassure { gap: 6px 18px; font-size: 13.5px; }
  .r-reg__title { font-size: 30px; }

  .r-switch { gap: 10px; }
  .r-seg { display: flex; width: 100%; }
  .r-seg button { flex: 1; min-height: 44px; padding: 0 8px; font-size: 13.5px; }

  .r-sheets { padding: 0 0 7px 7px; }
  .r-sheets::before { top: 7px; right: 7px; }
  .r-letter { padding: 24px 18px 18px; }
  .r-letter__top { flex-direction: column; gap: 2px; font-size: 12px; }
  .r-letter__top .r-mark { font-size: 17px; }
  .r-letter__objet { margin-top: 18px; font-size: 23px; padding-right: 64px; }
  .r-letter__salut { margin-bottom: 16px; font-size: var(--r-fs-s); }
  .r-letter__foot { flex-direction: column; gap: 2px; font-size: 12px; }
  /* stamp: the ring text is unreadable at this size, so it goes; « Gratuit / 0 € » stays large */
  .r-stamp { width: 92px; height: 92px; top: -18px; right: -6px; }
  .r-stamp__ring, .r-stamp__inner { display: none; }
  .r-stamp__big { font-size: 22px; }
  .r-stamp__small { font-size: 13px; }

  .r-diag thead { display: none; }
  .r-diag, .r-diag tbody, .r-diag tr, .r-diag td { display: block; width: auto !important; }
  .r-diag tr { display: grid; grid-template-columns: 26px 1fr auto; column-gap: 6px; padding: 16px 0 14px; border-bottom: 1px solid var(--r-rule); }
  .r-diag tr:first-child { border-top: 1px solid var(--r-ink); }
  .r-diag tr:last-child { border-bottom: 0; }
  .r-diag td { padding: 0; border: 0; }
  .r-diag .r-diag__n { grid-row: 1 / span 2; font-size: 18px; }
  .r-diag .r-diag__desc { grid-column: 2 / 4; }
  .r-diag .r-diag__h { grid-column: 2; margin-top: 10px; text-align: left; font-size: 17px; }
  .r-diag .r-diag__h small { display: inline; margin-left: 6px; }
  .r-diag .r-diag__p { grid-column: 3; margin-top: 10px; padding-left: 0; text-align: right; }
  .r-diag__t { font-size: 18px; }
  .r-diag__d { font-size: 13.5px; }
  .r-total { padding: 16px 0 12px; }
  .r-total__val { font-size: 32px; }
  .r-total__val span { display: block; margin: 6px 0 0; text-align: right; }

  .r-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .r-steps__n { font-size: 34px; }
  .r-steps h3 { margin-top: 14px; font-size: 22px; }
  .r-brief { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0 22px; }
  .r-brief__v { font-size: 19px; }
  .r-pains li { font-size: 19px; padding: 16px 0; }
  .r-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .r-tools li { padding: 15px 0; font-size: 16px; }
  .r-tools li:nth-child(-n+4) { border-top: 1px solid var(--r-rule); }
  .r-tools li:nth-child(-n+2) { border-top: 0; }
  .r-tools__intro { font-size: 17px; }

  .r-agents__head { display: none; }
  .r-agent { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 0 14px; padding: 18px 10px 18px 0; }
  .r-agent__name { font-size: 19px; }
  .r-agent__desc { font-size: 14.5px; }
  .r-agent__h { font-size: 19px; }
  .r-agent__tag { display: block; margin: 4px 0 0; }

  .r-quote blockquote { font-size: 19px; }
  .r-faq summary { font-size: 19px; padding: 18px 0; }
  .r-resources a { font-size: 17px; padding: 15px 0; }
  .r-close h2 { font-size: 34px; }
  .r-close .r-btn { width: 100%; }
  .r-footer ul { gap: 0 22px; }

  .r-posts { grid-template-columns: minmax(0, 1fr); }
  .r-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--r-gut)); padding: 0 var(--r-gut) 4px; scrollbar-width: none; }
  .r-filters li { flex: none; }
  .r-pager { gap: 2px; }

  .r-article { padding-top: var(--r-s5); }
  .r-article .article-h1, .r-article article h1 { font-size: 32px; }
  .r-article article p, .r-article article li { font-size: 17px; }
  .r-article article h2 { font-size: 26px; }
  .r-article article h3 { font-size: 21px; }
  .r-article article blockquote { padding-left: 18px; font-size: 19px; }
  .r-article .article-cta { padding: 24px 20px; }
  .r-article .article-cta .cta-button { width: 100%; justify-content: center; }
  .r-crumbs [aria-current="page"] { max-width: 22ch; }

  .demo-modal { align-items: flex-end; padding: 0; }
  .demo-modal-content { max-width: none; max-height: 92vh; padding: 28px 20px 24px; border-radius: var(--r-radius-l) var(--r-radius-l) 0 0; }
  .r-page__title, .r-status h1 { font-size: 34px; }
}

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

/* === phase 2: metier === */
/* Hero intro extras */
.r-kicker { margin-bottom: var(--r-s4); font-size: var(--r-fs-s); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--r-accent-text); }
.r-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: -12px 0 32px; padding: 0; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-facts li { display: inline-flex; align-items: center; gap: 6px; }
.r-facts .r-i { width: 16px; height: 16px; color: var(--r-accent-text); }
.r-quote__fig { display: flex; align-items: center; gap: 8px; }
.r-quote__fig .r-i { width: 18px; height: 18px; flex: none; }

/* Lead card, métier variant */
.r-leadcard__lede { margin: -4px 0 18px; font-size: var(--r-fs-m); line-height: 1.5; color: var(--r-ink-2); }
.r-leadcard__sel { margin-bottom: 14px; padding: 10px 12px; font-size: var(--r-fs-s); color: var(--r-accent-text); background: var(--r-accent-tint); border-radius: var(--r-radius); }
.r-leadcard__fine { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--r-ink-2); text-align: center; }
.r-leadcard__note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--r-ink-2); }
.r-leadcard__note .r-i { width: 16px; height: 16px; color: var(--r-accent-text); }
.r-leadcard__fix { font: inherit; color: var(--r-accent-text); background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.r-leadcard [data-submit-error] { margin: 0 0 12px; }

/* Crumbs as one line (legacy copy: "Accueil/Métiers/…") */
.r-crumbs__line { display: flex; flex-wrap: wrap; align-items: center; margin: 0; }
.r-crumbs__sep { margin: 0 8px; opacity: .55; }

/* Letter: tools line in the foot */
.r-letter__tools { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; }

/* Vocabulary */
.r-vocab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--r-s6); margin: 0; border-top: 1px solid var(--r-ink); }
.r-vocab > div { padding: 18px 0; border-bottom: 1px solid var(--r-rule); }
.r-vocab dt { font-family: var(--r-serif); font-size: var(--r-fs-l); line-height: 1.35; font-weight: 500; }
.r-vocab dd { margin: 4px 0 0; font-size: var(--r-fs-m); color: var(--r-ink-2); }

/* Agents: side column with a sticky selection summary */
.r-reg__side { align-self: stretch; }
.r-selsum { position: sticky; top: var(--r-s5); margin-top: var(--r-s6); padding-top: var(--r-s4); border-top: 1px solid var(--r-rule); }
.r-selsum__n { font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-selsum__h { margin: 2px 0 var(--r-s4); font-family: var(--r-serif); font-size: var(--r-fs-xl); line-height: 1.3; color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-agent__desc { display: block; }
.r-agent__feats { display: block; margin-top: 8px; font-size: var(--r-fs-xs); line-height: 1.5; color: var(--r-ink-2); }
.r-agent__foot { display: block; margin-top: 6px; font-size: var(--r-fs-xs); color: var(--r-ink-2); }
.r-agent__h .r-agent__tag { display: block; margin: 0 0 4px; vertical-align: 0; }

/* Tools and link rows rendered as inline runs */
p.r-tools > span { padding: 18px 0; border-top: 1px solid var(--r-rule); font-size: var(--r-fs-body); }
p.r-tools > span:nth-child(-n+4) { border-top: 0; }
div.r-resources > a { min-height: 44px; }

/* Quotes and close */
.r-quote blockquote strong { font-weight: 600; }
.r-close .r-close__note { margin-top: var(--r-s3); font-size: var(--r-fs-s); }

@media (max-width: 980px) {
  .r-selsum { display: none; }
}
@media (max-width: 760px) {
  .r-vocab { grid-template-columns: minmax(0, 1fr); }
  .r-facts { margin: -8px 0 24px; }
  p.r-tools > span { padding: 15px 0; font-size: 16px; }
  p.r-tools > span:nth-child(-n+4) { border-top: 1px solid var(--r-rule); }
  p.r-tools > span:nth-child(-n+2) { border-top: 0; }
  .r-body:has(.r-stickybar.is-visible) .r-footer { padding-bottom: 96px; }
  .r-stickybar:not(.has-sel) .r-stickybar__sum { display: none; }
  .r-stickybar .r-btn { min-width: 0; white-space: normal; line-height: 1.2; text-align: center; }
}
/* === end phase 2 === */

/* === phase 3: site === */
/* Site pages (site/pages.js): hub, use cases, FAQ, about, legal, merci, 404, team, home. */
.r-page__title span, .r-reg__title span, .r-hero__title span span, .r-close h2 span { font-style: normal; }
.r-page__lede { margin-top: var(--r-s5); }
.r-back { margin-bottom: var(--r-s5); font-size: var(--r-fs-s); }
.r-back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--r-ink-2); text-decoration: none; }
.r-back a:hover { color: var(--r-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.r-reg--brief { padding: var(--r-s7) 0; border-top: 0; }
.r-page + .r-reg--brief { padding-top: 0; }
.r-more { margin-top: var(--r-s5); }
.r-more .r-i { color: var(--r-accent-text); }

/* prose column next to a register title */
.r-prose { max-width: var(--r-measure); }
.r-prose > * + * { margin-top: 1em; }
.r-prose p, .r-prose li { font-size: var(--r-fs-body); line-height: 1.65; }
.r-prose a { color: var(--r-accent-text); text-underline-offset: 3px; }
.r-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--r-s7); max-width: none; }
.r-split > * + * { margin-top: 0; }
.r-note { padding: 22px 0 0; border-top: 1px solid var(--r-ink); }
.r-note h3 { font-size: var(--r-fs-xl); margin-bottom: var(--r-s2); }
.r-note p { font-size: var(--r-fs-m); color: var(--r-ink-2); }
.r-logos { display: flex; flex-wrap: wrap; gap: var(--r-s3) var(--r-s6); list-style: none; margin: var(--r-s4) 0 0; padding: 0; }
.r-logos li { display: inline-flex; align-items: center; gap: var(--r-s2); font-weight: 500; }
.r-logo { width: 20px; height: 20px; flex: none; fill: currentColor; color: var(--r-ink-2); }

/* figures: one big number per cell */
.r-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: var(--r-s7) 0 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-figures li { padding: 22px 24px 0 0; }
.r-figures li + li { padding-left: 24px; border-left: 1px solid var(--r-rule); }
.r-figures b { display: block; font: 600 46px/1 var(--r-serif); color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-figures li > span { display: block; margin-top: 10px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-figures--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.r-reg--stats { padding: var(--r-s8) 0; }

/* columns of short entries */
.r-cols { display: grid; gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.r-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r-cols li { padding: 22px 0 26px; border-top: 1px solid var(--r-ink); }
.r-cols h3 { font-size: var(--r-fs-xl); line-height: 1.3; }
.r-cols p { margin-top: 8px; font-size: var(--r-fs-m); line-height: 1.6; color: var(--r-ink-2); }

/* inline chips (trade links, tags): one run of text, laid out as pills */
.r-chips { display: flex; flex-wrap: wrap; gap: var(--r-s2); }
.r-chips a, .r-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: var(--r-fs-s); background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: 999px; text-decoration: none; }
.r-chips a:hover { color: var(--r-accent-text); border-color: var(--r-accent); }
.r-chips--static span { min-height: 32px; padding: 0 12px; font-size: 13px; color: var(--r-ink-2); }
.r-ticks { list-style: none; margin: 0; padding: 0; }
.r-ticks li { display: flex; gap: var(--r-s3); align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--r-rule-soft); }
.r-ticks .r-i { margin-top: 4px; color: var(--r-accent-text); }

/* hub index: ruled list of links */
.r-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.r-index a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--r-s4); align-items: center; min-height: 44px; height: 100%; padding: 18px 0; border-bottom: 1px solid var(--r-rule); text-decoration: none; }
.r-index h3 { font-size: var(--r-fs-l); line-height: 1.3; }
.r-index p { grid-column: 1; font-size: var(--r-fs-s); line-height: 1.5; color: var(--r-ink-2); }
.r-index .r-i { grid-column: 2; grid-row: 1 / span 2; color: var(--r-accent-text); transition: transform .15s; }
.r-index a:hover h3 { color: var(--r-accent-text); }
.r-index a:hover .r-i { transform: translateX(3px); }

/* team pages */
.r-person { display: flex; gap: var(--r-s6); align-items: flex-start; }
.r-person__mono { flex: none; display: grid; place-items: center; width: 88px; height: 88px; font: 600 32px/1 var(--r-serif); color: var(--r-accent-text); background: var(--r-accent-tint); border-radius: 50%; }
.r-person__role { margin-top: 10px; font-size: var(--r-fs-l); }
.r-person__org { margin: 4px 0 var(--r-s4); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-skills li { display: flex; align-items: center; gap: var(--r-s3); padding: 16px 0; border-bottom: 1px solid var(--r-rule); }
.r-skills .r-i { color: var(--r-accent-text); }
.r-postlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-postlist li { padding: 16px 0; border-bottom: 1px solid var(--r-rule); }
.r-postlist a { display: inline-flex; align-items: center; min-height: 44px; font: 500 var(--r-fs-l)/1.35 var(--r-serif); text-decoration: none; }
.r-postlist a:hover { color: var(--r-accent-text); }
.r-postlist span { display: block; font-size: 13px; color: var(--r-ink-2); }

/* 404 */
.r-404 { font: 600 96px/1 var(--r-serif); color: var(--r-accent-text); font-variant-numeric: lining-nums; margin-bottom: var(--r-s4); }
.r-404__cta { margin-top: var(--r-s6); }
.r-404__links { margin-top: var(--r-s5); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-404__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--r-accent-text); }

/* merci */
.r-merci__ok .r-i { width: 36px; height: 36px; color: var(--r-accent-text); }
.r-merci__ok { margin-bottom: var(--r-s4); }
.r-merci__card { margin-top: var(--r-s7); padding-top: 22px; border-top: 1px solid var(--r-ink); }
.r-merci__card h2 { font-size: var(--r-fs-xl); }
.r-merci__stats { display: flex; gap: var(--r-s7); margin: var(--r-s4) 0; }
.r-merci__stats b { display: block; font: 600 40px/1 var(--r-serif); color: var(--r-accent-text); font-variant-numeric: lining-nums; }
.r-merci__stats span { font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-merci__stats b span { font: inherit; color: inherit; }
.r-merci__custom h3 { font-size: var(--r-fs-l); }
.r-merci__custom p { margin-top: 6px; color: var(--r-ink-2); }
.r-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-timeline li { display: grid; grid-template-columns: 56px minmax(0, 1fr); padding: 22px 0; border-bottom: 1px solid var(--r-rule); }
.r-timeline h3 { font-size: var(--r-fs-xl); }
.r-timeline p { margin-top: 6px; color: var(--r-ink-2); max-width: 38em; }
.r-timeline__when { display: inline-flex; align-items: center; gap: 6px; font-size: var(--r-fs-s); color: var(--r-accent-text) !important; }
.r-timeline__when .r-i { width: 16px; height: 16px; }
.r-merci__quote { max-width: 40em; padding: 0; }
.r-merci__quote figcaption { display: flex; align-items: center; gap: var(--r-s3); }
.r-merci__quote figcaption > span:last-child > span { display: block; }
.r-merci__initials { display: grid; place-items: center; width: 44px; height: 44px; flex: none; font: 500 15px/1 var(--r-sans); color: var(--r-accent-text); background: var(--r-accent-tint); border-radius: 50%; }
.r-merci__back { padding: 0 0 var(--r-sect); }

/* legacy colophon line(s) in the shared footer */
div.r-footer__copy p + p { margin-top: 2px; }
div.r-footer__copy a { color: inherit; text-underline-offset: 3px; }

/* ---------- home ---------- */
.r-hero--home .r-lede--s { display: none; }
.r-home-card .r-kicker { margin-bottom: var(--r-s3); }
.r-home-card .r-leadcard__lede { margin-bottom: var(--r-s5); color: var(--r-ink-2); }
.r-home-card .r-leadcard__lede strong { font-weight: 500; color: var(--r-ink); }
.r-leadcard__note { display: flex; align-items: center; gap: var(--r-s2); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-leadcard__note .r-i { width: 16px; height: 16px; color: var(--r-accent-text); }
.r-home-card > .r-error { margin-top: var(--r-s3); }
.r-facts li { display: inline-flex; align-items: center; gap: 7px; }
.r-facts .r-i { width: 16px; height: 16px; color: var(--r-accent-text); }
.r-quote__fig { display: flex; align-items: center; gap: 8px; }
.r-quote__fig .r-i { width: 18px; height: 18px; flex: none; }
/* home: the example letter keeps its own height instead of stretching to the form's */
.r-hero--home > .r-wrap { align-items: start; }
.r-hero--home .r-sheets { flex-grow: 0; }
.r-hero--home .r-letter .r-total { margin-top: var(--r-s6); }

.r-tools-band { padding: var(--r-s6) 0; border-top: 1px solid var(--r-rule); }
.r-tools-band__t { margin-bottom: var(--r-s4); font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.r-marquee__track { display: flex; width: max-content; animation: r-marquee 40s linear infinite; }
.r-marquee ul { display: flex; gap: 44px; list-style: none; margin: 0; padding: 0 22px; }
.r-marquee li { display: inline-flex; align-items: center; gap: 10px; color: var(--r-ink-2); font-weight: 500; white-space: nowrap; }
@keyframes r-marquee { to { transform: translateX(-50%); } }

.r-reg--cases .r-reg__aside { max-width: 18em; }
.r-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.r-cases > li:last-child { grid-column: 1 / -1; }
.r-case { position: relative; display: flex; flex-direction: column; height: 100%; padding: 24px 0 28px; border-top: 1px solid var(--r-ink); text-decoration: none; }
.r-case h3 { font-size: var(--r-fs-xl); line-height: 1.3; }
.r-case > p { margin-top: 8px; font-size: var(--r-fs-m); line-height: 1.55; color: var(--r-ink-2); max-width: 30em; }
.r-case__go { display: inline-flex; align-items: center; gap: var(--r-s2); margin-top: 18px; font-size: var(--r-fs-s); font-weight: 500; color: var(--r-accent-text); }
.r-case__go .r-i { transition: transform .15s; }
.r-case:hover h3 { color: var(--r-accent-text); }
.r-case:hover .r-case__go .r-i { transform: translateX(3px); }

/* vignettes: small paper documents, quiet motion */
.r-vig { margin-top: 20px; padding: 16px 18px; font-size: 12.5px; line-height: 1.4; color: var(--r-ink-2); background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius-s); font-variant-numeric: lining-nums tabular-nums; }
.r-vig ul { list-style: none; margin: 0; padding: 0; }
.r-vig__ref { font-weight: 500; color: var(--r-ink); }
.r-vig__lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--r-rule-soft); }
.r-vig__lines span { flex: 1; height: 5px; max-width: 60%; background: var(--r-paper-2); border-radius: 2px; }
.r-vig__tot { display: flex; justify-content: space-between; padding-top: 8px; color: var(--r-ink); }
.r-vig__tot b { font-weight: 500; color: var(--r-accent-text); }
.r-vig__ok { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--r-accent-text); font-weight: 500; }
.r-vig__ok .r-i { width: 13px; height: 13px; }
.r-vig__note { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; color: var(--r-ink); }
.r-vig__note .r-i { width: 14px; height: 14px; color: var(--r-accent-text); }
.r-vig__head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.r-cal__days, .r-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.r-cal__days { margin-bottom: 4px; text-align: center; }
.r-cal li { height: 22px; background: var(--r-paper-2); border-radius: 2px; }
.r-cal__slot { position: relative; transition: background-color .3s; }
.r-cal__slot span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 10px; color: var(--r-on-accent); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.r-cal__slot.is-booked { background: var(--r-accent); }
.r-cal__slot.is-booked span { opacity: 1; }
.r-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.r-slot { padding: 4px 0; text-align: center; border: 1px solid var(--r-rule); border-radius: 2px; transition: background-color .3s, color .3s; }
.r-slot.is-filled { color: var(--r-on-accent); background: var(--r-accent); border-color: var(--r-accent); }
.r-scan__row { height: 6px; margin: 7px 0; background: var(--r-paper-2); border-radius: 2px; transform-origin: left; transition: background-color .3s; }
.r-scan__row:nth-child(2) { width: 82%; }
.r-scan__row:nth-child(4) { width: 64%; }
.r-scan__row.is-ok { background: var(--r-accent-tint); }
.r-vig--trades { padding: 14px 0 14px 12px; overflow: hidden; }
.r-trades { display: flex; width: max-content; animation: r-marquee 36s linear infinite; }
.r-trades + .r-trades { margin-top: 8px; animation-direction: reverse; }
.r-trades ul { display: flex; gap: 8px; padding-right: 8px; }
.r-trades li { padding: 4px 12px; border: 1px solid var(--r-rule); border-radius: 999px; white-space: nowrap; }

/* métier search (combobox) */
.r-search { position: relative; margin-top: var(--r-s6); max-width: 36em; }
.r-search__box { display: flex; align-items: center; gap: var(--r-s2); padding-left: 14px; background: var(--r-paper); border: 1px solid var(--r-ctl-border); border-radius: var(--r-radius); }
.r-search__box:focus-within { border-color: var(--r-accent); outline: 2px solid var(--r-ink); outline-offset: 2px; }
.r-search__box > .r-i { color: var(--r-ink-2); }
.r-search__box .r-ctl { flex: 1; min-width: 0; border: 0; background: none; padding-left: 4px; }
.r-search__box .r-ctl:focus { outline: none; box-shadow: none; }
.r-search__box .r-btn { margin: 3px; min-width: 44px; padding: 0 12px; }
.r-search__pop { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius); }
.r-search__pop ul { list-style: none; margin: 0; padding: 4px 0; }
.r-search__pop li { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 6px 16px; cursor: pointer; }
.r-search__pop li b { font-weight: 500; }
.r-search__pop li span { font-size: 13px; color: var(--r-ink-2); }
.r-search__pop li:hover, .r-search__pop li[aria-selected="true"] { background: var(--r-accent-tint); }

.r-close__acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--r-s3) var(--r-s5); margin-top: var(--r-s6); }
.r-close__acts .r-btn { margin-top: 0; }
.r-close__done { margin-top: var(--r-s6); }
.r-close__done .r-i { width: 28px; height: 28px; color: var(--r-accent-text); }
.r-close__done p:first-of-type { margin-top: 10px; font: 500 var(--r-fs-xl)/1.3 var(--r-serif); color: var(--r-ink); }
.r-close__done p + p { margin-top: 4px; }

/* dialogs (profession, exit) */
.r-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; color: var(--r-ink); background: var(--r-paper); border: 1px solid var(--r-ink); border-radius: var(--r-radius-l); }
.r-dialog::backdrop { background: rgba(26, 29, 27, .55); }
.r-dialog__in { position: relative; padding: 36px 36px 30px; }
.r-dialog h2 { font-size: var(--r-fs-2xl); line-height: 1.2; padding-right: 40px; }
.r-dialog__lede { margin: 8px 0 22px; color: var(--r-ink-2); }
.r-dialog__lede strong { font-weight: 500; color: var(--r-ink); }
.r-dialog .r-leadcard__count { margin-bottom: 8px; }
.r-dialog .r-leadcard__note { margin-top: 18px; }
.r-dialog .r-leadcard__fine { margin-top: 12px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-dialog__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--r-ink-2); background: none; border: 0; border-radius: var(--r-radius); cursor: pointer; }
.r-dialog__x:hover { color: var(--r-ink); background: var(--r-paper-2); }
.r-tags { display: flex; flex-wrap: wrap; gap: var(--r-s2); }
.r-tags button { min-height: 44px; padding: 0 16px; font: 500 var(--r-fs-s)/1 var(--r-sans); color: var(--r-ink); background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: 999px; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
.r-tags button:hover { color: var(--r-accent-text); border-color: var(--r-accent); }
.r-tags button[aria-pressed="true"] { color: var(--r-accent-text); background: var(--r-accent-tint); border-color: var(--r-accent); }
.r-leadcard__done-t { margin-top: 14px; font: 500 26px/1.2 var(--r-serif); color: var(--r-ink) !important; }

/* home footer: brand + newsletter, two link columns, base line */
.r-footer--home > .r-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 2fr); gap: 40px 56px; }
.r-footer__brand > p { margin-top: 6px; max-width: 26em; }
.r-footer__h { margin-bottom: 4px; font: 500 var(--r-fs-s)/1.4 var(--r-sans); color: var(--r-ink); }
.r-footer--home nav ul { flex-direction: column; }
.r-news { margin-top: var(--r-s5); max-width: 24em; }
.r-news__t { margin-bottom: var(--r-s2); font-weight: 500; color: var(--r-ink); }
.r-news form { display: flex; gap: var(--r-s2); }
.r-news .r-ctl { flex: 1; min-width: 0; }
.r-news .r-btn { min-width: 44px; padding: 0 12px; }
.r-news__done { margin-top: var(--r-s5); color: var(--r-ink); }
.r-news__done p { display: flex; align-items: center; gap: var(--r-s2); }
.r-news__done .r-i { color: var(--r-accent-text); }
.r-footer__base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--r-s2) var(--r-s5); padding-top: 22px; border-top: 1px solid var(--r-rule); }
.r-footer__base .r-footer__copy { margin: 0; }
.r-footer__about, .r-footer__mail { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: inherit; text-decoration: none; }
.r-footer__mail { margin-left: auto; justify-content: center; }
.r-footer__about:hover, .r-footer__mail:hover { color: var(--r-accent-text); }

@media (max-width: 980px) {
  .r-split, .r-cols--3, .r-index, .r-skills, .r-cases { grid-template-columns: minmax(0, 1fr); }
  .r-cases > li:last-child { grid-column: auto; }
  .r-figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-figures--4 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .r-figures--4 li:nth-child(n+3) { margin-top: 24px; }
  .r-footer--home > .r-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .r-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .r-hero--home .r-lede--s { display: inline; }
  .r-hero--home .r-lede--l { display: none; }
  .r-figures { grid-template-columns: minmax(0, 1fr); }
  .r-figures li, .r-figures li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--r-rule); }
  .r-figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-figures--4 li, .r-figures--4 li + li { padding: 18px 12px 18px 0; margin-top: 0; }
  .r-figures b { font-size: 38px; }
  .r-cols--2 { grid-template-columns: minmax(0, 1fr); }
  .r-person { flex-direction: column; gap: var(--r-s4); }
  .r-person__mono { width: 64px; height: 64px; font-size: 24px; }
  .r-timeline li { grid-template-columns: 40px minmax(0, 1fr); }
  .r-merci__stats { gap: var(--r-s6); }
  .r-404 { font-size: 72px; }
  .r-dialog { width: 100vw; max-width: none; max-height: 92vh; margin: auto 0 0; border-radius: var(--r-radius-l) var(--r-radius-l) 0 0; border-width: 1px 0 0; }
  .r-dialog__in { padding: 28px 20px 24px; }
  .r-dialog h2 { font-size: 24px; }
  .r-close__acts .r-btn { width: 100%; }
  .r-footer__mail { margin-left: 0; }
  .r-search__box .r-ctl { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-marquee__track, .r-trades { animation: none; }
  .r-marquee { overflow-x: auto; }
}
/* === end phase 3 === */

/* ---------- « La maquette » (DA G): isometric scene + pins + fiche ----------
   One 1.1 px non-scaling stroke; faces: ft top (white), fx / fy sides; .hl faces of the
   active spot fill orange. Pins are 48 px targets. Markup: site/templates/model.js */
.r-model { position: relative; margin: 0; width: 100%; }
.r-model__cap { font-size: var(--r-fs-s); color: var(--r-ink-2); margin: 0 0 4px; text-wrap: balance; }
.r-model__stage { position: relative; }
.r-iso { display: block; width: 100%; height: auto; overflow: visible; }
.r-iso polygon, .r-iso path, .r-iso ellipse, .r-iso rect:not(.r-iso__dots) { stroke: var(--r-ink); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.r-iso .ft { fill: #fff; } .r-iso .fx { fill: var(--r-side-x); } .r-iso .fy { fill: var(--r-side-y); }
.r-iso .fine { fill: none; stroke: #B9BCC1; stroke-width: .8; }
.r-iso polygon.fine { stroke-dasharray: 3 4; }
.r-iso .glass { fill: #fff; }
.r-iso line { stroke: var(--r-ink); stroke-width: 1.1; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.r-iso line.fine { stroke: #B9BCC1; stroke-width: .8; }
.r-iso line.scr { stroke: #9EA2A8; stroke-width: 1; }
.r-iso .cell { fill: #fff; stroke-width: .8; }
.r-iso .ink { fill: #C9CCD1; stroke-width: .8; }
.r-iso .lbl { fill: #fff; stroke-width: .8; }
.r-iso .slot { fill: var(--r-ink); }
.r-iso .key { fill: #fff; stroke-width: .7; }
.r-iso .keys { fill: #fff; stroke-width: .8; }
.r-iso__dots { stroke: none; }
.r-iso pattern circle { fill: #C9CCD1; stroke: none; }
.r-iso .hl { transition: fill .25s ease; }
.r-iso g.on .hl { fill: var(--r-accent); }
.r-iso g.on .scr { stroke: var(--r-ink); }
.r-iso .ld line { stroke: var(--r-ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.r-iso .ld circle { fill: var(--r-ink); stroke: none; }
.r-iso .ld { opacity: .35; transition: opacity .2s; }
.r-iso .ld.on { opacity: 1; }
/* Scenes copied with <use> (sceneUse/sceneSprite in site/templates/model.js). No selector
   reaches a <use> copy through an ancestor, so these rules name the element's own u-* class;
   stroke, width and joins are inherited from the <svg> around the <use>. Keep in step with the
   .r-iso rules above. Lit spots (--rsK) and vignette tints (--rv1, --rv2) are custom properties. */
.r-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.r-iso--use { stroke: var(--r-ink); stroke-width: 1.1; stroke-linejoin: round; }
.u-ln { stroke-linecap: round; }
[class^="u-"] { vector-effect: non-scaling-stroke; }
.u-ft { fill: #fff; } .u-fx { fill: var(--r-side-x); } .u-fy { fill: var(--r-side-y); }
.u-fine { fill: none; stroke: #B9BCC1; stroke-width: .8; }
polygon.u-fine { stroke-dasharray: 3 4; }
.u-glass { fill: #fff; }
line.u-scr { stroke: #9EA2A8; stroke-width: 1; }
.u-cell { fill: #fff; stroke-width: .8; }
.u-ink { fill: #C9CCD1; stroke-width: .8; }
.u-lbl { fill: #fff; stroke-width: .8; }
.u-slot { fill: var(--r-slot-fill, var(--r-ink)); }
.u-key { fill: #fff; stroke-width: .7; }
.u-keys { fill: #fff; stroke-width: .8; }
.r-pin { position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.r-pin span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--r-ink); font: 600 13px/1 var(--r-sans); font-variant-numeric: tabular-nums; color: var(--r-ink); transition: transform .2s ease, background-color .2s, border-color .2s; }
.r-pin:hover span { transform: scale(1.12); }
.r-pin[aria-pressed="true"] span { background: var(--r-accent); border-color: var(--r-accent); transform: scale(1.14); }
.r-body .r-pin:focus-visible { outline-offset: -2px; border-radius: 50%; }
.r-fiche { margin-top: 8px; border-top: 1px solid var(--r-ink); padding-top: 16px; }
.r-fiche__where { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; margin-top: -8px; font-size: var(--r-fs-s); color: var(--r-ink-2); }
.r-fiche__where b { color: var(--r-ink); font-weight: 600; }
.r-fiche__nav { display: flex; margin-right: -12px; }
.r-fiche__nav button { width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--r-ink); display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.r-fiche__nav button:hover { background: var(--r-rule-soft); }
.r-fiche__item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 32px; align-items: start; min-height: 76px; }
.r-fiche__item:not(:has(p)) { min-height: 0; } /* title-only items (home): no reserved line */
.r-fiche__item h3 { font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; }
.r-fiche__item p { margin-top: 4px; font-size: var(--r-fs-m); line-height: 1.5; color: var(--r-ink-2); max-width: 34em; }
.r-fiche__tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; padding-top: 2px; }
.r-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid var(--r-rule); border-radius: 4px; font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-tag--hi { border-color: var(--r-ink); }
.r-model__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--r-rule); font-size: var(--r-fs-m); color: var(--r-ink-2); }
.r-model__total b { color: var(--r-ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .r-js .r-iso .pc { animation: r-drop .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d); }
  .r-js .r-pin { animation: r-pop .4s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(1150ms + var(--i) * 90ms); }
  .r-js .r-iso .ld { animation: r-fade .4s ease both; animation-delay: 1100ms; }
}
@keyframes r-drop { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }
@keyframes r-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes r-fade { from { opacity: 0; } }
@media (max-width: 640px) {
  .r-fiche__item { grid-template-columns: 1fr; gap: 10px; }
  .r-fiche__tags { justify-content: flex-start; }
  .r-fiche__item h3 { font-size: 19px; }
}
.r-model__tools { margin-top: 12px; font-size: var(--r-fs-s); line-height: 1.5; color: var(--r-ink-2); }
.r-model__tools span { color: var(--r-ink); font-weight: 500; }

/* ---------- home hero, desktop: the whole first screen fits without scrolling ----------
   The form tightens its spacing and the drawing takes the height that is left
   (330px = switch, caption, fiche and total under it). */
@media (min-width: 981px) {
  .r-hero--home { padding: 28px 0 32px; }
  .r-hero--home .r-hero__title { font-size: clamp(42px, 6.2vh, 56px); }
  .r-hero--home .r-lede { margin-top: 14px; margin-bottom: 20px; }
  .r-hero--home .r-leadcard { padding: 22px 28px 20px; }
  .r-hero--home .r-home-card .r-kicker { margin-bottom: 8px; }
  .r-hero--home .r-leadcard__head { margin-bottom: 12px; padding-bottom: 12px; }
  .r-hero--home .r-home-card .r-leadcard__lede { margin-bottom: 14px; }
  .r-hero--home .r-field { margin-bottom: 12px; }
  .r-hero--home .r-leadcard__foot { padding-top: 12px; }
  .r-hero--home .r-switch { margin-bottom: 8px; }
  .r-hero--home .r-model__stage { width: min(100%, max(300px, calc((100svh - var(--r-header-h) - 330px) * 1.118))); margin-inline: auto; }
  .r-hero--home .r-fiche__where { min-height: 36px; }
  .r-hero--home .r-model__total { margin-top: 10px; padding-top: 10px; }
}
/* narrow desktop: an even split keeps the title on two lines */
@media (min-width: 981px) and (max-width: 1180px) {
  .r-hero--home > .r-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .r-hero--home .r-hero__title { font-size: clamp(40px, 4.3vw, 50px); }
}
/* short desktop windows: the card's kicker repeats the facts row above it */
@media (min-width: 981px) and (max-height: 820px) {
  .r-hero--home { padding-top: 20px; }
  .r-hero--home .r-home-card .r-kicker { display: none; }
  .r-hero--home .r-field { margin-bottom: 10px; }
  .r-hero--home .r-field > label { margin-bottom: 4px; }
}

/* ---------- home folds below the hero (DA G): keep the maquette and the orange alive ---------- */
.r-iso--art .pc { animation: none !important; }
.r-iso--art .ld { display: none; }

/* use cases: tinted dotted ground, white tiles, a drawing and the UI mock side by side */
.r-reg--cases { background-color: var(--r-side-y); background-image: radial-gradient(#D5D7DA 1px, transparent 1.2px); background-size: 22px 22px; border-top: 0; }
.r-reg--cases .r-cases { gap: 20px; }
.r-reg--cases .r-case { padding: 22px 24px 22px; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius-l); transition: border-color .15s, transform .15s; }
.r-reg--cases .r-case:hover { border-color: var(--r-ink); transform: translateY(-2px); }
.r-case__art { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: center; gap: 12px; margin-top: 18px; padding: 14px; background: var(--r-side-y); border-radius: var(--r-radius); }
.r-case__art .r-iso--art { width: 100%; }
.r-case__art .r-vig { margin-top: 0; }
.r-case__go { margin-top: auto; padding-top: 16px; }
.r-reg--cases .r-search__box { background: var(--r-paper); }
.r-vig__lines span { background: var(--r-accent-tint); }
.r-vig__ok { padding: 3px 8px 3px 6px; color: var(--r-on-accent); background: var(--r-accent); border-radius: 3px; }
.r-vig__tot b { padding: 1px 6px; background: var(--r-accent-tint); border-radius: 2px; }

@media (min-width: 981px) {
  .r-reg--cases > .r-wrap > div:first-child, .r-reg:has(.r-quotes) > .r-wrap > div:first-child { position: sticky; top: 32px; align-self: start; }
}
.r-reg--cases .r-slot { font-size: 11.5px; }
.r-reg--cases .r-vig__tot { align-items: center; gap: 8px; }
.r-reg--cases .r-vig__tot b { white-space: nowrap; }

/* figures: one ink band, numbers in white, units in orange */
.r-reg--stats { background: var(--r-ink); border-top: 0; padding: 72px 0; color: #fff; }
.r-reg--stats > .r-wrap { grid-template-columns: minmax(0, 1fr); }
.r-reg--stats > .r-wrap > div:empty { display: none; }
.r-reg--stats .r-figures { border-top: 0; }
.r-reg--stats .r-figures li + li { border-left-color: rgba(255,255,255,.16); }
.r-reg--stats .r-figures b { font-size: 56px; color: var(--r-accent); }
.r-reg--stats .r-figures b > span { color: #fff; }
.r-reg--stats .r-figures li > span { color: #B9BCC1; }

/* steps: orange lozenge markers, the logo shape */
.r-steps__n { position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 44px; height: 44px; font: 600 18px/1 var(--r-sans); color: var(--r-on-accent); }
.r-steps__n::before { content: ""; position: absolute; z-index: -1; width: 30px; height: 30px; background: var(--r-accent); border-radius: 3px; transform: rotate(45deg); }
.r-how__art { margin-top: 32px; max-width: 280px; }

/* testimonials: white cards on the dotted ground */
.r-reg:has(.r-quotes) { background-color: var(--r-side-y); background-image: radial-gradient(#D5D7DA 1px, transparent 1.2px); background-size: 22px 22px; }
.r-reg .r-quotes { gap: 20px; border-top: 0; }
.r-reg .r-quote, .r-reg .r-quote + .r-quote { height: 100%; padding: 26px 28px; background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: var(--r-radius-l); }
.r-reg .r-quote blockquote { font-size: var(--r-fs-l); line-height: 1.5; }

/* closing call: ink band, the maquette lit on the left */
.r-close { background: var(--r-ink); border-top: 0; color: #fff; }
@media (min-width: 981px) { .r-close > .r-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.r-close h2 { color: #fff; }
.r-close p, .r-close .r-close__note { color: #B9BCC1; }
.r-close .r-link, .r-close .r-link:hover { color: #fff; }
.r-close .r-iso--art { max-width: 420px; }
.r-close :focus-visible { outline-color: #fff; }

@media (max-width: 980px) {
  .r-how__art { display: none; }
  .r-close__spacer { display: block; max-width: 300px; }
  .r-reg--stats .r-figures--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .r-reg--stats .r-figures li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .r-reg--cases .r-cases { gap: 14px; }
  .r-reg--cases .r-case { padding: 18px; }
  .r-case__art { grid-template-columns: minmax(0, 1fr); }
  .r-case__art .r-iso--art { max-width: 220px; margin: 0 auto; }
  .r-reg--stats .r-figures b { font-size: 44px; }
  .r-reg .r-quotes { gap: 14px; }
  .r-reg .r-quote, .r-reg .r-quote + .r-quote { padding: 22px 20px; border-bottom: 1px solid var(--r-rule); }
  .r-close__spacer { max-width: 200px; }
}

/* ---------- métier page, « L'aplat » ----------
   site/templates/metier.js + agents.js. An orange field for the hero with the diagnostic
   sheet tilted on it, white editorial sections, the agents on blush, an orange close.
   Small text on orange is ink (AA); only the large titles turn white.
   Every rule is scoped to .r-body--metier or an r-m- / r-ap- class. */
.r-body--metier { background: var(--r-paper); }

/* hero: trail, promise and form on the field | the sheet */
.r-hero--metier { padding: 40px 0 112px; color: var(--r-ink); background: var(--r-accent); }
.r-hero--metier > .r-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.r-hero--metier .r-hero__intro { padding: 0; }
.r-hero--metier .r-hero__main { display: grid; gap: 24px; }
.r-hero--metier .r-crumbs { padding: 0; font-size: 13px; color: var(--r-ink); }
.r-hero--metier .r-crumbs a { min-height: 32px; color: var(--r-ink); }
.r-hero--metier .r-crumbs__line { min-height: 32px; }
.r-hero--metier .r-kicker { display: none; } /* the trail right above already names the trade */
.r-hero--metier .r-hero__title { --r-h1-k: 1; max-width: 14ch; font-size: clamp(40px, 5vw * var(--r-h1-k), 80px * var(--r-h1-k)); line-height: .96; letter-spacing: -0.045em; color: #fff; }
.r-hero--metier .r-hero__title .r-l { display: inline; }
.r-hero--metier .r-lede { margin: 0; max-width: 36ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--r-ink); }
.r-hero--metier .r-facts { margin: 0; gap: 6px 22px; font-size: var(--r-fs-m); color: var(--r-ink); }
.r-hero--metier .r-facts .r-i { color: var(--r-ink); }
/* the form sits on the field: white fields, one ink button */
.r-hero--metier .r-leadcard { max-width: 580px; margin: 8px 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
.r-hero--metier [data-step="1"] .r-leadcard__head,
.r-hero--metier [data-step="1"] .r-leadcard__lede { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.r-hero--metier [data-step="1"]:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 8px; }
.r-hero--metier [data-step="1"] > :not(.r-field) { grid-column: 1 / -1; }
.r-hero--metier .r-field { margin-bottom: 8px; }
.r-hero--metier .r-field > label { margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--r-ink); }
.r-hero--metier .r-ctl { min-height: 58px; padding: 0 16px; font-size: 16px; background: #fff; border: 0; border-radius: 2px; }
.r-hero--metier textarea.r-ctl { min-height: 88px; padding: 14px 16px; }
.r-hero--metier .r-ctl:focus { outline: 2px solid var(--r-ink); outline-offset: 0; box-shadow: none; }
.r-hero--metier .r-btn { min-height: 64px; margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #fff; background: var(--r-ink); border-color: var(--r-ink); border-radius: 2px; }
.r-hero--metier .r-btn:hover { color: var(--r-ink); background: #fff; border-color: #fff; }
.r-hero--metier .r-leadcard__head { margin-bottom: 12px; padding-bottom: 12px; border-color: var(--r-ink); }
.r-hero--metier .r-leadcard__head h3 { font-size: var(--r-fs-xl); }
.r-hero--metier .r-leadcard__count, .r-hero--metier .r-leadcard__fine, .r-hero--metier .r-leadcard__recap { color: var(--r-ink); }
.r-hero--metier .r-leadcard__sel { color: var(--r-ink); background: #FFD7C8; border-radius: 2px; }
.r-hero--metier .r-leadcard__foot { padding-top: 12px; border: 0; }
.r-hero--metier .r-leadcard__note { font-size: var(--r-fs-m); color: var(--r-ink); }
.r-hero--metier .r-leadcard__note .r-i { color: var(--r-ink); }
.r-hero--metier .r-error { font-weight: 600; color: var(--r-ink); }
.r-hero--metier .r-leadcard__done { color: var(--r-ink); }
.r-hero--metier .r-leadcard__done > .r-i { color: #fff; }
.r-hero--metier .r-leadcard__done p { color: var(--r-ink); }

/* the sheet: the proof, tilted, straight on hover */
.r-ap-stage { position: relative; display: grid; place-items: center; }
.r-ap-under { position: absolute; top: 24px; bottom: -12px; width: min(440px, 100%); background: #FFD7C8; border-radius: 2px; transform: rotate(3deg); }
.r-ap-sheet { position: relative; width: min(440px, 100%); margin: 0; padding: 32px 30px 28px; color: var(--r-ink); background: var(--r-paper); border-radius: 2px; transform: rotate(-4deg); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.r-ap-stage:hover .r-ap-sheet { transform: rotate(0); }
.r-ap-meta { display: flex; justify-content: space-between; gap: 16px; font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; color: #6F6F6F; }
.r-ap-sheet h2 { margin: 18px 0 4px; font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; }
.r-ap-for { font-size: var(--r-fs-m); color: #6F6F6F; }
.r-ap-rows { list-style: none; margin: 14px 0 0; padding: 0; }
.r-ap-rows li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; padding: 13px 0; font-size: var(--r-fs-m); line-height: 1.4; border-bottom: 1px solid #E6E3DD; }
.r-ap-rows b { font-weight: 600; color: var(--r-ink); }
.r-ap-rows li span:last-child { white-space: nowrap; color: #6F6F6F; font-variant-numeric: tabular-nums; }
.r-ap-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0 4px; font-weight: 600; }
.r-ap-tot strong { font-size: 30px; letter-spacing: -0.03em; white-space: nowrap; }
.r-ap-tag { margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: #6F6F6F; }

/* shared */
.r-m-h2 { max-width: 18ch; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }

/* the situations: white, numbered rows */
.r-m-dark { padding: 128px 0 112px; background: var(--r-paper); }
.r-m-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.r-m-kicker { margin-bottom: 18px; font: 500 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: #6F6F6F; }
.r-m-brief { max-width: 40ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #4A4A4A; }
.r-m-pains { list-style: none; margin: 72px 0 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-m-pains li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 32px; align-items: center; padding: 36px 0; border-bottom: 1px solid #E6E3DD; }
.r-m-pains__n { font-size: 112px; font-weight: 600; line-height: .8; letter-spacing: -0.06em; color: var(--r-accent); font-variant-numeric: lining-nums; }
.r-m-pains p { max-width: 34ch; font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; line-height: 1.22; letter-spacing: -0.025em; }
.r-m-voc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; margin-top: 96px; padding: 56px; background: #FFD7C8; border-radius: 2px; }
.r-m-voc h3 { max-width: 14ch; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; }
.r-m-voc h3 + p { margin-top: 14px; max-width: 28ch; font-size: var(--r-fs-body); line-height: 1.5; color: #4A4A4A; }
.r-m-voc dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin: 0; }
.r-m-voc dt { display: flex; gap: 12px; align-items: flex-start; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.r-m-voc dt .r-i { width: 20px; height: 20px; margin-top: 2px; color: var(--r-ink); stroke-width: 2.4; }
.r-m-voc dd { margin: 6px 0 0 32px; font-size: var(--r-fs-m); line-height: 1.5; color: #4A4A4A; }

/* agents: paper cards on blush, the pack as a wide ink card */
.r-m-agents { padding: 128px 0 112px; background: #FFF1EB; }
.r-m-agents__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.r-m-agents__sub { max-width: 34ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #4A4A4A; }
.r-m-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; min-width: 0; margin: 56px 0 0; padding: 0; border: 0; }
.r-m-ac { display: grid; background: var(--r-paper); border-radius: 2px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.r-m-ac:hover { transform: translateY(-4px); }
.r-m-ac__txt { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 28px 24px 18px; }
.r-m-ac__h, .r-m-suite__h { font-size: 64px; font-weight: 600; line-height: .9; letter-spacing: -0.055em; color: var(--r-accent); font-variant-numeric: lining-nums; }
.r-m-ac__hu { margin-left: .06em; }
.r-m-ac__hs { margin-left: 2px; font-size: 20px; letter-spacing: -0.02em; color: #6F6F6F; }
.r-m-tag { display: table; margin-bottom: 14px; padding: 5px 9px; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .04em; color: #fff; background: var(--r-ink); border-radius: 2px; }
.r-m-ac h3 { margin-top: 10px; font-size: 22px; line-height: 1.15; letter-spacing: -0.025em; }
.r-m-ac__line { font-size: var(--r-fs-m); line-height: 1.5; color: #4A4A4A; }
.r-m-ac__foot { display: grid; gap: 10px; justify-items: start; margin-top: 10px; }
.r-m-more { width: 100%; margin-top: 6px; border-top: 1px solid #E6E3DD; }
.r-m-more summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; list-style: none; cursor: pointer; font-size: var(--r-fs-m); font-weight: 500; }
.r-m-more summary::-webkit-details-marker { display: none; }
.r-m-more summary .r-i { width: 18px; height: 18px; transition: transform .2s; }
.r-m-more[open] summary .r-i { transform: rotate(180deg); }
.r-m-more ul, .r-m-suite__feats { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0 0 10px; font-size: var(--r-fs-m); line-height: 1.4; }
.r-m-more li, .r-m-suite__feats li { display: flex; gap: 10px; align-items: flex-start; }
.r-m-more li .r-i, .r-m-suite__feats .r-i { width: 15px; height: 15px; margin-top: 3px; color: var(--r-ink); stroke-width: 2.4; }
.r-m-pick { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px; font-size: var(--r-fs-m); font-weight: 500; line-height: 1.2; border: 1px solid var(--r-ink); border-radius: 2px; cursor: pointer; transition: background-color .15s, color .15s; }
.r-m-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.r-m-pick__box { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--r-ink); border-radius: 2px; }
.r-m-pick__box .r-i { width: 13px; height: 13px; stroke-width: 2.4; opacity: 0; }
.r-m-pick:hover { background: #FFF1EB; }
.r-m-pick:has(input:checked) { color: #fff; background: var(--r-ink); }
.r-m-pick:has(input:checked) .r-m-pick__box { background: var(--r-accent); border-color: var(--r-accent); }
.r-m-pick:has(input:checked) .r-m-pick__box .r-i { opacity: 1; color: var(--r-ink); }
.r-m-pick:has(input:focus-visible) { outline: 2px solid var(--r-ink); outline-offset: 3px; }
.r-m-suite { grid-column: span var(--span, 3); display: grid; align-items: center; color: #fff; background: var(--r-ink); border-radius: 2px; }
.r-m-suite__txt { display: grid; gap: 12px; justify-items: start; align-content: center; padding: 48px; }
.r-m-suite__h { margin-top: 4px; font-size: 96px; line-height: .9; }
.r-m-suite__h .r-m-tag { font-size: 13px; color: var(--r-ink); background: #fff; }
.r-m-suite__h .r-m-ac__hs { font-size: 28px; color: #9A9A9A; }
.r-m-suite h3 { font-size: 34px; letter-spacing: -0.035em; }
.r-m-suite__line { max-width: 44ch; margin-bottom: 8px; font-size: var(--r-fs-body); line-height: 1.5; color: #CFCFCF; }
.r-m-suite .r-m-pick, .r-m-suite .r-m-pick__box { border-color: #fff; }
.r-m-suite .r-m-pick:hover { background: #242424; }
.r-m-suite .r-m-pick:has(input:checked) { color: var(--r-ink); background: #fff; }
.r-m-suite .r-m-pick:has(input:checked) .r-m-pick__box { border-color: var(--r-accent); }
.r-m-suite .r-m-pick:has(input:focus-visible) { outline-color: #fff; }
.r-m-suite__feats { columns: 2; column-gap: 32px; display: block; margin-top: 12px; padding: 0; color: #CFCFCF; }
.r-m-suite__feats li { break-inside: avoid; margin-bottom: 8px; }
.r-m-suite__feats .r-i { color: var(--r-accent); }
.r-m-suite__tools { max-width: 60ch; font-size: var(--r-fs-s); line-height: 1.5; color: #9A9A9A; }
.r-m-suite__tools span { color: #fff; }
.r-m-suite :focus-visible { outline-color: #fff; }
.r-m-sum { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--r-ink); }
.r-m-sum p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-size: var(--r-fs-body); }
.r-m-sum b { font-size: 36px; font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; font-variant-numeric: lining-nums tabular-nums; }
.r-m-sum [data-sum-n] { padding-left: 16px; border-left: 1px solid #D8D2CB; color: #4A4A4A; }
.r-m-sum .r-btn { min-height: 60px; padding: 0 28px; font-size: 17px; font-weight: 600; }

/* testimonials (none on the 30 pages today; kept for the data shape) */
.r-m-quotes { padding: 112px 0; color: #fff; background: var(--r-ink); }
.r-m-qf { margin: 48px 0 0; }
.r-m-qf__txt { display: grid; gap: 22px; justify-items: start; }
.r-m-q__fig { font-size: 76px; font-weight: 600; line-height: .95; letter-spacing: -0.05em; color: var(--r-accent); font-variant-numeric: lining-nums; }
.r-m-quotes blockquote { margin: 0; max-width: 30ch; font-size: clamp(28px, 2.7vw, 40px); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; }
.r-m-quotes figcaption { display: grid; gap: 2px; font-size: var(--r-fs-body); }
.r-m-quotes figcaption span { color: #9A9A9A; }
.r-m-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.r-m-q { display: grid; gap: 16px; align-content: start; margin: 0; padding: 36px; background: #242424; border-radius: 2px; }
.r-m-quotes :focus-visible { outline-color: #fff; }

/* FAQ: a title that stays, the questions on the right */
.r-m-faq { padding: 128px 0 0; background: var(--r-paper); }
.r-m-faq > .r-wrap, .r-m-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.r-m-faq .r-m-h2 { position: sticky; top: 40px; margin: 0; }
.r-m-faq .r-faq { border-top: 1px solid var(--r-ink); }
.r-m-faq .r-faq details { border-color: #E6E3DD; }
.r-m-faq .r-faq summary { min-height: 76px; padding: 22px 0; font-family: var(--r-sans); font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.r-m-faq .r-faq summary .r-i { width: 22px; height: 22px; color: var(--r-ink); }
.r-m-faq .r-faq details > p { max-width: 62ch; padding: 0 48px 24px 0; font-size: var(--r-fs-body); line-height: 1.55; color: #4A4A4A; }

/* what leads elsewhere: the trades as a large list, reads as a ruled list, the tools in words */
.r-m-next { padding: 128px 0 120px; background: var(--r-paper); }
.r-m-next > .r-wrap { display: grid; gap: 80px; }
.r-m-row h3 { margin: 0; padding-top: 8px; max-width: 12em; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; }
.r-m-trades { list-style: none; margin: 0; padding: 0; }
.r-m-trades a { display: inline-flex; align-items: center; gap: 18px; padding: 2px 0; font-size: clamp(34px, 4.2vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: -0.045em; color: #C9C6BF; text-decoration: none; transition: color .2s; }
.r-m-trades a .r-i { width: .6em; height: .6em; opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; color: var(--r-accent); }
.r-m-trades a:hover, .r-m-trades a:focus-visible { color: var(--r-ink); }
.r-m-trades a:hover .r-i, .r-m-trades a:focus-visible .r-i { opacity: 1; transform: none; }
.r-m-reads { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-m-reads li { border-bottom: 1px solid #E6E3DD; }
.r-m-reads a { display: flex; align-items: center; gap: 24px; padding: 22px 0; color: var(--r-ink); text-decoration: none; }
.r-m-reads__t { flex: 1; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.r-m-reads__t small { display: block; margin-top: 6px; font-size: var(--r-fs-m); font-weight: 400; line-height: 1.45; letter-spacing: 0; color: #6F6F6F; }
.r-m-reads a > .r-i { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.r-m-reads a:hover .r-m-reads__t { text-decoration: underline; text-decoration-color: var(--r-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.r-m-reads a:hover > .r-i { transform: translateX(4px); }
.r-m-tools { margin: 0; font-size: clamp(26px, 3vw, 44px); font-weight: 500; line-height: 1.3; letter-spacing: -0.04em; }
.r-m-tools i { font-style: normal; font-weight: 400; color: var(--r-accent); }

/* the orange close */
.r-m-close { padding: 128px 0; color: var(--r-ink); background: var(--r-accent); }
.r-m-close h2 { max-width: 15ch; font-size: clamp(40px, 5vw, 80px); line-height: .98; letter-spacing: -0.045em; color: #fff; }
.r-m-close h2 + p { max-width: 40ch; margin: 24px 0 36px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.r-m-close__note { margin-top: 16px; font-size: var(--r-fs-m); }
.r-btn--ink { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-btn--ink:hover { color: var(--r-ink); background: #fff; border-color: #fff; }
.r-m-close .r-btn { min-height: 64px; padding: 0 32px; font-size: 18px; font-weight: 600; border-radius: 2px; }

@media (max-width: 980px) {
  .r-hero--metier > .r-wrap, .r-m-intro, .r-m-faq > .r-wrap, .r-m-row, .r-m-voc { grid-template-columns: minmax(0, 1fr); }
  .r-hero--metier > .r-wrap { gap: 64px; }
  .r-m-faq .r-m-h2 { position: static; }
  .r-m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r-m-suite { grid-column: 1 / -1; }
  .r-m-agents__head { display: block; }
  .r-m-agents__sub { margin-top: 16px; }
  .r-m-voc { padding: 40px; }
}
@media (max-width: 640px) {
  .r-hero--metier { padding: 20px 0 72px; }
  .r-hero--metier .r-hero__main { gap: 18px; }
  .r-hero--metier .r-hero__title { font-size: clamp(34px, 10.4vw * var(--r-h1-k), 46px); line-height: 1; }
  .r-hero--metier .r-lede { font-size: 17px; }
  .r-hero--metier .r-facts { font-size: 14px; }
  .r-hero--metier [data-step="1"]:not([hidden]) { display: block; }
  .r-hero--metier .r-btn { font-size: 16px; }
  .r-ap-sheet { padding: 26px 20px 22px; transform: rotate(-2deg); }
  .r-ap-under { display: none; }
  .r-ap-rows li { grid-template-columns: 18px minmax(0, 1fr); }
  .r-ap-rows li span:last-child { grid-column: 2; margin-top: -6px; font-size: 13px; }
  .r-m-h2 { font-size: 34px; }
  .r-m-dark, .r-m-agents, .r-m-next, .r-m-close { padding: 80px 0; }
  .r-m-faq { padding: 80px 0 0; }
  .r-m-intro { gap: 20px; }
  .r-m-pains { margin-top: 40px; }
  .r-m-pains li { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .r-m-pains__n { font-size: 56px; }
  .r-m-pains p { font-size: 20px; }
  .r-m-voc { gap: 24px; margin-top: 56px; padding: 28px 20px; }
  .r-m-voc dl { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .r-m-voc dt { font-size: 17px; }
  .r-m-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; }
  .r-m-ac__txt { padding: 24px 20px 16px; }
  .r-m-ac__h { font-size: 56px; }
  .r-m-suite__txt { padding: 28px 22px 30px; }
  .r-m-suite__h { font-size: 72px; }
  .r-m-suite h3 { font-size: 28px; }
  .r-m-suite__feats { columns: 1; }
  .r-m-sum { display: grid; }
  .r-m-sum b { font-size: 28px; }
  .r-m-sum [data-sum-n] { width: 100%; padding: 0; border: 0; }
  .r-m-sum .r-btn { width: 100%; }
  .r-m-qs { grid-template-columns: minmax(0, 1fr); }
  .r-m-faq > .r-wrap, .r-m-row { gap: 28px; }
  .r-m-faq .r-faq details > p { padding-right: 0; }
  .r-m-next > .r-wrap { gap: 56px; }
  .r-m-trades a { font-size: 34px; }
  .r-m-reads__t { font-size: 18px; }
  .r-m-tools { font-size: 26px; }
  .r-m-close h2 + p { font-size: 18px; }
  .r-m-close .r-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .r-ap-sheet, .r-m-ac, .r-m-more summary .r-i, .r-m-trades a, .r-m-trades .r-i, .r-m-reads .r-i, .r-m-pick { transition: none; }
}

/* ---------- home hero, right column: what Clotilde automates for the trade picked ----------
   site/templates/peek.js. A native select inside the question, the scene with its pins,
   three rows (automation, weekly gain; the active one shows what it does), the total. */
.r-peek__q { font-size: var(--r-fs-2xl); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
.r-peek__who { font-weight: 600; box-shadow: inset 0 -2px 0 var(--r-accent); }
.r-peek__stage { position: relative; max-width: 470px; margin: 12px auto 0; transition: opacity .18s ease; }
.r-peek__stage.is-swap { opacity: 0; }
.r-peek__scene { position: relative; }
.r-peek.is-live .r-iso .pc, .r-peek.is-live .r-iso .ld, .r-peek.is-live .r-pin { animation: none; }
.r-peek__rows { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--r-rule); }
.r-peek__rows li { border-bottom: 1px solid var(--r-rule-soft); }
.r-peek__row { width: 100%; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 0; font: inherit; color: var(--r-ink); text-align: left; background: none; border: 0; cursor: pointer; }
.r-peek__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--r-rule); font: 600 13px/1 var(--r-sans); font-variant-numeric: tabular-nums; color: var(--r-ink-2); transition: background-color .2s, border-color .2s, color .2s; }
.r-peek__t { display: block; font-size: var(--r-fs-body); font-weight: 500; line-height: 26px; }
.r-peek__d { display: block; overflow: hidden; max-height: 0; font-size: var(--r-fs-m); line-height: 1.45; color: var(--r-ink-2); transition: max-height .25s ease, margin-top .25s ease; }
.r-peek__g { font-size: var(--r-fs-m); line-height: 26px; color: var(--r-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-peek__row[aria-pressed="true"] .r-peek__d { max-height: 4.5em; margin-top: 2px; }
.r-peek__row[aria-pressed="true"] .r-peek__n { background: var(--r-accent); border-color: var(--r-accent); color: var(--r-on-accent); }
.r-peek__row[aria-pressed="true"] .r-peek__g { color: var(--r-ink); }
.r-peek__row:hover .r-peek__t { text-decoration: underline; text-decoration-color: var(--r-rule); text-underline-offset: 4px; }
.r-peek__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 14px; font-size: var(--r-fs-m); color: var(--r-ink-2); }
.r-peek__total b { font-size: var(--r-fs-xl); font-weight: 600; color: var(--r-ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-peek__fine { margin-top: 4px; font-size: 13px; color: var(--r-ink-2); }
/* the form's sector select lights up when the picker fills it */
@media (min-width: 981px) {
  /* 360px = question, rows, total and note under the drawing */
  .r-hero--home .r-peek__stage { width: min(100%, max(280px, calc((100svh - var(--r-header-h) - 360px) * 1.118))); }
}
@media (max-width: 640px) {
  .r-peek__q { font-size: 21px; }
  .r-peek__row { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .r-peek__stage, .r-peek__d, .r-peek__n { transition: none; }
}

/* ---------- /metiers hub: search, families, a scene per family ----------
   site/templates/hub.js. Hovering a trade shows its scene in the family's tile. */
.r-page--hub { padding-bottom: 0; }
.r-hub { padding: var(--r-s5) 0 var(--r-s9); }
.r-hub__lede { max-width: 46ch; }
.r-hub__search { position: relative; display: block; max-width: 620px; margin-top: var(--r-s6); }
.r-hub__search .r-i { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--r-ink-2); pointer-events: none; }
.r-hub__search .r-ctl { width: 100%; height: 60px; padding-left: 50px; font-size: 18px; border-radius: 8px; }
.r-hub__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.r-hub__chips button { min-height: 40px; padding: 0 14px; font: 400 var(--r-fs-s)/1 var(--r-sans); color: var(--r-ink-2); background: var(--r-paper); border: 1px solid var(--r-rule); border-radius: 999px; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.r-hub__chips button:hover { color: var(--r-ink); border-color: #8A8F96; }
.r-hub__chips button[aria-pressed="true"] { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-hub__cat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--r-s8); padding: 56px 0; border-top: 1px solid var(--r-rule-soft); }
.r-hub__chips + .r-hub__cat { margin-top: var(--r-s7); }
.r-hub__cat[hidden] { display: none; }
.r-hub__side { position: sticky; top: calc(var(--r-header-h) + 24px); align-self: start; }
.r-hub__h { font-size: var(--r-fs-2xl); line-height: 1.2; letter-spacing: -0.02em; }
.r-hub__n { margin: 4px 0 20px; font-size: var(--r-fs-m); color: var(--r-ink-2); font-variant-numeric: tabular-nums; }
.r-hub__tile { display: grid; place-items: center; aspect-ratio: 4 / 3.2; padding: 20px 24px; background: #F7F7F5; border-radius: 12px; }
.r-hub__tile .r-iso { width: 100%; height: 100%; transition: opacity .15s ease; }
.r-hub__tile .r-iso.is-swap { opacity: 0; }
.r-hub__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-rule); }
.r-hub__list li { border-bottom: 1px solid var(--r-rule-soft); }
.r-hub__list li[hidden] { display: none; }
.r-hub__trade { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 44px; margin: 0 -12px; padding: 20px 12px; color: var(--r-ink); text-decoration: none; border-radius: 8px; transition: background-color .15s; }
.r-hub__trade:hover, .r-hub__trade:focus-visible { background: #F7F7F5; }
.r-hub__trade h3 { margin-bottom: 4px; font-size: var(--r-fs-l); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.r-hub__txt > span { display: block; font-size: var(--r-fs-m); line-height: 1.45; color: var(--r-ink-2); }
.r-hub__trade .r-i { color: #8A8F96; transition: transform .2s ease, color .2s; }
.r-hub__trade:hover .r-i { transform: translateX(4px); color: var(--r-ink); }
.r-hub mark { color: inherit; background: var(--r-accent-tint); border-radius: 2px; }
.r-hub__empty { padding: 56px 0 0; border-top: 1px solid var(--r-rule-soft); margin-top: var(--r-s7); }
.r-hub__empty[hidden], [data-hub-close][hidden] { display: none; }
.r-hub__empty h2 { font-size: var(--r-fs-xl); letter-spacing: -0.015em; }
.r-hub__empty p { margin: 8px 0 20px; font-size: var(--r-fs-body); color: var(--r-ink-2); }
@media (max-width: 980px) {
  .r-hub__cat { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 40px 0; }
  .r-hub__side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 0 16px; }
  .r-hub__tile { grid-row: 1 / 3; grid-column: 2; padding: 8px; }
  .r-hub__n { margin: 0; }
}
@media (max-width: 640px) {
  .r-hub__chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--r-gut) * -1); padding-right: var(--r-gut); scrollbar-width: none; }
  .r-hub__chips button { white-space: nowrap; }
  .r-hub__h { font-size: 24px; }
  .r-hub__trade h3 { font-size: var(--r-fs-body); }
}
@media (prefers-reduced-motion: reduce) {
  .r-hub__tile .r-iso, .r-hub__trade, .r-hub__trade .r-i { transition: none; }
}

/* ---------- home hero: one promise, one trade choice, two fields ----------
   The form is the hero's call to action, not a card: no frame, the two step-1 fields on one
   row, the three promises under the button. The picker on the right follows its select. */
.r-hero--home .r-kicker { margin-bottom: var(--r-s3); }
.r-hero--home .r-home-card { margin-top: 0; padding: 0; background: none; border: 0; border-radius: 0; }
.r-home-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.r-home-row .r-field { margin-bottom: 12px; }
.r-hero--home .r-home-facts { margin: 14px 0 0; }
@media (min-width: 981px) {
  .r-hero--home > .r-wrap { align-items: center; }
  .r-hero--home .r-home-card { padding: 0; }
}
@media (max-width: 420px) {
  .r-home-row { gap: 8px; }
  .r-home-row .r-ctl { padding-left: 12px; font-size: 15px; }
  .r-home-row select.r-ctl { padding-right: 30px; background-position: right 8px center; }
  .r-hero--home .r-home-facts { gap: 6px 14px; font-size: 13px; }
}

/* ==========================================================================
   « L'aplat » (DA 2026-11-19): site-wide layer. Last in the file so it wins over the
   earlier phases. Orange fields for the heroes, white paper, ink buttons, 2px corners,
   no shadow. Small text on orange is ink (white fails AA below 24px there).
   ========================================================================== */
:root {
  --r-blush: #FFD7C8;
  --r-blush-2: #FFF1EB;
  --r-mute: #6F6F6F;
  --r-line: #E6E3DD;
  --r-radius-s: 2px;
  --r-radius: 2px;
  --r-radius-l: 2px;
}

/* buttons: ink by default, orange on hover; white on orange fields */
.r-btn { color: #fff; background: var(--r-ink); border-color: var(--r-ink); font-weight: 600; letter-spacing: -0.005em; }
.r-btn:hover { color: var(--r-ink); background: var(--r-accent); border-color: var(--r-accent); }
.r-btn[aria-busy="true"] { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-btn--secondary { color: var(--r-ink); background: transparent; border-color: var(--r-ink); }
.r-btn--secondary:hover { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-link { color: var(--r-ink); text-decoration-color: var(--r-accent); text-decoration-thickness: 2px; }
.r-ctl { border-radius: 2px; }

/* header: white on white pages, part of the field on orange pages */
.r-header { background: var(--r-paper); border-bottom: 1px solid var(--r-line); }
.r-mark { letter-spacing: -0.04em; }
.r-nav a { color: var(--r-ink); }
.r-nav a:hover { text-decoration: underline; text-decoration-color: var(--r-accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.r-nav a[aria-current="page"] { text-decoration-thickness: 2px; }
.r-header__cta { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-header__cta:hover { color: var(--r-ink); background: var(--r-accent); border-color: var(--r-accent); }
.r-body--metier .r-header, .r-home .r-header, .r-body--field .r-header { background: var(--r-accent); border-bottom: 0; }
.r-body--metier .r-mark polygon, .r-home .r-mark polygon, .r-body--field .r-mark polygon { fill: var(--r-ink); }
.r-body--metier .r-nav a[aria-current="page"], .r-home .r-nav a[aria-current="page"], .r-body--field .r-nav a[aria-current="page"],
.r-body--metier .r-nav a:hover, .r-home .r-nav a:hover, .r-body--field .r-nav a:hover { text-decoration-color: #fff; }
.r-body--metier .r-header__cta, .r-home .r-header__cta, .r-body--field .r-header__cta { color: var(--r-ink); background: #fff; border-color: #fff; }
.r-body--metier .r-header__cta:hover, .r-home .r-header__cta:hover, .r-body--field .r-header__cta:hover { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }

/* footer: quiet, one rule above */
.r-footer { padding: 48px 0 56px; border-top: 1px solid var(--r-line); color: var(--r-mute); }
.r-footer ul a { color: var(--r-mute); }
.r-footer ul a:hover { color: var(--r-ink); text-decoration-color: var(--r-accent); }

/* sticky bar on mobile métier pages */
.r-stickybar { border-top: 1px solid var(--r-line); }

/* ================= L'aplat: home ================= */
/* hero: the métier hero rules, mirrored */
.r-hero--home { padding: 40px 0 112px; color: var(--r-ink); background: var(--r-accent); }
.r-hero--home > .r-wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.r-hero--home .r-hero__intro { padding: 0; }
.r-hero--home .r-hero__main { display: grid; gap: 24px; }
.r-hero--home .r-crumbs { padding: 0; font-size: 13px; color: var(--r-ink); }
.r-hero--home .r-crumbs a { min-height: 32px; color: var(--r-ink); }
.r-hero--home .r-crumbs__line { min-height: 32px; }
.r-hero--home .r-kicker { display: none; } /* the trail right above already names the trade */
.r-hero--home .r-hero__title { --r-h1-k: 1; max-width: 14ch; font-size: clamp(40px, 5vw * var(--r-h1-k), 80px * var(--r-h1-k)); line-height: .96; letter-spacing: -0.045em; color: #fff; }
.r-hero--home .r-hero__title .r-l { display: inline; }
.r-hero--home .r-lede { margin: 0; max-width: 36ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--r-ink); }
.r-hero--home .r-facts { margin: 0; gap: 6px 22px; font-size: var(--r-fs-m); color: var(--r-ink); }
.r-hero--home .r-facts .r-i { color: var(--r-ink); }
.r-hero--home .r-leadcard { max-width: 580px; margin: 8px 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
.r-hero--home [data-step="1"] .r-leadcard__head,
.r-hero--home [data-step="1"] .r-leadcard__lede { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.r-hero--home [data-step="1"]:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 8px; }
.r-hero--home [data-step="1"] > :not(.r-field) { grid-column: 1 / -1; }
.r-hero--home .r-field { margin-bottom: 8px; }
.r-hero--home .r-field > label { margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--r-ink); }
.r-hero--home .r-ctl { min-height: 58px; padding: 0 16px; font-size: 16px; background: #fff; border: 0; border-radius: 2px; }
.r-hero--home textarea.r-ctl { min-height: 88px; padding: 14px 16px; }
.r-hero--home .r-ctl:focus { outline: 2px solid var(--r-ink); outline-offset: 0; box-shadow: none; }
.r-hero--home .r-btn { min-height: 64px; margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: #fff; background: var(--r-ink); border-color: var(--r-ink); border-radius: 2px; }
.r-hero--home .r-btn:hover { color: var(--r-ink); background: #fff; border-color: #fff; }
.r-hero--home .r-leadcard__head { margin-bottom: 12px; padding-bottom: 12px; border-color: var(--r-ink); }
.r-hero--home .r-leadcard__head h3 { font-size: var(--r-fs-xl); }
.r-hero--home .r-leadcard__count, .r-hero--home .r-leadcard__fine, .r-hero--home .r-leadcard__recap { color: var(--r-ink); }
.r-hero--home .r-leadcard__sel { color: var(--r-ink); background: #FFD7C8; border-radius: 2px; }
.r-hero--home .r-leadcard__foot { padding-top: 12px; border: 0; }
.r-hero--home .r-leadcard__note { font-size: var(--r-fs-m); color: var(--r-ink); }
.r-hero--home .r-leadcard__note .r-i { color: var(--r-ink); }
.r-hero--home .r-error { font-weight: 600; color: var(--r-ink); }
.r-hero--home .r-leadcard__done { color: var(--r-ink); }
.r-hero--home .r-leadcard__done > .r-i { color: #fff; }
.r-hero--home .r-leadcard__done p { color: var(--r-ink); }
.r-hero--home { padding: 56px 0 120px; }
.r-hero--home .r-hero__title { max-width: 12ch; font-size: clamp(44px, 6vw, 96px); }
.r-hero--home .r-lede { margin: 24px 0 32px; max-width: 34ch; }
.r-hero--home .r-lede b { font-weight: 600; }
.r-hero--home .r-home-card { margin: 0; max-width: 600px; }
.r-hero--home .r-home-row { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; }
.r-hero--home [data-step="1"]:not([hidden]) { display: block; }
.r-hero--home .r-btn--block { width: 100%; }
.r-home-fine { margin-top: 14px; font-size: var(--r-fs-m); color: var(--r-ink); }
.r-home-s2 { margin-bottom: 12px; font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; color: #fff; }
.r-hero--home .r-hero__doc { align-self: center; }
.r-peek__panels { transition: opacity .18s ease; }
.r-peek__panels.is-swap { opacity: 0; }
.r-peek h2 { margin: 18px 0 4px; font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; }
.r-peek__who { color: var(--r-accent); }
.r-peek__txt { display: grid; gap: 2px; }
.r-peek__d { font-size: 13px; color: #6F6F6F; }
.r-peek__total b { font-size: 30px; letter-spacing: -0.03em; white-space: nowrap; }

/* shared section heads */
.r-ap-h { max-width: 18ch; font-size: clamp(36px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.04em; text-wrap: balance; }
.r-ap-lede { margin-top: 18px; max-width: 44ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: #4A4A4A; }
.r-ap-lede a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* how: three steps, each with its picture */
.r-ap-how { padding: 136px 0 120px; background: var(--r-paper); }
.r-ap-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 72px 0 0; padding: 0; }
.r-ap-steps > li { display: grid; grid-template-rows: auto auto 1fr; gap: 20px; }
.r-ap-num { font-size: 96px; font-weight: 600; line-height: .8; letter-spacing: -0.06em; color: var(--r-accent); }
.r-ap-copy h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; }
.r-ap-copy p { margin-top: 10px; max-width: 32ch; font-size: var(--r-fs-body); line-height: 1.5; color: #4A4A4A; }
.r-ap-vis { display: grid; place-items: center; min-height: 280px; padding: 32px 24px; border-radius: 2px; }
.r-ap-vis--o { background: var(--r-accent); }
.r-ap-vis--b { background: #FFD7C8; }
.r-ap-vis--k { background: var(--r-ink); }
.r-ap-mf { display: grid; gap: 8px; width: min(280px, 100%); transform: rotate(-3deg); }
.r-ap-mf > div { padding: 14px 14px; font-size: 14px; background: #fff; border-radius: 2px; }
.r-ap-mf__ph { color: #8A8A8A; }
.r-ap-mf > span { padding: 15px 14px; font-size: 14px; font-weight: 600; text-align: center; color: #fff; background: var(--r-ink); border-radius: 2px; }
.r-ap-mail { width: min(300px, 100%); padding: 20px 20px 14px; background: #fff; border-radius: 2px; transform: rotate(2deg); }
.r-ap-mail__hd { padding-bottom: 12px; font-size: 12.5px; line-height: 1.5; color: #6F6F6F; border-bottom: 1px solid #E6E3DD; }
.r-ap-mail__hd b { color: var(--r-ink); font-weight: 600; }
.r-ap-mail ol { list-style: none; margin: 0; padding: 0; }
.r-ap-mail li, .r-ap-mail__t { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 13.5px; border-bottom: 1px solid #E6E3DD; }
.r-ap-mail li span:last-child { color: #6F6F6F; white-space: nowrap; }
.r-ap-mail__t { border: 0; font-weight: 600; }
.r-ap-mail__t b { color: var(--r-accent); white-space: nowrap; }
.r-ap-feed { width: min(300px, 100%); color: #fff; }
.r-ap-feed__lab { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; color: #B5B5B5; }
.r-ap-feed__lab i { width: 8px; height: 8px; border-radius: 50%; background: var(--r-accent); }
.r-ap-feed__e { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 11px 0; font-size: 13.5px; line-height: 1.4; border-top: 1px solid #2E2E2E; }
.r-ap-feed__e span:first-child { font-variant-numeric: tabular-nums; color: var(--r-accent); }
.r-ap-feed__note { margin-top: 10px; font-size: 12px; color: #8A8A8A; }

/* trades: a big list, the hovered trade shows its 3 automations */
.r-ap-trades { padding: 136px 0 120px; background: #FFF1EB; }
.r-tl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 5vw, 80px); align-items: start; margin-top: 56px; }
.r-tl__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--r-ink); }
.r-tl__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; color: #A8A29A; text-decoration: none; border-bottom: 1px solid #E6DCD4; transition: color .2s ease; }
.r-tl__list a span { font-size: clamp(26px, 3vw, 44px); font-weight: 500; line-height: 1.05; letter-spacing: -0.035em; }
.r-tl__list a small { font-size: var(--r-fs-m); color: inherit; white-space: nowrap; }
.r-tl__list a:hover, .r-tl__list a:focus-visible, .r-tl__list a.is-on { color: var(--r-ink); }
.r-tl__list a.is-on small { color: var(--r-accent); font-weight: 600; }
.r-tl__more { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--r-ink); text-decoration: underline; text-underline-offset: 4px; }
.r-tl__side { position: sticky; top: calc(var(--r-header-h, 72px) + 32px); }
.r-tl__card { padding: 12px; background: #FFD7C8; border-radius: 2px; transform: rotate(2deg); }
.r-tl__paper { padding: 28px 26px 22px; background: #fff; border-radius: 2px; transform: rotate(-4deg); }
.r-tl__paper h3 { margin-top: 6px; font-size: 26px; line-height: 1.1; letter-spacing: -0.03em; }

/* tools: one dark band */
.r-ap-tools { padding: 120px 0; color: #fff; background: var(--r-ink); }
.r-ap-tools .r-ap-lede { color: #B5B5B5; }
.r-ap-tw { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 56px; font-size: clamp(28px, 3.4vw, 52px); font-weight: 500; line-height: 1.2; letter-spacing: -0.035em; }
.r-ap-tw i { font-style: normal; color: var(--r-accent); }

/* letter: a paper sheet on blush */
.r-ap-letter { padding: 128px 0; background: #FFD7C8; }
.r-ap-letter__paper { max-width: 760px; margin: 0 auto; padding: clamp(32px, 5vw, 64px); background: #fff; border-radius: 2px; transform: rotate(-1deg); }
.r-ap-letter__paper h2 { margin-top: 24px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.04em; }
.r-ap-letter__p { margin-top: 20px; font-size: 19px; line-height: 1.55; color: #3A3A3A; }
.r-ap-prom { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 32px 0 0; padding: 0; }
.r-ap-prom li { display: flex; gap: 10px; font-size: var(--r-fs-m); line-height: 1.5; color: #4A4A4A; }
.r-ap-prom b { color: var(--r-ink); font-weight: 600; }
.r-ap-prom .r-i { flex: none; width: 20px; height: 20px; color: var(--r-accent); stroke-width: 2.6; }
.r-ap-sign { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #E6E3DD; }
.r-ap-sign p { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.r-ap-sign small { display: block; font-size: 13px; font-weight: 400; color: #6F6F6F; }
.r-ap-sign a { font-weight: 600; color: var(--r-accent); }

/* faq */
.r-ap-faq { padding: 128px 0; background: var(--r-paper); }
.r-ap-faq > .r-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.r-ap-faq > .r-wrap > div:first-child { position: sticky; top: calc(var(--r-header-h, 72px) + 32px); }
.r-ap-faq__list { border-top: 1px solid var(--r-ink); }
.r-ap-faq__list > * { border-bottom: 1px solid #E6E3DD; }
.r-ap-faq__list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 24px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.r-ap-faq__list summary::-webkit-details-marker { display: none; } /* accents-ok */
.r-ap-faq__list summary .r-i { flex: none; transition: transform .2s ease; }
.r-ap-faq__list [open] summary .r-i { transform: rotate(180deg); }
.r-ap-faq__list p { max-width: 56ch; padding-bottom: 24px; font-size: 17px; line-height: 1.55; color: #4A4A4A; }

/* end: orange */
.r-ap-end { padding: 136px 0; background: var(--r-accent); }
.r-ap-end .r-ap-h { max-width: 16ch; color: #fff; font-size: clamp(40px, 5.4vw, 88px); }
.r-ap-end .r-ap-lede { color: var(--r-ink); }
.r-ap-end .r-btn { min-height: 64px; margin-top: 36px; padding: 0 28px; font-size: 18px; color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-ap-end .r-btn:hover { color: var(--r-ink); background: #fff; border-color: #fff; }

@media (max-width: 980px) {
  .r-hero--home > .r-wrap { grid-template-columns: 1fr; gap: 64px; }
  .r-ap-steps { grid-template-columns: 1fr; gap: 56px; }
  .r-tl { grid-template-columns: 1fr; }
  .r-tl__side { display: none; }
  .r-ap-faq > .r-wrap { grid-template-columns: 1fr; gap: 32px; }
  .r-ap-faq > .r-wrap > div:first-child { position: static; }
}
@media (max-width: 640px) {
  .r-hero--home { padding: 32px 0 80px; }
  .r-hero--home .r-hero__title { font-size: clamp(40px, 11vw, 56px); }
  .r-hero--home .r-home-row { grid-template-columns: 1fr; gap: 0; }
  .r-ap-how, .r-ap-trades, .r-ap-letter, .r-ap-faq, .r-ap-end { padding: 88px 0; }
  .r-ap-tools { padding: 88px 0; }
  .r-ap-num { font-size: 72px; }
  .r-tl__list a { flex-direction: column; gap: 4px; }
  .r-ap-prom { grid-template-columns: 1fr; }
  .r-ap-letter__paper { transform: none; }
  .r-ap-sign { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .r-peek__panels, .r-tl__list a, .r-ap-faq__list summary .r-i { transition: none; }
}

/* ================= L'aplat: secondary pages (bodyClass r-body--field) ================= */
/* the page head is an orange band, as on the home and the métier pages */
.r-body--field .r-crumbs { color: var(--r-ink); background: var(--r-accent); }
.r-body--field .r-crumbs a:hover { color: #fff; }
.r-body--field .r-page { padding: 56px 0 104px; color: var(--r-ink); background: var(--r-accent); }
.r-body--field .r-page__title { max-width: 16ch; font-size: clamp(44px, 6vw, 96px); line-height: .96; letter-spacing: -0.045em; color: #fff; text-wrap: balance; }
.r-body--field .r-page__lede { max-width: 40ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--r-ink); }
.r-body--field .r-page .r-kicker { font: 500 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--r-ink); }
.r-body--field .r-back a { color: var(--r-ink); }
.r-body--field .r-page .r-btn { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-body--field .r-page .r-btn:hover { color: var(--r-ink); background: #fff; border-color: #fff; }
.r-body--field .r-figures { border-color: var(--r-ink); }
.r-body--field .r-figures li + li { border-color: rgba(20, 20, 20, .25); }
.r-body--field .r-figures b { font-size: clamp(48px, 5vw, 80px); letter-spacing: -0.05em; color: #fff; }
.r-body--field .r-figures li > span { color: var(--r-ink); }
.r-body--field .r-404 { font-size: clamp(120px, 18vw, 240px); letter-spacing: -0.06em; line-height: .8; color: #fff; }
.r-body--field .r-404__links, .r-body--field .r-404__links a { color: var(--r-ink); }
.r-body--field .r-merci__ok .r-i { color: #fff; }
.r-body--field .r-merci__card { padding: 28px 32px; color: var(--r-ink); background: #fff; border: 0; border-radius: 2px; }
.r-page-body { padding: 96px 0 var(--r-sect); }
.r-page-body .r-faq { max-width: 860px; border-top: 1px solid var(--r-ink); }

/* sections under the band: aplat type */
.r-body--field .r-reg__title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -0.04em; }
.r-body--field .r-reg .r-kicker { font: 500 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: #6F6F6F; }
.r-body--field .r-reg--brief { padding-top: 72px; }

/* /metiers hub: no drawings, big family counts */
.r-page--hub { padding-bottom: 104px; }
.r-hub__lede { margin-top: 72px; }
.r-hub__search .r-ctl { min-height: 58px; border-radius: 2px; }
.r-hub__chips button { border-radius: 2px; }
.r-hub__chips button[aria-pressed="true"] { color: #fff; background: var(--r-ink); border-color: var(--r-ink); }
.r-hub__cat { padding: 72px 0; border-color: #E6E3DD; }
.r-hub__h { font-size: clamp(30px, 3vw, 44px); line-height: 1.02; letter-spacing: -0.04em; }
.r-hub__n { margin: 12px 0 0; font: 500 12px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; color: #6F6F6F; }
.r-hub__list { border-color: var(--r-ink); }
.r-hub__list li { border-color: #E6E3DD; }
.r-hub__trade h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.03em; transition: color .2s ease; }
.r-hub__trade:hover h3, .r-hub__trade:focus-visible h3 { color: var(--r-accent); }

/* legal pages stay white and quiet: aplat type only */
main.r-page > .r-wrap .r-page__title { font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -0.045em; }
.r-hub__trade:hover, .r-hub__trade:focus-visible { background: none; }
@media (prefers-reduced-motion: reduce) { .r-hub__trade h3 { transition: none; } }
@media (max-width: 640px) {
  .r-body--field .r-page { padding: 32px 0 72px; }
  .r-page-body { padding-top: 56px; }
  .r-hub__lede { margin-top: 48px; }
  .r-hub__cat { padding: 48px 0; }
}
