/* simulateur-credit-hypothecaire.be — identité « PLAN »
   Papier calque et trame de plan d'architecte, bleu ardoise et corail des chevrons-toits du logo,
   cotes et repères d'angle, DM Serif Display + DM Sans. */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/DMSerifDisplay-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/DMSans-400-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --c-brand: #3d5a80; --c-brand-2: #2b3a55; --c-accent: #fe5f55; --c-cta: #fe5f55; --c-on-cta: #1a2238; --c-on-brand: #fff;
  --c-ink: #1a2238; --c-muted: #4f5b70; --c-line: #d6e0ec; --c-surface: #f1f5fa; --c-surface-2: #e4ecf5;
  --c-soft: #e8f0f9; --c-eyebrow: #3d5a80; --c-link: #2f5a8f;
  --f-display: "DM Serif Display", Georgia, serif; --f-body: "DM Sans", system-ui, sans-serif;
  --w-display: 400; --ls-display: -0.015em; --lh-display: 1.04;
  --r-sm: 4px; --r: 8px; --r-lg: 12px; --r-btn: 6px;
  --hero-bg: #f4f7fb; --c-tick: #3d5a80; --c-final-bg: #2b3a55; --c-card-big-bg: #2b3a55; --c-card-big-kicker: #ffb3ad;
  --c-footer-bg: #1f2a40; --logo-h: 46px; --logo-h-d: 58px;
}
body { font-size: 1.04rem; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem); }
h2 { letter-spacing: -0.01em; }
.prose h2, .prose h3 { font-family: var(--f-body); font-weight: 700; letter-spacing: -0.02em; }
/* Hero : trame de plan + toits en chevrons (logo) */
.hero-bg {
  background:
    linear-gradient(rgb(87 115 153 / .09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgb(87 115 153 / .09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgb(87 115 153 / .14) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgb(87 115 153 / .14) 1px, transparent 1px) 0 0 / 120px 120px, #f4f7fb;
}
.hero::after { content: ""; position: absolute; right: clamp(-40px, 2vw, 40px); top: 30px; width: 220px; height: 170px; z-index: -1; opacity: .9;
  background:
    linear-gradient(135deg, transparent 0 calc(50% - 9px), #577399 calc(50% - 9px) calc(50% + 9px), transparent calc(50% + 9px)) 0 0 / 50% 60% no-repeat,
    linear-gradient(45deg, transparent 0 calc(50% - 9px), #577399 calc(50% - 9px) calc(50% + 9px), transparent calc(50% + 9px)) 100% 0 / 50% 60% no-repeat,
    linear-gradient(135deg, transparent 0 calc(50% - 9px), #fe5f55 calc(50% - 9px) calc(50% + 9px), transparent calc(50% + 9px)) 18% 100% / 32% 45% no-repeat,
    linear-gradient(45deg, transparent 0 calc(50% - 9px), #fe5f55 calc(50% - 9px) calc(50% + 9px), transparent calc(50% + 9px)) 82% 100% / 32% 45% no-repeat; }
@media (max-width: 999px) { .hero::after { width: 120px; height: 92px; top: 12px; opacity: .25; } }
@media (min-width: 1000px) { .hero::after { right: auto; left: 44%; top: auto; bottom: 26px; width: 150px; height: 116px; opacity: .55; } }
.hero h1 { color: #1a2238; }
.hero .ticks .i { background: #fff; color: #3d5a80; box-shadow: 0 0 0 1px var(--c-line); }
.eyebrow { font-family: var(--f-body); }
/* Cotes : repères d'angle sur les blocs */
.sim, .tile, .step, .card, .hero-une { position: relative; }
.sim { border: 1px solid #c4d2e3; box-shadow: 14px 14px 0 -1px #e4ecf5, 14px 14px 0 0 #c4d2e3; border-radius: 10px; }
.sim::before, .card::after { content: ""; position: absolute; width: 14px; height: 14px; border-top: 2px solid #fe5f55; border-left: 2px solid #fe5f55; left: -6px; top: -6px; }
.sim-result { background: #2b3a55; color: #fff; --c-muted: #c6d2e3; border-radius: 8px; }
.sim-result .sim-v { color: #fff; font-family: var(--f-display); font-weight: 400; }
.sim-details div { background: rgb(255 255 255 / .08); }
.sim-result .link-more { color: #ffb3ad; }
.btn-primary { font-weight: 700; }
.chip input:checked + span, .seg-item input:checked + span { background: #2b3a55; color: #fff; }
.seg-item span { border-radius: 6px; }
.range::-webkit-slider-thumb { border-color: #2b3a55; }
.tile, .step { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; }
.tile-ico, .ess-ico, .inline-cta-ico { background: #e8f0f9; color: #3d5a80; border-radius: 6px; }
.step { border-top: 3px solid #577399; }
.step-n { background: none; color: #fe5f55; font-family: var(--f-display); font-size: 2.4rem; width: auto; height: auto; }
.steps { position: relative; }
.section-steps { background: linear-gradient(rgb(87 115 153 / .07) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(87 115 153 / .07) 1px, transparent 1px) 0 0 / 24px 24px, #f8fafd; padding-block: var(--s-section) !important; }
.section-steps + .section { padding-top: var(--s-section); }
.card { border-radius: 8px; }
.card-big { background: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 24px 24px, #2b3a55; }
.final-box { background: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px) 0 0 / 24px 24px, #2b3a55; border-radius: 12px; }
.section-title::after { content: ""; display: block; width: 90px; height: 10px; margin-top: 10px; background: linear-gradient(#577399, #577399) 0 50% / 100% 2px no-repeat, linear-gradient(#577399, #577399) 0 0 / 2px 100% no-repeat, linear-gradient(#577399, #577399) 100% 0 / 2px 100% no-repeat; }
.final-box .section-title::after, .section-head .section-title::after { display: none; }
.prose blockquote.key { background: #fff; border: 1px solid var(--c-line); border-left: 4px solid #fe5f55; border-radius: 0 8px 8px 0; }
