/* calculer-un-credit.be — identité « CALCULETTE »
   Graphite, ambre et rouge-orangé de l'anneau du logo. Écran de calculatrice à chiffres en chasse fixe,
   touches arrondies en relief, Space Grotesk + JetBrains Mono. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/SpaceGrotesk-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url(/fonts/JetBrainsMono-500-800-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: #b42602; --c-brand-2: #16130f; --c-accent: #faa307; --c-cta: #dc2f02; --c-on-cta: #fff; --c-on-brand: #fff;
  --c-ink: #1c1917; --c-muted: #5f574e; --c-line: #e9e2d8; --c-surface: #f8f4ee; --c-surface-2: #f0e9df;
  --c-soft: #fff1d6; --c-eyebrow: #b42602; --c-link: #b42602;
  --f-display: "Space Grotesk", system-ui, sans-serif; --f-body: "Space Grotesk", system-ui, sans-serif; --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --w-display: 700; --ls-display: -0.035em; --lh-display: 1.02;
  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-btn: 12px;
  --hero-bg: #16130f; --hero-ink: #fff; --hero-muted: #d6cdbf; --hero-eyebrow: #faa307; --c-tick: #faa307;
  --c-final-bg: #16130f; --c-card-big-bg: #16130f; --c-card-big-kicker: #faa307;
  --c-footer-bg: #110f0c; --logo-h: 40px; --logo-h-d: 50px;
}
h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.7rem); }
.eyebrow, .une-label { font-family: var(--f-mono); letter-spacing: .04em; text-transform: none; }
.eyebrow::before { content: "> "; color: var(--c-accent); }
/* Hero : boîtier graphite, pavé de touches en trame, anneau ambre/rouge du logo */
.hero-bg { background: radial-gradient(rgb(255 255 255 / .06) 1.5px, transparent 2px) 0 0 / 22px 22px, radial-gradient(60% 80% at 100% 0%, #2a2018, transparent 70%), #16130f; }
.hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; width: 340px; height: 340px; left: -252px; bottom: 40px;
  background: conic-gradient(from 20deg, #faa307 0 90deg, #dc2f02 90deg 320deg, transparent 320deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 38px), #000 calc(100% - 37px) calc(100% - 1px), transparent 100%);
          mask: radial-gradient(closest-side, transparent calc(100% - 38px), #000 calc(100% - 37px) calc(100% - 1px), transparent 100%); }
@media (max-width: 999px) { .hero::after { width: 190px; height: 190px; left: auto; right: -120px; bottom: auto; top: -120px; opacity: .5; } }
.hero h1 { text-wrap: balance; }
.hero .ticks .i { background: rgb(250 163 7 / .16); color: #faa307; }
/* Simulateur = calculatrice : écran à cristaux liquides, touches en relief */
.sim { border-radius: 22px; background: #fffdf9; box-shadow: 0 30px 70px -25px rgb(0 0 0 / .7), inset 0 -4px 0 #e9e2d8; }
.sim-result { background: #1d1a15; color: #f3ead9; --c-muted: #b9ae9c; border-radius: 14px; box-shadow: inset 0 2px 10px rgb(0 0 0 / .6); }
.sim-v, .sim-details dd, .dur-table td, .step-n, .sim-input-eur input { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sim-result .sim-v { color: #faa307; text-shadow: 0 0 18px rgb(250 163 7 / .35); }
.sim-details div { background: rgb(255 255 255 / .06); border-radius: 10px; }
.sim-result .link-more { color: #ffc65c; }
.btn { box-shadow: inset 0 -3px 0 rgb(0 0 0 / .22); }
.btn-primary:active, .seg-item span:active { transform: translateY(1px); }
.seg { gap: 6px; }
.seg-item span { border-radius: 10px; background: #f3ede4; box-shadow: inset 0 -3px 0 #ddd3c5; font-family: var(--f-mono); }
.seg-item input:checked + span { background: #16130f; color: #faa307; box-shadow: inset 0 -3px 0 #000; }
.chip span { border-radius: 10px; }
.chip input:checked + span { background: #16130f; color: #fff; }
.range::-webkit-slider-thumb { border-color: #dc2f02; }
/* Composants : touches et rubans */
.tile { background: #fff; border: 1px solid var(--c-line); box-shadow: inset 0 -4px 0 var(--c-surface-2); border-radius: 16px; }
.tile:hover { box-shadow: inset 0 -4px 0 #faa307; }
.tile-ico { background: #16130f; color: #faa307; border-radius: 12px; }
.step { background: #fff; border: 1px solid var(--c-line); border-radius: 16px; }
.step-n { background: #16130f; color: #faa307; border-radius: 10px; font-size: 1.25rem; }
.section-essentials { background: var(--c-surface); padding-block: var(--s-section) !important; }
.section-essentials + .section { padding-top: var(--s-section); }
.ess-ico, .inline-cta-ico { background: #faa307; color: #16130f; border-radius: 10px; }
.section-title::before { content: "= "; font-family: var(--f-mono); color: #dc2f02; }
.final-box .section-title::before, .section-head .section-title::before { content: none; }
.card { border-radius: 16px; }
.card-big { background: radial-gradient(circle at 100% 0%, transparent 0 70px, #dc2f02 71px 92px, transparent 93px), radial-gradient(rgb(255 255 255 / .06) 1.5px, transparent 2px) 0 0 / 22px 22px, #16130f; }
.final-box { background: radial-gradient(circle at 100% 100%, transparent 0 90px, #faa307 91px 112px, transparent 113px), radial-gradient(rgb(255 255 255 / .06) 1.5px, transparent 2px) 0 0 / 22px 22px, #16130f; }
.final-box .btn-primary { --bg: #faa307; --fg: #16130f; }
.prose blockquote.key { background: var(--c-soft); border-left: 4px solid #faa307; border-radius: 0 14px 14px 0; }
.dur-table tr.is-current > * { background: #fff1d6; }
