/* Pages reprises de l'ancien wayne.ch (légales, pages Google, baromètre, jobs, calculateur, estimation).
   Mise en page simple à la DA : titres fins, tuiles au trait, lignes de chiffres. */
.rp-hero { padding-bottom: clamp(28px, 4vw, 48px); }
.rp-hero .label { margin-bottom: 18px; }
.rp-title { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.05em; font-weight: 400; max-width: 18ch; text-wrap: balance; }
.rp-hero .lead { margin-top: 24px; max-width: 62ch; }
.rp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rp-sec { padding: clamp(36px, 5vw, 72px) 0; }
.rp-head { margin-bottom: clamp(24px, 3vw, 40px); }
.rp-head .label { display: block; margin-bottom: 14px; }
.rp-head .h2 { max-width: 22ch; text-wrap: balance; }
.rp-prose { max-width: 74ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.rp-prose + .rp-prose, .rp-prose + .rp-table, .rp-table + .rp-prose, .rp-stats + .rp-prose, .rp-prose + .rp-stats, .rp-tiles + .rp-prose, .faq + .rp-prose, .rp-prose + .faq, .rp-table + .rp-table, .rp-prose + .rp-tiles { margin-top: 28px; }
.rp-prose > * + * { margin-top: 14px; }
.rp-prose h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); margin-top: 44px; }
.rp-prose h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin-top: 28px; }
.rp-prose h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-top: 22px; }
.rp-prose a, .rp-tile a:not(.btn), .faq details a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rp-prose strong, .rp-tile strong { color: var(--ink); font-weight: 600; }
.rp-prose ul, .rp-prose ol, .rp-tile ul, .rp-tile ol, .faq details ul { padding-left: 20px; display: grid; gap: 6px; }
.rp-prose ul, .rp-tile ul, .faq details ul { list-style: disc; }
.rp-prose ol, .rp-tile ol { list-style: decimal; }
.rp-legal .rp-prose { font-size: 15.5px; }
.rp-legal .rp-sec { padding: clamp(14px, 2vw, 28px) 0; }
.rp-legal .rp-head { margin-bottom: 16px; }
.rp-legal .rp-head .h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); max-width: none; letter-spacing: -0.03em; }
.rp-legal .rp-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.rp-legal > .rp-sec:last-of-type { padding-bottom: clamp(64px, 8vw, 110px); }

.rp-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.rp-tile { border: 1px solid var(--ink); border-radius: var(--r-card, 20px); background: var(--surface); padding: clamp(22px, 2.4vw, 32px); color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.rp-tile > * + * { margin-top: 12px; }
.rp-tile h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; color: var(--ink); margin-top: 28px; }
.rp-n { display: block; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.rp-tile .rp-btns { margin-top: 18px; }

.rp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.rp-stats > div { border-top: 1px solid var(--ink); padding-top: 16px; }
.rp-stats b { display: block; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.rp-stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.rp-hero + .rp-sec { padding-top: clamp(12px, 2vw, 24px); }

.rp-table { max-width: 780px; border-top: 1px solid var(--ink); }
.rp-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.rp-row b { font-weight: 500; color: var(--ink); }
.rp-row small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.rp-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.rp-val small { white-space: normal; }

.rp .faq { max-width: 860px; }
.rp .faq details > * + * { margin-top: 0; }
.rp .faq details > p + p { padding-top: 0; margin-top: -8px; }

@media (max-width: 960px) { .rp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rp-tiles { grid-template-columns: 1fr; }
  .rp-row { gap: 14px; font-size: 14.5px; }
  .rp-val { white-space: normal; }
}

/* Calculateur autonome : mêmes jetons que la fiche bien */
#calc-page { --bn-blue: #0f2d7a; }

.rp-tblw { max-width: 860px; overflow-x: auto; margin-top: 28px; }
.rp-tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.rp-tbl th, .rp-tbl td { text-align: left; padding: 13px 14px 13px 2px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.rp-tbl th { font-weight: 500; color: var(--ink); border-bottom-color: var(--ink); }
.rp-tbl td:first-child { color: var(--ink); font-weight: 500; }
