/* ============================================================
   CHILLY — pages internes v4.0
   Réutilise les tokens de chilly-home.css.
   ============================================================ */

body.chilly-page {
  margin: 0 !important; padding: 0 !important;
  width: 100% !important; max-width: 100% !important;
  background: var(--ci-bg); font-family: var(--ci-hk);
  color: var(--ci-ink); -webkit-font-smoothing: antialiased;
}
body.chilly-page * { box-sizing: border-box; }
body.chilly-page a { text-decoration: none; }
body.chilly-page .grecaptcha-badge { display: none !important; }
body.chilly-page.admin-bar .ci-header { top: 32px; }
@media (max-width: 782px) { body.chilly-page.admin-bar .ci-header { top: 46px; } }

/* ── Wrap principal ─────────────────────────────────────────── */
.cp-main { max-width: 900px; margin: 0 auto; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.cp-breadcrumb { font: 600 12px var(--ci-hk); color: var(--ci-muted); padding: 18px 20px 0; max-width: 900px; margin: 0 auto; }
.cp-breadcrumb a { color: var(--ci-muted); }
.cp-breadcrumb .sep { color: var(--ci-sep); margin: 0 4px; }
.cp-breadcrumb .cp-bc-active { color: var(--ci-acc); }

/* ── En-tête de page générique (outils, guides…) ────────────── */
.cp-page-head { padding: 20px 20px 6px; max-width: 900px; margin: 0 auto; }
.cp-page-h1  { margin: 0 0 6px; font: 800 28px var(--ci-hk); letter-spacing: -.03em; color: var(--ci-ink); text-wrap: balance; }
.cp-page-sub { margin: 0; font: 400 14px/1.5 var(--ci-hk); color: var(--ci-ink2); }
.cp-tool-switch { margin: 14px 0 0; }
.cp-tool-switch a { font: 700 13px var(--ci-hk); color: var(--ci-acc); }
@media (min-width: 768px) { .cp-page-h1 { font-size: 34px; } }

/* ── Section générique ──────────────────────────────────────── */
.cp-section { padding: 18px 20px 8px; max-width: 900px; margin: 0 auto; }

/* Filet titre 2px encre */
.cp-section-rule {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--ci-ink); padding-bottom: 9px; margin-bottom: 16px;
}
.cp-section-rule h2 {
  margin: 0; font: 700 14px var(--ci-hk); letter-spacing: .03em;
  text-transform: uppercase; color: var(--ci-ink);
}
.cp-rule-note { font: 600 12px var(--ci-hk); color: var(--ci-acc); }

/* ────────────────────────────────────────────────────────────
   PAGE VILLE (3a) — Hero image avec overlay
   ──────────────────────────────────────────────────────────── */
.cp-ville-hero {
  position: relative; width: 100%; height: 300px; overflow: hidden;
  background: var(--ci-green-d);
}
.cp-ville-hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.cp-ville-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(21,32,24,.15) 0%, rgba(21,32,24,.72) 55%, rgba(21,32,24,.88) 100%);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px 20px 20px;
}
.cp-ville-hero-bc {
  display: flex; align-items: center; gap: 6px;
  font: 600 12px var(--ci-hk); color: rgba(255,255,255,.65);
}
.cp-ville-hero-bc a { color: rgba(255,255,255,.65); text-decoration: none; }
.cp-ville-hero-bc a:hover { color: #fff; }
.cp-ville-hero-bc span { color: rgba(255,255,255,.4); }
.cp-ville-hero-body { }
.cp-ville-hero-h1 {
  margin: 0 0 8px; font: 800 26px/1.1 var(--ci-hk);
  letter-spacing: -.03em; color: #fff; text-wrap: balance;
}
.cp-ville-hero-price {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px;
}
.cp-ville-hero-val {
  font: 700 34px/1 var(--ci-sg); letter-spacing: -.03em; color: #fff;
}
.cp-ville-hero-val span { font: 600 16px var(--ci-hk); color: rgba(255,255,255,.75); }
.cp-badge-hero { margin-bottom: 0 !important; }
.cp-indice-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px;
  border-radius: 8px; font: 700 12px var(--ci-sg);
}
.cp-indice-badge.up { background: var(--ci-up-bg); color: var(--ci-up-c); }
.cp-indice-badge.dn { background: var(--ci-dn-bg); color: var(--ci-dn-c); }
.cp-ville-hero-sub { margin: 0; font: 500 12px var(--ci-hk); color: rgba(255,255,255,.55); }

/* Mini cards appart / maison */
.cp-mini-cards-ville {
  display: flex; gap: 10px;
  padding: 14px 20px 0; max-width: 900px; margin: 0 auto;
}
.cp-mini { flex: 1; background: #fff; border: 1px solid var(--ci-border); border-radius: 14px; padding: 14px; }
.cp-mini-lbl { font: 600 10px var(--ci-hk); letter-spacing: .06em; text-transform: uppercase; color: var(--ci-muted); margin-bottom: 7px; }
.cp-mini-val { font: 700 20px var(--ci-sg); color: var(--ci-ink); }
.cp-mini-val span { font: 500 11px var(--ci-hk); color: var(--ci-muted); }

@media (min-width: 680px) {
  .cp-ville-hero { height: 420px; }
  .cp-ville-hero-overlay { padding: 22px 28px 28px; }
  .cp-ville-hero-h1 { font-size: 36px; }
  .cp-ville-hero-val { font-size: 46px; }
}

/* Bar chart */
.cp-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 150px; padding: 24px 2px 0; }
.cp-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; }
.cp-bar { width: 100%; background: var(--ci-green-lt); border-radius: 5px 5px 0 0; }
.cp-bar-col:nth-child(n+3) .cp-bar { background: var(--ci-acc-vif); }
.cp-bar.current { background: var(--ci-acc) !important; }
.cp-bar-label { position: absolute; top: -22px; font: 700 10px var(--ci-sg); color: var(--ci-ink); white-space: nowrap; }
.cp-bar-year { font: 600 9.5px var(--ci-sg); color: var(--ci-muted); }
.cp-bar-year.current { font-weight: 700; color: var(--ci-ink); }

/* Quartiers */
.cp-quartiers { display: block; }
.cp-quartier {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 2px; border-bottom: 1px solid var(--ci-sep);
}
.cp-q-name  { font: 600 14px var(--ci-hk); color: var(--ci-ink); }
.cp-q-price { font: 700 15px var(--ci-sg); color: var(--ci-ink); }

/* CTA annonces */
.cp-annonces {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ci-green-d); border-radius: 17px; padding: 18px; color: #fff;
}
.cp-annonces-t { font: 700 16px var(--ci-hk); color: #fff; margin-bottom: 3px; }
.cp-annonces-s { font: 400 12.5px var(--ci-hk); color: rgba(255,255,255,.65); }
.cp-annonces-arrow { font: 700 20px var(--ci-sg); color: var(--ci-acc-vif); flex: none; }

/* Estimation */
.cp-estim { background: var(--ci-green-lt); border-radius: 17px; padding: 20px; }
.cp-estim-lbl { font: 700 11px var(--ci-hk); letter-spacing: .08em; text-transform: uppercase; color: var(--ci-acc); margin-bottom: 8px; }
.cp-estim-t { font: 700 18px var(--ci-hk); color: var(--ci-ink); margin-bottom: 4px; letter-spacing: -.01em; }
.cp-estim-d { font: 400 13px/1.45 var(--ci-hk); color: var(--ci-ink2); margin-bottom: 15px; }
.cp-estim-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--ci-acc); color: #fff;
  font: 700 14px var(--ci-hk); padding: 12px 18px; border-radius: 12px; min-height: 44px;
}
.cp-estim-btn:hover { background: var(--ci-accd); }

/* Méthodologie */
.cp-method { background: #fff; border: 1px solid var(--ci-border); border-radius: 16px; padding: 16px 18px; }
.cp-method-lbl { font: 700 11px var(--ci-hk); letter-spacing: .08em; text-transform: uppercase; color: var(--ci-muted); margin-bottom: 8px; }
.cp-method p { margin: 0; font: 400 12.5px/1.55 var(--ci-hk); color: var(--ci-ink3); }

/* ────────────────────────────────────────────────────────────
   PRIX INDEX NATIONAL (7a)
   ──────────────────────────────────────────────────────────── */
.cp-national-card {
  margin: 16px 20px 0; background: var(--ci-green-d); border-radius: 18px; padding: 20px;
}
.cp-national-lbl { font: 700 11px var(--ci-hk); letter-spacing: .1em; text-transform: uppercase; color: var(--ci-acc-vif); margin-bottom: 10px; }
.cp-national-val { display: flex; align-items: baseline; gap: 8px; }
.cp-national-val .big { font: 700 40px var(--ci-sg); letter-spacing: -.03em; color: #fff; }
.cp-national-val .unit { font: 600 16px var(--ci-hk); color: rgba(255,255,255,.65); }
.cp-national-note { font: 500 12.5px var(--ci-hk); color: rgba(255,255,255,.65); margin-top: 6px; }

.cp-trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px 20px 6px; max-width: 900px; margin: 0 auto; }
.cp-trend-box { background: #fff; border: 1px solid var(--ci-border); border-radius: 15px; padding: 14px; }
.cp-trend-hd { font: 700 10.5px var(--ci-hk); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 9px; }
.cp-trend-hd.up { color: var(--ci-up-c); }
.cp-trend-hd.dn { color: var(--ci-dn-c); }
.cp-trend-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; }
.cp-trend-city { font: 600 12.5px var(--ci-hk); color: var(--ci-ink); }
.cp-trend-pct.up { font: 700 12px var(--ci-sg); color: var(--ci-up-c); }
.cp-trend-pct.dn { font: 700 12px var(--ci-sg); color: var(--ci-dn-c); }

.cp-ranked-list { display: block; }
.cp-ranked-row {
  display: flex; align-items: center; gap: 11px; text-decoration: none;
  padding: 12px 2px; border-bottom: 1px solid var(--ci-sep);
}
.cp-ranked-row:hover .cp-rank-name { color: var(--ci-acc); }
.cp-rank-img  { flex: none; width: 40px; height: 40px; border-radius: 6px; overflow: hidden; }
.cp-rank-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-rank-num  { width: 22px; flex: none; font: 700 13px var(--ci-sg); color: var(--ci-muted); }
.cp-rank-body { min-width: 0; flex: 1; }
.cp-rank-name { font: 600 14px var(--ci-hk); color: var(--ci-ink); }
.cp-rank-region { font: 500 11px var(--ci-hk); color: var(--ci-muted); }
.cp-rank-trend { flex: none; width: 54px; text-align: right; font: 700 10.5px var(--ci-sg); }
.cp-rank-price { flex: none; width: 68px; text-align: right; font: 700 15px var(--ci-sg); color: var(--ci-ink); }
.cp-ranked-note { margin: 12px 2px 0; font: 400 11.5px/1.5 var(--ci-hk); color: var(--ci-muted); }

/* Liens outils (prix index) */
.cp-tools-links { margin: 20px 2px 0; font: 500 13px var(--ci-hk); color: var(--ci-ink3); }
.cp-tools-links a { font-weight: 700; color: var(--ci-acc); margin-left: 10px; }

/* ────────────────────────────────────────────────────────────
   GUIDES (5a / 5b)
   ──────────────────────────────────────────────────────────── */
.cp-featured {
  display: block; text-decoration: none; border-radius: 18px; overflow: hidden;
  background: var(--ci-green-vd); margin: 18px 20px 6px; max-width: 900px;
}
.cp-featured-img { height: 150px; background: linear-gradient(135deg, var(--ci-acc), var(--ci-green-vd)); }
.cp-featured-body { padding: 18px; }
.cp-featured-cat {
  display: inline-block; font: 700 10.5px var(--ci-hk); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ci-acc-vif); background: color-mix(in srgb, var(--ci-acc-vif) 14%, transparent); padding: 4px 9px; border-radius: 20px; margin-bottom: 10px;
}
.cp-featured-title { font: 700 18px/1.3 var(--ci-hk); color: #fff; text-wrap: pretty; margin-bottom: 8px; }
.cp-featured-read  { font: 600 12px var(--ci-hk); color: var(--ci-muted); }

/* Filtres catégorie */
.cp-cat-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 0; max-width: 900px; margin: 0 auto; }
.cp-cat-chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px;
  border-radius: 20px; border: 1.5px solid var(--ci-border); background: #fff;
  color: var(--ci-ink2); font: 700 13px var(--ci-hk); white-space: nowrap;
}
.cp-cat-chip:hover { border-color: var(--ci-acc); color: var(--ci-acc); }
.cp-cat-chip.active { border-color: var(--ci-acc); background: var(--ci-acc); color: #fff; }

/* Grille articles */
.cp-articles { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 8px; max-width: 900px; margin: 0 auto; }
.cp-article-card {
  display: flex; gap: 13px; text-decoration: none;
  background: #fff; border: 1px solid var(--ci-border); border-radius: 15px; padding: 12px;
}
.cp-article-thumb {
  width: 78px; height: 78px; flex: none; border-radius: 11px;
  background: linear-gradient(135deg, var(--ci-green-lt), var(--ci-acc-vif)); overflow: hidden;
}
.cp-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cp-article-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.cp-article-cat  { font: 700 10px var(--ci-hk); letter-spacing: .05em; text-transform: uppercase; color: var(--ci-acc); margin-bottom: 5px; }
.cp-article-title { font: 600 14px/1.3 var(--ci-hk); color: var(--ci-ink); text-wrap: pretty; margin-bottom: 5px; }
.cp-article-read  { font: 500 11.5px var(--ci-hk); color: var(--ci-muted); }

/* Pagination numérotée */
.cp-pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  flex-wrap: wrap; padding: 10px 20px 16px; max-width: 900px; margin: 0 auto;
}
.cp-page-btn, .cp-page-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px;
  border: 1.5px solid var(--ci-border); background: #fff;
  color: var(--ci-ink); font: 700 14px var(--ci-hk); cursor: pointer;
}
.cp-page-btn:hover, .cp-page-num:hover { border-color: var(--ci-acc); color: var(--ci-acc); }
.cp-page-num.active { border-color: var(--ci-acc); background: var(--ci-acc); color: #fff; }
.cp-page-info { font: 600 12px var(--ci-hk); color: var(--ci-ink3); }

/* Desktop guides — 3 colonnes */
@media (min-width: 860px) {
  .cp-articles { display: grid; grid-template-columns: repeat(3, 1fr); }
  .cp-article-card { flex-direction: column; gap: 10px; }
  .cp-article-thumb { width: 100%; height: 140px; border-radius: 11px 11px 0 0; margin: -12px -12px 0; width: calc(100% + 24px); }
  .cp-article-body { padding-top: 4px; }
}

/* ────────────────────────────────────────────────────────────
   ACHETER (6a) / LOUER (6b)
   ──────────────────────────────────────────────────────────── */
.cp-pilier-hero {
  padding: 22px 0 6px;
  background: linear-gradient(180deg, var(--ci-green-lt), var(--ci-green-lt));
}
.cp-pilier-hero-in { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.cp-pilier-eyebrow { font: 700 11px var(--ci-hk); letter-spacing: .2em; text-transform: uppercase; color: var(--ci-acc); margin-bottom: 12px; }
.cp-pilier-h1 { margin: 0 0 10px; font: 800 27px/1.15 var(--ci-hk); letter-spacing: -.03em; color: var(--ci-ink); text-wrap: balance; }
.cp-pilier-sub { margin: 0 0 18px; font: 400 14px/1.5 var(--ci-hk); color: var(--ci-ink2); }
.cp-pilier-search { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 16px 36px -18px rgba(28,38,31,.28); }

/* Étapes */
.cp-etapes { display: block; }
.cp-etape {
  display: flex; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--ci-sep);
}
.cp-etape-num { width: 22px; flex: none; font: 700 14px var(--ci-sg); color: var(--ci-acc); padding-top: 2px; }
.cp-etape-t { font: 600 14px var(--ci-hk); color: var(--ci-ink); margin-bottom: 3px; }
.cp-etape-d { font: 400 12.5px/1.45 var(--ci-hk); color: var(--ci-ink2); }

/* ── Moteur compact sur pages pilier (override chilly-home.css) ─── */
.cp-pilier-search .ci-se-tabs      { padding: 4px; margin-bottom: 10px; }
.cp-pilier-search .ci-se-tab       { min-height: 40px; font-size: 14px; }
.cp-pilier-search .ci-se-bien      { margin-bottom: 8px; }
.cp-pilier-search .ci-se-bien-btn  { min-height: 48px; padding: 0 14px; }
.cp-pilier-search .ci-se-ville     { margin-bottom: 10px; }
.cp-pilier-search .ci-se-ville-box { min-height: 48px; padding: 6px 12px; }
.cp-pilier-search .ci-se-budget    { margin-bottom: 10px; }
.cp-pilier-search .ci-se-budget-lbl{ margin-bottom: 6px; }
.cp-pilier-search .ci-se-bchip     { min-height: 40px; padding: 0 14px; }
.cp-pilier-search .ci-se-go        { min-height: 52px; }

/* Guides section réutilisée */
.cp-guides-section { padding: 22px 20px 6px; max-width: 900px; margin: 0 auto; }
.cp-guides-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }
.cp-guides-hd h2 { margin: 0; font: 700 19px var(--ci-hk); letter-spacing: -.02em; color: var(--ci-ink); }
.cp-guides-hd a { font: 600 13px var(--ci-hk); color: var(--ci-acc); }
.cp-guides-list { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.cp-guide-link {
  display: flex; align-items: center; gap: 11px; padding: 10px 0;
  border-bottom: 1px solid var(--ci-sep); text-decoration: none;
}
.cp-gl-num   { width: 20px; flex: none; font: 700 13px var(--ci-sg); color: var(--ci-acc); }
.cp-gl-title { font: 600 13.5px/1.3 var(--ci-hk); color: var(--ci-ink); flex: 1; min-width: 0; }
.cp-gl-read  { font: 600 11px var(--ci-hk); color: var(--ci-muted); flex: none; }

/* Card outil sombre (financement / dossier) */
.cp-outil-card { background: var(--ci-green-d); border-radius: 20px; padding: 20px; margin: 22px 20px 6px; max-width: 900px; }
.cp-outil-lbl  { font: 700 11px var(--ci-hk); letter-spacing: .06em; text-transform: uppercase; color: var(--ci-acc-vif); margin-bottom: 8px; }
.cp-outil-t    { font: 800 18px var(--ci-hk); color: #fff; margin-bottom: 4px; letter-spacing: -.01em; }
.cp-outil-d    { font: 400 13px/1.45 var(--ci-hk); color: rgba(255,255,255,.65); margin-bottom: 15px; }
.cp-outil-btn  {
  display: inline-flex; align-items: center; gap: 7px; background: var(--ci-acc-vif); color: var(--ci-green-vd);
  font: 700 14px var(--ci-hk); padding: 12px 18px; border-radius: 12px; min-height: 44px;
}
.cp-outil-btn:hover { background: var(--ci-acc-vif); }

/* Villes les moins chères */
.cp-cheapest { display: flex; flex-direction: column; gap: 8px; }
.cp-cheapest-row {
  display: flex; justify-content: space-between; align-items: center; text-decoration: none;
  background: #fff; border: 1px solid var(--ci-border); border-radius: 13px; padding: 12px 14px;
}
.cp-cheapest-name  { font: 600 14px var(--ci-hk); color: var(--ci-ink); }
.cp-cheapest-price { font: 700 16px var(--ci-sg); color: var(--ci-ink); }
.cp-cheapest-price span { font: 500 10px var(--ci-hk); color: var(--ci-muted); }

/* ────────────────────────────────────────────────────────────
   COMPARATEUR (4a)
   ──────────────────────────────────────────────────────────── */
.cmp-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.cmp-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px 7px 13px;
  background: var(--ci-green-lt); color: var(--ci-green-d); border-radius: 10px; font: 700 13px var(--ci-hk);
}
.cmp-chip-x {
  display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px;
  border: none; background: rgba(35,75,49,.14); color: var(--ci-green-d); border-radius: 6px;
  font-size: 11px; cursor: pointer; line-height: 1;
}
.cmp-add {
  min-height: 38px; padding: 0 12px; border: 1.5px dashed var(--ci-fieldbd); border-radius: 10px;
  background: #fff; font: 600 13px var(--ci-hk); color: var(--ci-acc); cursor: pointer; outline: none;
}
.cmp-table-wrap { overflow-x: auto; }
.cmp-table { border: 1px solid var(--ci-border); border-radius: 16px; overflow: hidden; background: #fff; min-width: 280px; }
.cmp-row { display: flex; border-bottom: 1px solid var(--ci-sep); }
.cmp-row:last-child { border-bottom: none; }
.cmp-head { background: var(--ci-field); border-bottom: 1px solid var(--ci-border); }
.cmp-lbl {
  width: 96px; flex: none; padding: 13px 10px;
  font: 600 10.5px var(--ci-hk); letter-spacing: .03em; text-transform: uppercase; color: var(--ci-ink3);
}
.cmp-cell { flex: 1; padding: 13px 6px; text-align: center; border-left: 1px solid var(--ci-sep); }
.cmp-city { font: 700 13px var(--ci-hk); color: var(--ci-ink); }
.cmp-num  { font: 700 15px var(--ci-sg); color: var(--ci-ink); }
.cmp-num span { font: 500 10px var(--ci-hk); color: var(--ci-muted); }
.cmp-rend { background: var(--ci-field); }
.cmp-rend .cmp-lbl { color: var(--ci-acc); }
.cmp-rend .cmp-num { color: var(--ci-green-d); }
.cmp-note { margin: 12px 2px 0; font: 400 11.5px/1.5 var(--ci-hk); color: var(--ci-muted); }

/* ────────────────────────────────────────────────────────────
   SIMULATEUR DE SURFACE (4b)
   ──────────────────────────────────────────────────────────── */
.sim-card { background: #fff; border: 1px solid var(--ci-border); border-radius: 18px; padding: 20px; }
.sim-lbl   { font: 700 11px var(--ci-hk); letter-spacing: .06em; text-transform: uppercase; color: var(--ci-muted); margin-bottom: 6px; }
.sim-amount { font: 700 40px/1 var(--ci-sg); letter-spacing: -.03em; color: var(--ci-ink); }
.sim-amount span { font: 600 18px var(--ci-hk); color: var(--ci-ink3); }
.sim-range { width: 100%; accent-color: var(--ci-acc); height: 6px; margin: 16px 0 6px; cursor: pointer; }
.sim-scale { display: flex; justify-content: space-between; font: 500 11px var(--ci-hk); color: var(--ci-muted); }
.sim-results { display: block; }
.sim-line { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ci-sep); }
.sim-city { width: 84px; flex: none; font: 600 13.5px var(--ci-hk); color: var(--ci-ink); }
.sim-bar-track { flex: 1; height: 9px; background: var(--ci-border); border-radius: 6px; overflow: hidden; }
.sim-bar-fill { height: 100%; background: var(--ci-acc); border-radius: 6px; transition: width .18s; }
.sim-surface { width: 58px; flex: none; text-align: right; font: 700 15px var(--ci-sg); color: var(--ci-ink); }
.sim-surface span { font: 500 10px var(--ci-hk); color: var(--ci-muted); }

/* ────────────────────────────────────────────────────────────
   SIMULATEUR DE CRÉDIT (8a)
   ──────────────────────────────────────────────────────────── */
.sc-result-card {
  margin: 16px 20px 0; background: var(--ci-green-d); border-radius: 20px; padding: 22px 20px;
}
.sc-result-lbl { font: 700 11px var(--ci-hk); letter-spacing: .1em; text-transform: uppercase; color: var(--ci-acc-vif); margin-bottom: 8px; }
.sc-monthly { display: flex; align-items: baseline; gap: 6px; }
.sc-monthly .big { font: 700 42px var(--ci-sg); letter-spacing: -.03em; color: #fff; }
.sc-monthly .unit { font: 600 16px var(--ci-hk); color: rgba(255,255,255,.65); }
.sc-result-meta { display: flex; gap: 22px; margin-top: 14px; }
.sc-meta-val { font: 700 16px var(--ci-sg); color: #fff; }
.sc-meta-lbl { font: 500 11px var(--ci-hk); color: rgba(255,255,255,.65); margin-top: 2px; }

.sc-params { padding: 20px 20px 6px; display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }
.sc-param-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.sc-param-lbl { font: 600 13px var(--ci-hk); color: var(--ci-ink); }
.sc-param-val { font: 700 15px var(--ci-sg); color: var(--ci-ink); }
.sc-range { width: 100%; accent-color: var(--ci-acc); height: 6px; cursor: pointer; }
.sc-note { margin: 6px 20px 0; font: 400 11.5px/1.5 var(--ci-hk); color: var(--ci-muted); max-width: 900px; }
.sc-legal { margin: 10px 20px 0; font: 600 11px/1.5 var(--ci-hk); color: var(--ci-ink3); max-width: 900px; border-left: 3px solid var(--ci-acc); padding-left: 10px; }
.sc-widget-card { background: #fff; border: 1px solid var(--ci-border); border-radius: 18px; padding: 18px; min-height: 320px; }

.sc-taux-card { background: #fff; border: 1px solid var(--ci-border); border-radius: 18px; padding: 18px; }
.sc-taux-t { font: 700 15px var(--ci-hk); color: var(--ci-ink); margin-bottom: 5px; }
.sc-taux-d { font: 400 13px/1.45 var(--ci-hk); color: var(--ci-ink2); margin-bottom: 14px; }
.sc-taux-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--ci-acc); color: #fff;
  font: 700 14px var(--ci-hk); padding: 12px 18px; border-radius: 12px; min-height: 44px;
}
.sc-taux-btn:hover { background: var(--ci-accd); }

/* ── Responsive général ────────────────────────────────────── */
@media (min-width: 680px) {
  .cp-national-card { margin-left: auto; margin-right: auto; max-width: 860px; }
  .cp-trend-grid { max-width: 860px; margin: 0 auto; }
  .cp-outil-card { margin-left: auto; margin-right: auto; }
  .sc-result-card { margin-left: auto; margin-right: auto; max-width: 860px; }
  .cp-mini-cards { max-width: 500px; }
}
@media (min-width: 860px) {
  .cp-pilier-search { padding: 18px; }
  .cp-cheapest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cp-featured { margin-left: auto; margin-right: auto; }
  .cp-featured-img { height: 200px; }
  .cp-trend-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-params { gap: 22px; }
}
