/* =========================================================
   CALP \u2014 styles par page (pr\u00e9fix\u00e9s)
   ========================================================= */

/* ---------- Top header (bande contact) ---------- */
.vz-topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-xs);
  height: 36px;
  display: flex; align-items: center;
}
.vz-topbar__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.vz-topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.vz-topbar__sep { color: rgba(255,255,255,0.18); }

/* =========================================================
   HOME
   ========================================================= */
.home-hero {
  background: var(--ivory);
  padding: var(--s-9) 0 var(--s-10);
  position: relative;
  overflow: hidden;
}
.home-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
}
.home-hero__title {
  font-size: var(--fs-display);
  line-height: 1.02;
  margin-top: var(--s-5);
  max-width: 580px;
}
.home-hero__title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.home-hero__lede {
  margin-top: var(--s-5);
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 480px;
}
.home-hero__ctas {
  margin-top: var(--s-6);
  display: flex; gap: 14px;
}
.home-hero__trust {
  margin-top: var(--s-7);
  display: flex; align-items: center; gap: var(--s-5);
  font-size: 13px; color: var(--ink-mute);
  flex-wrap: wrap;
}
.home-hero__trust strong { color: var(--navy); font-weight: 600; }
.home-hero__viz {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
}

/* Trust strip */
.home-trust {
  background: var(--paper-pure);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
}
.home-trust__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.home-trust__logo {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Value props 3 cols */
.home-values {
  padding: var(--s-9) 0;
  background: var(--ivory);
}
.home-values__grid {
  max-width: var(--max);
  margin: var(--s-6) auto 0;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.home-value {
  padding: var(--s-7) var(--s-6);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.home-value:last-child { border-right: 0; }
.home-value__num {
  font-family: var(--ff-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.home-value h3 {
  font-size: 22px; color: var(--navy);
}
.home-value p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* Services grid */
.home-services { background: var(--paper-pure); }
.home-services__grid {
  max-width: var(--max);
  margin: var(--s-6) auto 0;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.home-service {
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: all var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
}
.home-service:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--gold);
}
.home-service__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--gold-light);
  margin-bottom: var(--s-3);
}
.home-service h3 { font-size: 22px; }
.home-service__more {
  margin-top: auto;
  padding-top: var(--s-4);
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
}
.home-service__more::after {
  content: '\2192'; font-size: 16px;
  transition: transform var(--t-fast) var(--ease);
}
.home-service:hover .home-service__more::after { transform: translateX(4px); }

/* Credit section dark */
.home-credit {
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.home-credit__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--s-8);
  align-items: center;
}
/* CRITICAL : forcer le stack à 960px immédiatement après la base rule */
@media (max-width: 960px) {
  .home-credit__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--s-6) !important;
  }
  .home-credit .home-sim {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 560px) {
  .home-credit__inner {
    padding: 0 var(--s-4) !important;
  }
  .home-credit .home-sim {
    padding: 18px 14px;
  }
}
.home-credit h2 { color: #fff; font-size: var(--fs-h2); }
.home-credit__lede { color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.65; margin-top: var(--s-4); }
.home-credit__bullets { margin-top: var(--s-5); display: grid; gap: 14px; }
.home-credit__bullet {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; color: rgba(255,255,255,0.86);
}
.home-credit__bullet svg { color: var(--gold-light); margin-top: 3px; }

/* Simulateur module — refondu : 2 champs séparés, sliders distincts */
.home-sim {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.home-sim h3 { color: #fff; font-size: 22px; margin-bottom: var(--s-5); }

.home-sim__field {
  margin-bottom: var(--s-5);
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.08);
}
.home-sim__field--amount   { border-left: 3px solid var(--gold-light); }
.home-sim__field--duration { border-left: 3px solid var(--gold); }

.home-sim__field-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.home-sim__field-label {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--ff-body);
  font-weight: 500;
}
.home-sim__amount {
  font-family: var(--ff-display);
  font-size: 30px;
  color: #fff;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}
.home-sim__amount--gold  { color: var(--gold-light); }
.home-sim__amount--ivory { color: #fff; }
.home-sim__unit {
  font-family: var(--ff-body);
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-left: 4px;
  letter-spacing: 0.02em;
}

/* Range inputs : reset + couleurs distinctes (montant=or-clair, durée=or-foncé) */
.home-sim__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.18);
  border-radius: 9999px;
  outline: none;
  cursor: pointer;
}
.home-sim__range--amount   { accent-color: var(--gold-light); }
.home-sim__range--duration { accent-color: var(--gold); }

.home-sim__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  cursor: grab;
}
.home-sim__range--amount::-webkit-slider-thumb {
  border-color: var(--gold-light);
  background: var(--gold-light);
}
.home-sim__range--duration::-webkit-slider-thumb {
  border-color: var(--gold);
  background: var(--gold);
}
.home-sim__range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  cursor: grab;
}
.home-sim__range--amount::-moz-range-thumb {
  background: var(--gold-light); border-color: var(--gold-light);
}
.home-sim__range--duration::-moz-range-thumb {
  background: var(--gold); border-color: var(--gold);
}

.home-sim__range-bounds {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-family: var(--ff-body);
}
.home-sim__result {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
}
.home-sim__metric { }
.home-sim__metric-l { font-size: 12px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.home-sim__metric-v { font-family: var(--ff-display); font-size: 32px; color: var(--gold-light); margin-top: 4px; line-height: 1; }
.home-sim__cta { width: 100%; margin-top: var(--s-5); }

/* \u00c9tapes d'ouverture de compte */
.home-steps { background: var(--ivory); }
.home-steps__grid {
  margin: var(--s-6) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.home-step {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: 14px;
}
.home-step__num {
  font-family: var(--ff-display);
  font-size: 32px; line-height: 1;
  color: var(--gold); font-weight: 500;
}
.home-step__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: inline-flex; align-items: center; justify-content: center;
}
.home-step h3 {
  font-family: var(--ff-display);
  font-size: 20px; color: var(--navy); font-weight: 500;
}
.home-step p { color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* FAQ — native <details>/<summary> accordion */
.home-faq { background: var(--paper-pure); padding: var(--s-9) 0; }
.home-faq__inner {
  max-width: 880px; margin: 0 auto; padding: 0 var(--s-6);
}
.home-faq__list { margin-top: var(--s-6); border-top: 1px solid var(--line); }

/* Reset native disclosure styling */
.home-faq__item {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.home-faq__item > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: var(--s-5) 0;
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  gap: 16px;
  align-items: flex-start;
  transition: color var(--t-fast) var(--ease);
}
.home-faq__item > summary::-webkit-details-marker { display: none; }
.home-faq__item > summary::marker { content: ''; }

.home-faq__item-num {
  font-family: var(--ff-display);
  font-size: 16px;
  color: var(--gold);
  padding-top: 2px;
}
.home-faq__q {
  font-family: var(--ff-display);
  font-size: 21px;
  color: var(--navy);
  margin: 0;
  line-height: 1.35;
}
.home-faq__a { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; margin: 0; }
.home-faq__icon {
  color: var(--ink-mute);
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast) var(--ease);
}
.home-faq__item:hover > summary .home-faq__q { color: var(--gold-deep); }
.home-faq__item:hover > summary .home-faq__icon { color: var(--gold-deep); }

/* Plus/minus icon swap based on [open] state */
.home-faq__icon--minus { display: none; }
.home-faq__item[open] .home-faq__icon--plus { display: none; }
.home-faq__item[open] .home-faq__icon--minus { display: inline-flex; color: var(--gold-deep); }

/* Answer panel */
.home-faq__answer {
  padding: 0 0 var(--s-5) 44px; /* 28px num column + 16px gap */
}
@media (max-width: 640px) {
  .home-faq__answer { padding-left: 0; }
}

/* CTA finale */
.home-final {
  background: var(--ivory);
  padding: var(--s-10) 0;
  text-align: center;
}
.home-final__inner {
  max-width: 760px; margin: 0 auto; padding: 0 var(--s-6);
}
.home-final h2 { font-size: var(--fs-h1); }
.home-final p { margin-top: var(--s-4); color: var(--ink-2); font-size: var(--fs-lead); }
.home-final__ctas { margin-top: var(--s-6); display: flex; gap: 14px; justify-content: center; }


/* =========================================================
   ACCOUNTS & CARDS
   ========================================================= */
.acc-hero {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 60%, var(--paper-pure) 100%);
  padding: var(--s-8) 0 0;
  position: relative;
}
.acc-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.acc-hero__title {
  font-size: 64px; line-height: 1.05;
  margin-top: var(--s-4);
}
.acc-hero__lede {
  margin-top: var(--s-5); font-size: 18px; color: var(--ink-2); line-height: 1.6;
  max-width: 460px;
}
.acc-hero__bullets {
  margin-top: var(--s-6);
  display: grid; gap: 14px;
}
.acc-hero__bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px;
}
.acc-hero__bullets svg { color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.acc-hero__ctas { margin-top: var(--s-6); display: flex; gap: 14px; }
.acc-hero__viz {
  position: relative;
  aspect-ratio: 1 / 1.05;
  max-width: 540px; margin-left: auto;
}

/* Features 6 cards */
.acc-features { background: var(--paper-pure); padding: var(--s-9) 0; }
.acc-features__grid {
  max-width: var(--max); margin: var(--s-6) auto 0; padding: 0 var(--s-6);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
.acc-feature {
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: 10px;
}
.acc-feature__icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold-deep);
  border: 1px solid var(--gold-pale);
  background: rgba(184, 146, 74, 0.08);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}
.acc-feature h3 { font-size: 20px; }
.acc-feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* Comparison table */
.acc-compare { background: var(--ivory); padding: var(--s-9) 0; }
.acc-compare__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); }
.acc-compare__table {
  margin-top: var(--s-6);
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
}
.acc-compare__table th, .acc-compare__table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  font-size: 14.5px;
}
.acc-compare__table tr:last-child td { border-bottom: 0; }
.acc-compare__table thead th {
  background: var(--ivory-light);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}
.acc-compare__table thead th.acc-compare__highlight {
  background: var(--navy);
  color: var(--gold-light);
  position: relative;
}
.acc-compare__product-name {
  font-family: var(--ff-display); font-size: 20px;
  color: var(--navy); display: block; margin-bottom: 2px;
}
.acc-compare__product-tag { font-size: 11.5px; color: var(--ink-mute); letter-spacing: 0.04em; }
.acc-compare__table td:first-child { color: var(--ink-2); font-weight: 500; }
.acc-compare__cell-yes { color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.acc-compare__cell-no  { color: var(--ink-soft); }
.acc-compare__highlight-col {
  background: rgba(184, 146, 74, 0.06);
  color: var(--navy);
  font-weight: 500;
}
.acc-compare__price {
  font-family: var(--ff-display);
  font-size: 24px;
  color: var(--navy);
}
.acc-compare__price small { font-family: var(--ff-body); font-size: 12px; color: var(--ink-mute); font-weight: 400; }

/* Process 4 steps */
.acc-process { background: var(--paper-pure); padding: var(--s-9) 0; }
.acc-process__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); }
.acc-process__steps {
  margin-top: var(--s-6);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  position: relative;
}
.acc-process__steps::before {
  content: ''; position: absolute;
  top: 32px; left: 60px; right: 60px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.acc-step { position: relative; z-index: 1; text-align: left; }
.acc-step__num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-family: var(--ff-display);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-4);
}
.acc-step h3 { font-size: 20px; margin-bottom: 6px; }
.acc-step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }


/* =========================================================
   CREDIT INDEX
   ========================================================= */
.cr-hero {
  background: var(--navy);
  color: #fff;
  padding: var(--s-9) 0 var(--s-10);
  position: relative; overflow: hidden;
}
.cr-hero__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-8);
  align-items: center;
  position: relative; z-index: 1;
}
.cr-hero h1 {
  font-size: 72px; line-height: 1.04;
  margin-top: var(--s-4); color: #fff;
}
.cr-hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.cr-hero__lede { margin-top: var(--s-5); font-size: 19px; color: rgba(255,255,255,0.72); line-height: 1.6; max-width: 460px; }
.cr-hero__ctas { margin-top: var(--s-6); display: flex; gap: 14px; }
.cr-hero__stats {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.14);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.cr-hero__stat { }
.cr-hero__stat-v {
  font-family: var(--ff-display);
  font-size: 36px; color: var(--gold-light); line-height: 1;
}
.cr-hero__stat-l {
  font-size: 12.5px; color: rgba(255,255,255,0.62); text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 6px;
}
.cr-hero__viz {
  position: relative;
  aspect-ratio: 1 / 0.9;
}

/* Grille produits cr\u00e9dit */
.cr-grid-section { background: var(--ivory); padding: var(--s-9) 0; }
.cr-grid-section__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); }
.cr-grid {
  margin-top: var(--s-6);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
.cr-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  transition: all var(--t-fast) var(--ease);
  position: relative;
  min-height: 220px;
}
.cr-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: var(--sh-md);
}
.cr-card--feature {
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  border-color: var(--navy);
}
.cr-card--feature .cr-card__title { color: #fff; }
.cr-card--feature .cr-card__rate { color: var(--gold-light); }
.cr-card__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.cr-card--feature .cr-card__icon { color: var(--gold-light); }
.cr-card__title { font-family: var(--ff-display); font-size: 19px; color: var(--navy); line-height: 1.15; }
.cr-card__rate {
  font-family: var(--ff-display); font-size: 24px; color: var(--navy);
  margin-top: auto;
}
.cr-card__rate small { font-family: var(--ff-body); font-size: 12px; color: var(--ink-mute); font-weight: 400; display: block; margin-top: 2px; }
.cr-card--feature .cr-card__rate small { color: rgba(255,255,255,0.6); }
.cr-card__cta {
  margin-top: 8px;
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--gold-deep);
}
.cr-card--feature .cr-card__cta { color: var(--gold-light); }
.cr-card__tag {
  position: absolute; top: -10px; right: 16px;
  background: var(--gold);
  color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

/* Process 4 \u00e9tapes (cr\u00e9dit) */
.cr-process {
  background: var(--paper-pure);
  padding: var(--s-9) 0;
}
.cr-process__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); }
.cr-process__list {
  margin-top: var(--s-6);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ivory-light);
  overflow: hidden;
}
.cr-process__step {
  padding: var(--s-6);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.cr-process__step:last-child { border-right: 0; }
.cr-process__num {
  font-family: var(--ff-display);
  font-size: 48px; color: var(--gold);
  line-height: 1;
}
.cr-process__step h3 { font-size: 19px; }
.cr-process__step p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }


/* =========================================================
   PERSONAL LOAN \u2014 fiche produit type
   ========================================================= */
.pl-hero {
  background: var(--ivory);
  padding: var(--s-8) 0;
  position: relative; overflow: hidden;
}
.pl-hero__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 var(--s-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: var(--s-8);
  align-items: center;
}
@media (max-width: 960px) {
  .pl-hero__inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
.pl-hero__crumb {
  font-size: 13px; color: var(--ink-mute); margin-bottom: var(--s-4);
  display: flex; align-items: center; gap: 8px;
}
.pl-hero__crumb a { color: var(--ink-mute); }
.pl-hero__crumb a:hover { color: var(--navy); }
.pl-hero__crumb .vz-i { color: var(--ink-soft); }
.pl-hero h1 {
  font-size: 68px; line-height: 1.04;
  margin-top: var(--s-3);
}
.pl-hero__lede { margin-top: var(--s-5); font-size: 18px; color: var(--ink-2); line-height: 1.6; max-width: 480px; }

.pl-sim-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-md);
}
.pl-sim-card h3 { font-size: 22px; margin-bottom: var(--s-4); }
.pl-sim-card__field { margin-bottom: var(--s-4); }
.pl-sim-card__field-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.pl-sim-card__field-l { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.pl-sim-card__field-v { font-family: var(--ff-display); font-size: 24px; color: var(--navy); }
.pl-sim-card__slider {
  position: relative; height: 6px;
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.pl-sim-card__slider-fill {
  position: absolute; left: 0; top: -1px; height: 6px;
  background: var(--gold);
  border-radius: var(--r-pill);
}
.pl-sim-card__slider-thumb {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold);
  box-shadow: var(--sh-sm);
}
.pl-sim-card__seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ivory-light);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: var(--r-sm);
  margin-top: 6px;
}
.pl-sim-card__seg button {
  border: none; background: transparent;
  padding: 8px 0;
  font-family: var(--ff-body); font-size: 14px;
  color: var(--ink-2); cursor: pointer;
  border-radius: var(--r-xs);
}
.pl-sim-card__seg button.active { background: var(--navy); color: #fff; }
.pl-sim-card__result {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.pl-sim-card__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--s-3);
}
.pl-sim-card__total-l { font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.06em; }
.pl-sim-card__total-v { font-family: var(--ff-display); font-size: 44px; color: var(--navy); line-height: 1; }
.pl-sim-card__total-v small { font-family: var(--ff-body); font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.pl-sim-card__metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: var(--s-3) 0;
  font-size: 13px;
}
.pl-sim-card__metric-l { color: var(--ink-mute); }
.pl-sim-card__metric-v { color: var(--ink); font-weight: 500; }

/* On-brand native range slider for the personal loan simulator
   Palette: ivoire track, gold fill, navy thumb border. */
.pl-sim-card__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 0;
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  outline: none;
  cursor: pointer;
}
.pl-sim-card__range::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: var(--r-pill);
}
.pl-sim-card__range::-moz-range-track {
  height: 6px;
  background: transparent;
  border-radius: var(--r-pill);
}
.pl-sim-card__range::-moz-range-progress {
  height: 6px;
  background: var(--gold);
  border-radius: var(--r-pill);
}
.pl-sim-card__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: var(--sh-sm);
  cursor: grab;
}
.pl-sim-card__range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: var(--sh-sm);
  cursor: grab;
}
.pl-sim-card__range:focus-visible {
  box-shadow: 0 0 0 2px var(--gold-deep, var(--gold));
}

.pl-features { background: var(--paper-pure); padding: var(--s-9) 0; }
.pl-features__grid {
  max-width: var(--max); margin: var(--s-6) auto 0; padding: 0 var(--s-6);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.pl-feature {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--s-5) 0;
  border-top: 2px solid var(--gold);
}
.pl-feature__icon { color: var(--gold-deep); }
.pl-feature h3 { font-size: 19px; margin-top: 4px; }
.pl-feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

/* Conditions */
.pl-conditions { background: var(--ivory); padding: var(--s-9) 0; }
.pl-conditions__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7);
  align-items: start;
}
.pl-conditions__list {
  list-style: none; padding: 0; margin: var(--s-5) 0 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.pl-conditions__list li {
  display: grid; grid-template-columns: 220px 1fr;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.pl-conditions__list li span:first-child { color: var(--ink-mute); }
.pl-conditions__list li span:last-child { color: var(--ink); font-weight: 500; }

.pl-rates-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.pl-rates-table h4 { font-family: var(--ff-display); font-size: 20px; margin-bottom: var(--s-4); }
.pl-rates-table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.pl-rates-table th { text-align: left; padding: 10px 0; color: var(--ink-mute); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--line); }
.pl-rates-table td { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.pl-rates-table tr:last-child td { border-bottom: 0; }
.pl-rates-table td.rate { font-family: var(--ff-display); font-size: 18px; color: var(--gold-deep); text-align: right; }


/* =========================================================
   LOGIN
   ========================================================= */
.lg-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100%;
}
.lg-pane {
  padding: var(--s-7) var(--s-8);
  display: flex; flex-direction: column;
  background: var(--ivory);
}
.lg-pane__head { display: flex; align-items: center; justify-content: space-between; }
.lg-pane__back { font-size: 13px; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 6px; }
.lg-pane__back:hover { color: var(--navy); }
.lg-pane__body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 440px; margin: 0 auto; width: 100%;
}
.lg-pane h1 { font-size: 48px; line-height: 1.05; }
.lg-pane__sub { margin-top: var(--s-3); color: var(--ink-2); font-size: 15.5px; }
.lg-form { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.lg-form__input-wrap { position: relative; }
.lg-form__input-wrap .vz-i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-mute);
}
.lg-form__input-wrap .vz-input { padding-left: 42px; }
.lg-form__input-wrap--password .vz-input { padding-right: 42px; }
.lg-form__toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-mute);
}
.lg-form__row { display: flex; justify-content: space-between; align-items: center; }
.lg-checkbox {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--ink-2);
  cursor: pointer;
}
.lg-checkbox input {
  width: 16px; height: 16px;
  border-radius: var(--r-xs);
  accent-color: var(--navy);
}
.lg-form__forgot { font-size: 14px; color: var(--gold-deep); }
.lg-form__forgot:hover { color: var(--navy); }
.lg-form__sep {
  margin: var(--s-4) 0;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-mute);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
}
.lg-form__sep::before, .lg-form__sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.lg-form__sso { display: grid; gap: 10px; }
.lg-form__sso .vz-btn { background: var(--paper); justify-content: flex-start; padding-left: 22px; }
.lg-form__signup {
  margin-top: var(--s-6); text-align: center;
  color: var(--ink-2); font-size: 14.5px;
}
.lg-form__signup a { color: var(--navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.lg-side {
  background: var(--navy);
  padding: var(--s-7) var(--s-8);
  display: flex; flex-direction: column; justify-content: space-between;
  color: rgba(255,255,255,0.86);
  position: relative; overflow: hidden;
}
.lg-side h2 { color: #fff; font-size: 36px; line-height: 1.1; margin-top: var(--s-4); }
.lg-side h2 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.lg-side__lede { margin-top: var(--s-4); color: rgba(255,255,255,0.74); font-size: 16px; line-height: 1.6; max-width: 420px; }
.lg-side__features {
  margin-top: var(--s-6);
  list-style: none; padding: 0; display: grid; gap: 14px;
}
.lg-side__features li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.lg-side__features svg { color: var(--gold-light); margin-top: 3px; flex: 0 0 auto; }
.lg-side__seal {
  display: inline-flex; align-items: center; gap: 12px;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 13px; color: rgba(255,255,255,0.62);
}
.lg-side__seal-mark {
  width: 48px; height: 48px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); color: var(--gold-light); font-size: 18px;
}


/* =========================================================
   CREDIT APPLICATION \u2014 wizard step
   ========================================================= */
.ca-shell {
  background: var(--ivory);
  min-height: 100%;
  padding: var(--s-6) 0 var(--s-9);
}
.ca-topbar {
  background: var(--paper-pure);
  border-bottom: 1px solid var(--line);
  height: 64px;
  display: flex; align-items: center;
  margin-bottom: var(--s-7);
}
.ca-topbar__inner {
  max-width: var(--max);
  margin: 0 auto; padding: 0 var(--s-6); width: 100%;
  display: flex; align-items: center; gap: var(--s-7);
}
.ca-topbar__save { margin-left: auto; font-size: 13px; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 6px; }
.ca-topbar__save .vz-i { color: var(--success); }

.ca-inner { max-width: 1080px; margin: 0 auto; padding: 0 var(--s-6); display: grid; grid-template-columns: 280px 1fr; gap: var(--s-7); }

/* stepper sidebar */
.ca-stepper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  position: sticky;
  top: 24px;
}
.ca-stepper h4 {
  font-family: var(--ff-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-mute); margin-bottom: var(--s-4);
}
.ca-stepper__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; position: relative; }
.ca-stepper__steps::before {
  content: ''; position: absolute;
  left: 13px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.ca-step {
  display: grid; grid-template-columns: 28px 1fr;
  gap: 12px; padding: 8px 0;
  align-items: center;
  position: relative; z-index: 1;
}
.ca-step__dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--ink-mute);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
}
.ca-step--done .ca-step__dot { background: var(--navy); color: var(--gold-light); border-color: var(--navy); }
.ca-step--current .ca-step__dot { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,146,74,0.18); }
.ca-step__label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.ca-step--current .ca-step__label { color: var(--navy); }
.ca-step__sub { font-size: 12px; color: var(--ink-mute); }

/* form pane */
.ca-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-7);
}
.ca-form__step-label {
  font-size: 12.5px; color: var(--gold-deep);
  font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ca-form h2 { font-size: 36px; margin-top: 8px; }
.ca-form__sub { margin-top: var(--s-3); color: var(--ink-2); font-size: 15.5px; }
.ca-form__group { margin-top: var(--s-6); }
.ca-form__group-title { font-family: var(--ff-display); font-size: 19px; color: var(--navy); margin-bottom: var(--s-4); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ca-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.ca-form__field { display: flex; flex-direction: column; gap: 8px; }
.ca-form__field--full { grid-column: 1 / -1; }
.ca-form__radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.ca-radio-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: var(--s-4);
  cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  transition: all var(--t-fast) var(--ease);
}
.ca-radio-card:hover { border-color: var(--navy); }
.ca-radio-card--selected {
  border-color: var(--gold);
  background: rgba(184, 146, 74, 0.04);
  box-shadow: 0 0 0 1px var(--gold);
}
.ca-radio-card__check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.ca-radio-card--selected .ca-radio-card__check {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.ca-radio-card__title { font-size: 14.5px; color: var(--navy); font-weight: 500; }
.ca-radio-card__sub { font-size: 12.5px; color: var(--ink-mute); }

.ca-form__actions {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.ca-form__back { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.ca-summary-side {
  margin-top: var(--s-5);
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.ca-summary-side h4 {
  font-family: var(--ff-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: var(--s-3);
}
.ca-summary-side__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ca-summary-side__row:last-child { border-bottom: 0; }
.ca-summary-side__row span:first-child { color: rgba(255,255,255,0.66); }
.ca-summary-side__row span:last-child { color: #fff; font-weight: 500; }


/* =========================================================
   PROFILE (espace client)
   ========================================================= */
.pf-shell {
  background: var(--ivory);
  min-height: 100%;
}
.pf-appbar {
  background: var(--navy);
  height: 64px;
  display: flex; align-items: center;
  color: #fff;
}
.pf-appbar__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto; padding: 0 var(--s-6);
  display: flex; align-items: center; gap: var(--s-6);
}
.pf-appbar .vz-logo { color: #fff; }
.pf-appbar__nav { display: flex; align-items: center; gap: var(--s-5); font-size: 14px; color: rgba(255,255,255,0.74); font-weight: 500; }
.pf-appbar__nav a:hover { color: #fff; }
.pf-appbar__nav .active { color: #fff; position: relative; }
.pf-appbar__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.pf-appbar__icon-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: rgba(255,255,255,0.84);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
}
.pf-appbar__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}

.pf-page { max-width: var(--max); margin: 0 auto; padding: var(--s-7) var(--s-6); }
.pf-greeting { display: flex; justify-content: space-between; align-items: flex-end; }
.pf-greeting h1 { font-size: 44px; }
.pf-greeting h1 em { font-style: italic; color: var(--gold-deep); font-weight: 400; }
.pf-greeting__sub { color: var(--ink-2); font-size: 16px; margin-top: 6px; }
.pf-greeting__meta {
  display: flex; gap: var(--s-5); font-size: 13px; color: var(--ink-mute);
}
.pf-greeting__meta strong { color: var(--navy); font-weight: 500; }

.pf-grid {
  margin-top: var(--s-6);
  display: grid; grid-template-columns: 1fr 380px; gap: var(--s-5);
  align-items: start;
}

/* KYC banner */
.pf-kyc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex; gap: var(--s-5); align-items: center;
}
.pf-kyc__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--gold-pale);
  color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.pf-kyc__body { flex: 1; }
.pf-kyc__title { font-family: var(--ff-display); font-size: 20px; color: var(--navy); }
.pf-kyc__sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.pf-kyc__progress { margin-top: 12px; height: 6px; background: var(--ivory-light); border: 1px solid var(--line); border-radius: var(--r-pill); position: relative; overflow: hidden; }
.pf-kyc__progress-fill { position: absolute; top: 0; left: 0; height: 100%; background: var(--gold); border-radius: var(--r-pill); }
.pf-kyc__pct { font-family: var(--ff-display); font-size: 32px; color: var(--navy); }

/* Quick actions */
.pf-actions { margin-top: var(--s-5); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.pf-action {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.pf-action:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-md); }
.pf-action__icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--navy);
}
.pf-action__title { font-family: var(--ff-display); font-size: 18px; color: var(--navy); }
.pf-action__sub { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* Accounts summary */
.pf-accounts { margin-top: var(--s-5); }
.pf-accounts__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s-4); }
.pf-accounts__head h3 { font-family: var(--ff-display); font-size: 22px; color: var(--navy); }
.pf-acc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: grid; grid-template-columns: 1fr auto auto;
  gap: var(--s-5); align-items: center;
}
.pf-acc + .pf-acc { margin-top: 12px; }
.pf-acc__name { font-weight: 500; color: var(--navy); font-size: 15px; }
.pf-acc__id { font-size: 12.5px; color: var(--ink-mute); font-family: var(--ff-mono); margin-top: 2px; }
.pf-acc__balance { font-family: var(--ff-display); font-size: 26px; color: var(--navy); text-align: right; }
.pf-acc__balance small { font-family: var(--ff-body); font-size: 12px; color: var(--ink-mute); display: block; }
.pf-acc__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--success-soft); color: var(--success);
  font-size: 11.5px; font-weight: 500;
}

/* Side card "Mon conseiller" */
.pf-advisor {
  background: var(--navy);
  color: rgba(255,255,255,0.86);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.pf-advisor__head { display: flex; gap: 14px; align-items: center; }
.pf-advisor__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold-light);
  color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 18px; font-weight: 500;
}
.pf-advisor__name { color: #fff; font-weight: 500; font-size: 15px; }
.pf-advisor__role { font-size: 12.5px; color: rgba(255,255,255,0.6); }
.pf-advisor__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--s-4); }
.pf-advisor__buttons .vz-btn { width: 100%; }

.pf-side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
}
.pf-side-card + .pf-side-card { margin-top: var(--s-4); }
.pf-side-card h4 { font-family: var(--ff-display); font-size: 18px; color: var(--navy); margin-bottom: var(--s-3); }


/* =========================================================
   HELP CENTER
   ========================================================= */
.hc-hero {
  background: var(--navy);
  color: #fff;
  padding: var(--s-9) 0;
  position: relative; overflow: hidden;
  text-align: center;
}
.hc-hero__inner { max-width: 760px; margin: 0 auto; padding: 0 var(--s-6); position: relative; z-index: 1; }
.hc-hero h1 { color: #fff; font-size: 60px; line-height: 1.05; margin-top: var(--s-4); }
.hc-hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hc-hero__lede { margin-top: var(--s-4); color: rgba(255,255,255,0.7); font-size: 17px; }
.hc-search {
  margin-top: var(--s-6);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 22px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-lg);
}
.hc-search input {
  flex: 1; border: none; outline: none;
  font-family: var(--ff-body); font-size: 16px;
  color: var(--ink); height: 44px;
  background: transparent;
}
.hc-search button { height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: none; }
.hc-search__suggest { margin-top: var(--s-4); font-size: 13px; color: rgba(255,255,255,0.6); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hc-search__suggest a { color: rgba(255,255,255,0.86); text-decoration: underline; text-decoration-color: var(--gold-light); text-underline-offset: 4px; }

/* Categories */
.hc-cats { background: var(--ivory); padding: var(--s-9) 0; }
.hc-cats__grid {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.hc-cat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.hc-cat:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--sh-md); }
.hc-cat__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--navy);
}
.hc-cat__title { font-family: var(--ff-display); font-size: 20px; color: var(--navy); }
.hc-cat__count { font-size: 13px; color: var(--ink-mute); }

/* Articles */
.hc-articles { background: var(--paper-pure); padding: var(--s-9) 0; }
.hc-articles__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); display: grid; grid-template-columns: 2fr 1fr; gap: var(--s-7); align-items: start; }
.hc-articles__list { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: var(--s-5); }
.hc-article {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease);
}
.hc-article:hover { background: var(--ivory-light); }
.hc-article__num { font-family: var(--ff-display); font-size: 22px; color: var(--gold); }
.hc-article__title { font-family: var(--ff-display); font-size: 19px; color: var(--navy); }
.hc-article__sub { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.hc-article__time { font-size: 12.5px; color: var(--ink-mute); }

.hc-contact {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-6);
  margin-top: var(--s-5);
}
.hc-contact h4 { font-family: var(--ff-display); font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.hc-contact p { font-size: 14.5px; color: var(--ink-2); margin-bottom: var(--s-4); }
.hc-contact__opts { display: grid; gap: 12px; }
.hc-contact__opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
}
.hc-contact__opt-icon {
  width: 36px; height: 36px; flex: 0 0 auto;
  border-radius: var(--r-sm);
  background: var(--ivory-light);
  color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.hc-contact__opt-title { color: var(--navy); font-weight: 500; }
.hc-contact__opt-sub { font-size: 12.5px; color: var(--ink-mute); }
.hc-contact__opt-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--success);
}
.hc-contact__opt-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* ============================================================================
   PL SIMULATOR — Sliders side-by-side, distinct colors (gold=amount, navy=duration)
   ============================================================================ */
.pl-sim-card__sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}
@media (max-width: 720px) {
  .pl-sim-card__sliders { grid-template-columns: 1fr; gap: var(--s-4); }
}

.pl-sim-card__field-l { display: inline-flex; align-items: center; gap: 8px; }
.pl-sim-card__field-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}
.pl-sim-card__field-l--duration .pl-sim-card__field-dot { background: var(--gold-light); }

.pl-sim-card__minmax {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* Range input common reset */
.pl-sim-card__range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; padding: 0; margin: 12px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none; cursor: pointer;
}

/* Webkit thumb */
.pl-sim-card__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold);
  cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform 0.15s var(--ease);
}
.pl-sim-card__range::-webkit-slider-thumb:hover { transform: scale(1.1); }

/* Firefox thumb */
.pl-sim-card__range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold);
  cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

/* Gold variant — amount slider */
.pl-sim-card__range--amount {
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 50%, rgba(255,255,255,0.12) 50%);
}
.pl-sim-card__range--amount::-webkit-slider-thumb { border-color: var(--gold); background: #fff; }
.pl-sim-card__range--amount::-moz-range-thumb { border-color: var(--gold); background: #fff; }

/* Navy/light gold variant — duration slider */
.pl-sim-card__range--duration {
  background: linear-gradient(to right, var(--gold-light) 0%, var(--gold-light) 50%, rgba(255,255,255,0.12) 50%);
}
.pl-sim-card__range--duration::-webkit-slider-thumb {
  border-color: var(--gold-light); background: var(--navy);
}
.pl-sim-card__range--duration::-moz-range-thumb {
  border-color: var(--gold-light); background: var(--navy);
}

/* =========================================================
   LEGAL PAGES (legal_notices, terms, privacy, cookies, credits)
   Long-form prose with side-anchored TOC.
   ========================================================= */

.vz-container--narrow { max-width: var(--max-narrow); }

.legal-hero {
  padding: var(--s-9) 0 var(--s-7);
}
.legal-hero__title {
  font-size: var(--fs-h1);
  margin-top: var(--s-3);
  max-width: 18ch;
}
.legal-hero__title .serif-italic {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.legal-hero__lede {
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: var(--lh-base);
  max-width: 56ch;
}
.legal-hero__updated {
  margin-top: var(--s-5);
  font-size: var(--fs-small);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.legal-body { background: var(--paper-pure); }

.legal-toc {
  background: var(--ivory-light);
  border: 1px solid var(--line);
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  margin-bottom: var(--s-8);
}
.legal-toc__title {
  font-family: var(--ff-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 var(--s-3);
}
.legal-toc ol {
  margin: 0;
  padding-left: var(--s-5);
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.9;
}
.legal-toc ol li::marker {
  color: var(--gold-deep);
  font-family: var(--ff-display);
  font-weight: 500;
}
.legal-toc a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
  border-bottom: 1px solid transparent;
}
.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--gold-deep);
  border-bottom-color: var(--gold);
}

.legal-prose > section + section { margin-top: var(--s-8); }

.legal-prose h2 {
  margin-top: var(--s-8);
  margin-bottom: var(--s-4);
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  color: var(--navy);
  line-height: var(--lh-snug);
  scroll-margin-top: var(--s-8);
}
.legal-prose > section:first-child h2 { margin-top: 0; }

.legal-prose h3 {
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  color: var(--navy);
  font-weight: 500;
}

.legal-prose p,
.legal-prose li {
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--ink-2);
  margin: 0 0 var(--s-4);
  max-width: 70ch;
}
.legal-prose ul,
.legal-prose ol {
  padding-left: var(--s-5);
  margin: 0 0 var(--s-4);
}
.legal-prose strong { color: var(--navy); font-weight: 600; }
.legal-prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--navy); }

.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-5) 0 var(--s-6);
  font-size: var(--fs-small);
  background: var(--paper);
}
.legal-prose th,
.legal-prose td {
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: var(--lh-base);
  color: var(--ink-2);
}
.legal-prose th {
  background: var(--ivory-light);
  color: var(--navy);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-credits-list {
  list-style: none;
  padding: 0;
  margin: var(--s-5) 0 var(--s-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-2) var(--s-5);
}
.legal-credits-list li {
  position: relative;
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: 1.55;
  max-width: none;
}
.legal-credits-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .legal-hero { padding: var(--s-7) 0 var(--s-6); }
  .legal-hero__title { font-size: var(--fs-h2); }
  .legal-prose table { font-size: var(--fs-xs); }
  .legal-prose th, .legal-prose td { padding: var(--s-2) var(--s-3); }
}

/* =========================================================
   GLOSSARY (Calp lexicon)
   Alphabetical financial glossary — A-Z index, definitions.
   ========================================================= */

.vz-glossary-az .vz-glossary-az__list {
  list-style: none;
  margin: var(--s-2) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.vz-glossary-az__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--paper-pure);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.vz-glossary-az__list a:hover,
.vz-glossary-az__list a:focus-visible {
  color: var(--gold-deep);
  border-color: var(--gold);
  background: var(--ivory-light);
  outline: none;
}

.vz-glossary__letter {
  font-family: var(--ff-display);
  color: var(--gold-deep);
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-5) !important;
}

.vz-glossary {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5) var(--s-7);
}
@media (min-width: 960px) {
  .vz-glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.vz-glossary dt {
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 var(--s-2);
  scroll-margin-top: var(--s-8);
  position: relative;
  padding-left: var(--s-4);
}
.vz-glossary dt::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.vz-glossary dd {
  margin: 0 0 var(--s-3) 0;
  padding-left: var(--s-4);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--ink-2);
  max-width: 60ch;
}

.vz-glossary__cta {
  margin-top: var(--s-8);
  padding: var(--s-6) var(--s-6);
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.vz-glossary__cta h2 {
  margin-top: 0 !important;
}

/* =========================================================
   CREDIT SIMULATOR (credit_simulation/index)
   Editorial card on ivory background.
   ========================================================= */

.cs-hero { padding: var(--s-9) 0 var(--s-7); }
.cs-hero__head { max-width: 720px; }
.cs-hero__title {
  font-size: var(--fs-h1);
  margin-top: var(--s-3);
}
.cs-hero__title .serif-italic {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.cs-hero__lede {
  margin-top: var(--s-5);
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: var(--lh-base);
  max-width: 60ch;
}
.cs-hero__disclaimer {
  margin-top: var(--s-5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink-mute);
  font-size: var(--fs-small);
}

.cs-main { padding-top: 0; }
.cs-main .cs-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.cs-card__form { padding: var(--s-7); }
.cs-card__result {
  padding: var(--s-7);
  background: var(--navy);
  color: rgba(255,255,255,0.92);
  border-left: 1px solid var(--line);
}

.cs-form {
  display: grid;
  gap: var(--s-5);
}
.cs-form .vz-eyebrow { margin-bottom: var(--s-2); }

.cs-field { display: grid; gap: 8px; }
.cs-field__label {
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.cs-field__help {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  margin: 0;
}

.cs-field__select-wrap,
.cs-field__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cs-field__select,
.cs-field__input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper-pure);
  color: var(--navy);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 500;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none;
}
.cs-field__select:focus,
.cs-field__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 74, 0.18);
}
.cs-field__select-icon {
  position: absolute;
  right: 16px;
  pointer-events: none;
  color: var(--ink-mute);
}
.cs-field__suffix {
  position: absolute;
  right: 16px;
  color: var(--ink-mute);
  font-size: var(--fs-small);
  font-weight: 600;
  pointer-events: none;
}

.cs-field__rate {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--ivory-light);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  color: var(--ink-2);
}
.cs-field__rate strong {
  color: var(--navy);
  font-weight: 700;
}

.cs-card__result .vz-eyebrow,
.cs-card__result .vz-eyebrow--navy {
  color: var(--gold-light);
}
.cs-card__result .vz-eyebrow::before { background: var(--gold-light); }

.cs-result__monthly {
  margin-top: var(--s-3);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.cs-result__amount {
  font-family: var(--ff-display);
  font-size: 56px;
  line-height: 1;
  color: #fff;
  font-weight: 500;
}
.cs-result__currency {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--gold-light);
}
.cs-result__suffix {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.6);
  margin-left: 4px;
}

.cs-result__details {
  margin: var(--s-5) 0;
  display: grid;
  gap: 10px;
}
.cs-result__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.85);
}
.cs-result__row dt { margin: 0; }
.cs-result__row dd {
  margin: 0;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cs-result__row--sub {
  padding-left: var(--s-4);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.6);
}
.cs-result__row--sub dd { color: rgba(255,255,255,0.85); font-weight: 500; }

.cs-result__ctas {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.cs-result__cta-form { margin: 0; }

.cs-result__ctas .vz-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.cs-result__ctas .vz-btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.cs-result__time {
  margin-top: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

.cs-legal { border-top: 1px solid var(--line); }
.cs-legal__text {
  font-size: var(--fs-small);
  color: var(--ink-mute);
  text-align: center;
  line-height: var(--lh-base);
  max-width: 70ch;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .cs-main .cs-card { grid-template-columns: 1fr; }
  .cs-card__result { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .cs-hero { padding: var(--s-7) 0 var(--s-6); }
  .cs-hero__title { font-size: var(--fs-h2); }
  .cs-card__form, .cs-card__result { padding: var(--s-5); }
  .cs-result__amount { font-size: 44px; }
}

/* =========================================================
   AMORTIZATION TABLE (credit_simulation/amortization_table)
   ========================================================= */

.cs-amort__hero { padding: var(--s-7) 0 var(--s-6); }
.cs-amort__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--ink-2);
  margin-bottom: var(--s-5);
  transition: color var(--t-fast) var(--ease);
}
.cs-amort__back:hover { color: var(--gold-deep); }

.cs-amort__title {
  font-size: var(--fs-h1);
  margin-top: var(--s-3);
  max-width: 22ch;
}
.cs-amort__title .serif-italic {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.cs-amort__lede {
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: var(--lh-base);
}

.cs-amort__summary { background: var(--paper-pure); }
.cs-amort__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-4);
}
.cs-amort__stat {
  padding: var(--s-4) var(--s-5);
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-amort__stat--highlight {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.cs-amort__stat-label {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.cs-amort__stat--highlight .cs-amort__stat-label { color: var(--gold-light); }
.cs-amort__stat-value {
  font-family: var(--ff-display);
  font-size: 28px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.cs-amort__stat--highlight .cs-amort__stat-value { color: #fff; }

.cs-amort__content { padding-top: 0; }

.cs-amort__table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  max-height: 70vh;
  overflow-y: auto;
}
.cs-amort__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  font-variant-numeric: tabular-nums;
}
.cs-amort__th {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--s-3) var(--s-4);
  text-align: left;
  border-bottom: 1px solid var(--navy-soft);
}
.cs-amort__th--num { text-align: right; }
.cs-amort__th--month { width: 80px; text-align: center; }

.cs-amort__td {
  padding: 12px var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  white-space: nowrap;
}
.cs-amort__td--num { text-align: right; }
.cs-amort__td--month {
  text-align: center;
  font-family: var(--ff-display);
  color: var(--navy);
  font-weight: 500;
}
.cs-amort__td--gold { color: var(--gold-deep); font-weight: 600; }
.cs-amort__td--mute { color: var(--ink-mute); }

.cs-amort__tr:nth-child(even) { background: var(--ivory-light); }
.cs-amort__tr:hover { background: var(--paper); }

.cs-amort__actions {
  display: flex;
  justify-content: center;
  gap: var(--s-4);
  margin-top: var(--s-6);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cs-amort__title { font-size: var(--fs-h2); }
  .cs-amort__stats { grid-template-columns: 1fr 1fr; }
  .cs-amort__stat-value { font-size: 22px; }
  .cs-amort__td, .cs-amort__th { padding: 10px 12px; }
  .cs-amort__actions { flex-direction: column; align-items: stretch; }
}

/* =========================================================
   DEVIS CONFIRMATION (insurance quote confirmation)
   Centered card with success icon.
   ========================================================= */

.cs-confirm { padding: var(--s-8) 0 var(--s-9); }
.cs-confirm__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: var(--s-8) var(--s-7);
  text-align: center;
}
.cs-confirm__icon {
  width: 88px; height: 88px;
  margin: 0 auto var(--s-5);
  border-radius: 50%;
  background: var(--ivory-light);
  border: 1px solid var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}
.cs-confirm__icon .icon { width: 48px; height: 48px; }

.cs-confirm__title {
  font-size: var(--fs-h1);
  margin-top: var(--s-3);
}
.cs-confirm__title .serif-italic {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.cs-confirm__lede {
  margin: var(--s-4) auto 0;
  font-size: var(--fs-lead);
  color: var(--ink-2);
  line-height: var(--lh-base);
  max-width: 56ch;
}

.cs-confirm__ref {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: var(--s-5);
  padding: 10px 18px;
  background: var(--ivory-light);
  border: 1px dashed var(--gold);
  border-radius: var(--r-md);
}
.cs-confirm__ref-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 600;
}
.cs-confirm__ref-value {
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cs-confirm__grid {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  text-align: left;
}
.cs-confirm__block {
  padding: var(--s-5);
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.cs-confirm__block-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  color: var(--navy);
  margin: 0 0 var(--s-4);
  font-weight: 500;
}

.cs-confirm__info { margin: 0; display: grid; gap: 10px; }
.cs-confirm__info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-small);
}
.cs-confirm__info-row:last-child { border-bottom: none; padding-bottom: 0; }
.cs-confirm__info-row dt {
  color: var(--ink-mute);
  margin: 0;
}
.cs-confirm__info-row dd {
  margin: 0;
  text-align: right;
  color: var(--navy);
  font-weight: 600;
  word-break: break-word;
}

.cs-confirm__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-3);
}
.cs-confirm__steps li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line-soft);
}
.cs-confirm__steps li:last-child { border-bottom: none; padding-bottom: 0; }
.cs-confirm__step-num {
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--gold-deep);
  font-weight: 500;
  line-height: 1;
  min-width: 36px;
}
.cs-confirm__step-text {
  color: var(--ink-2);
  font-size: var(--fs-small);
  line-height: var(--lh-base);
}

.cs-confirm__actions {
  margin-top: var(--s-7);
  display: flex;
  justify-content: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .cs-confirm { padding: var(--s-6) 0 var(--s-7); }
  .cs-confirm__card { padding: var(--s-6) var(--s-4); }
  .cs-confirm__title { font-size: var(--fs-h2); }
  .cs-confirm__grid { grid-template-columns: 1fr; }
  .cs-confirm__actions { flex-direction: column; align-items: stretch; }
}


/* ============================================================
   CREDIT OFFERS — categorized product sections (refonte 2026-05)
   Replaces the flat cr-grid-section grid with 7 themed sections.
   ============================================================ */
.cr-category {
  padding: var(--s-9) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.cr-category:nth-of-type(even) { background: var(--ivory-light); }
.cr-category__head {
  max-width: 720px;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.cr-category__title {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  color: var(--navy);
  margin: var(--s-3) 0 var(--s-3);
  font-weight: 500;
}
.cr-category__title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.cr-category__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.cr-category__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 900px) {
  .cr-category__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cr-category__grid { grid-template-columns: 1fr; }
}

.cr-product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-5);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.cr-product:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.cr-product__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cr-product__icon svg { width: 22px; height: 22px; }
.cr-product__title {
  font-family: var(--ff-display);
  font-size: 22px;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
  font-weight: 500;
}
.cr-product__rate {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cr-product__rate strong {
  color: var(--gold-deep);
  font-size: 18px;
  font-family: var(--ff-display);
  font-weight: 500;
}
.cr-product__rate span {
  color: var(--ink-mute);
  font-size: 13px;
}
.cr-product__cta {
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: var(--s-3);
  transition: color var(--t-fast) var(--ease);
}
.cr-product__cta svg {
  transition: transform var(--t-fast) var(--ease);
}
.cr-product:hover .cr-product__cta { color: var(--gold-deep); }
.cr-product:hover .cr-product__cta svg { transform: translateX(4px); }


/* ============================================================================
   ============================================================================
   RESPONSIVE — site-wide breakpoints
   1280px : container fluid
   1024px : tablet landscape  — reduce 4-col grids, hero ratio adjustments
    768px : tablet portrait   — collapse multi-col, stack heroes, simplify header
    560px : large phone       — typography downscale, vertical CTAs
    420px : small phone       — full tightening
   ============================================================================
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1280px — container becomes fluid
   --------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .vz-container,
  .home-hero__inner,
  .home-trust__inner,
  .home-values__inner,
  .home-services__inner,
  .home-credit__inner,
  .home-quotes__inner,
  .acc-hero__inner,
  .acc-compare__inner,
  .acc-process__inner,
  .cr-hero__inner,
  .cr-grid-section__inner,
  .cr-process__inner,
  .pl-hero__inner,
  .pl-features__grid,
  .lg-shell,
  .ca-inner,
  .hc-articles__inner,
  .vz-footer .vz-container,
  .vz-header__inner {
    max-width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   1024px — TABLET LANDSCAPE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --fs-display: 64px;
    --fs-h1: 44px;
    --fs-h2: 34px;
    --fs-h3: 26px;
    --s-9: 72px;
    --s-10: 96px;
  }

  /* 4-col → 2-col */
  .calp .vz-grid-4,
  .acc-compare__grid,
  .cr-grid,
  .pl-features__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Personal-loan hero: sim card full width below text */
  .pl-hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
  }
  .pl-hero h1 { font-size: 52px; }

  /* Footer 5-col → 3-col */
  .vz-footer__cols {
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: var(--s-6);
    row-gap: var(--s-7);
  }

  /* Credit application: side panel under main */
  .ca-inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-5);
  }

  /* Profile shell — sidebar under main */
  .pf-shell,
  .pf-layout,
  .pf-grid {
    grid-template-columns: 1fr !important;
  }

  /* Login split 50/50 → still split but tighter */
  .lg-pane { padding: var(--s-6); }

  /* Hero containers */
  .home-hero h1 { font-size: 56px; }
  .acc-hero__inner,
  .cr-hero__inner {
    gap: var(--s-6);
  }
}

/* ---------------------------------------------------------------------------
   768px — TABLET PORTRAIT  (the big breakpoint where everything stacks)
   --------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --fs-display: 48px;
    --fs-h1: 36px;
    --fs-h2: 28px;
    --fs-h3: 22px;
    --fs-h4: 19px;
    --fs-lead: 17px;
    --s-6: 24px;
    --s-7: 36px;
    --s-8: 48px;
    --s-9: 56px;
    --s-10: 72px;
  }

  /* Container padding */
  .vz-container,
  .vz-header__inner,
  .home-hero__inner,
  .home-trust__inner,
  .home-values__inner,
  .home-services__inner,
  .home-credit__inner,
  .home-quotes__inner,
  .acc-hero__inner,
  .acc-features__inner,
  .acc-compare__inner,
  .acc-process__inner,
  .cr-hero__inner,
  .cr-grid-section__inner,
  .cr-process__inner,
  .pl-hero__inner,
  .pl-features__inner,
  .lg-pane,
  .ca-inner,
  .hc-articles__inner,
  .pf-shell {
    padding-left: var(--s-5);
    padding-right: var(--s-5);
  }

  /* ---------- HEADER ---------- */
  .vz-header { height: 64px; }
  .vz-logo { font-size: 22px; }
  .vz-logo__mark { width: 28px; height: 28px; }
  .vz-header__nav,
  .vz-nav { display: none !important; }
  /* Locale switcher reste VISIBLE en mobile, compact (code + chevron) */
  .vz-header__lang-wrap { display: inline-block !important; }
  .vz-header__lang {
    padding: 0 8px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    font-size: 13px;
    background: var(--paper-pure);
  }
  .vz-header__lang span { font-weight: 600; color: var(--navy); }
  .vz-header__lang-menu {
    right: -6px !important;
    left: auto !important;
    max-height: 60vh;
    overflow-y: auto;
  }
  .vz-header__actions { gap: 6px; margin-left: auto; }
  .vz-header__inner { gap: var(--s-3); padding: 0 var(--s-4); }

  /* ---------- SECTION SPACING ---------- */
  .vz-section { padding: var(--s-8) 0; }
  .vz-section--tight { padding: var(--s-7) 0; }
  .vz-section--loose { padding: var(--s-9) 0; }
  .vz-section__head { margin-bottom: var(--s-6); }
  .vz-section__head h2 { font-size: var(--fs-h2); }

  /* ---------- ALL GENERIC GRIDS COLLAPSE ---------- */
  .calp .vz-grid-2,
  .calp .vz-grid-3,
  .calp .vz-grid-4 {
    grid-template-columns: 1fr !important;
  }

  /* ---------- HOME ---------- */
  .home-hero { padding: var(--s-7) 0 var(--s-8); }
  .home-hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
    text-align: center;
  }
  .home-hero__title { font-size: 44px !important; line-height: 1.06; max-width: none; }
  .home-hero__lede { font-size: 16px; max-width: none; margin-left: auto; margin-right: auto; }
  .home-hero__ctas { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .home-hero__trust { justify-content: center; flex-wrap: wrap; margin-top: var(--s-5); }
  .home-hero__viz { max-width: 100%; margin: 0 auto; }

  .home-trust__inner { flex-direction: column; gap: var(--s-4); text-align: center; }
  .home-trust__logos { flex-wrap: wrap; justify-content: center; gap: var(--s-5); }

  .home-values__grid,
  .home-services__grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-4);
  }

  .home-credit {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
  }
  .home-credit__viz { order: -1; }

  .home-steps__grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-4);
  }

  /* ---------- ACCOUNTS ---------- */
  .acc-hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
  }
  .acc-hero__bullets { max-width: none; }
  .acc-hero__viz { max-width: 100%; margin: 0 auto; }
  .acc-hero__ctas { flex-wrap: wrap; gap: 12px; }
  .acc-features__grid { grid-template-columns: 1fr !important; gap: var(--s-4); }
  .acc-compare__grid { grid-template-columns: 1fr !important; gap: var(--s-4); }
  .acc-process__steps { grid-template-columns: 1fr !important; gap: var(--s-5); }

  /* ---------- CREDITS INDEX ---------- */
  .cr-hero { padding: var(--s-8) 0; }
  .cr-hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
  }
  .cr-hero h1 { font-size: 40px; }
  .cr-hero__lede { max-width: none; }
  .cr-hero__ctas { flex-wrap: wrap; gap: 12px; }
  .cr-hero__stats { grid-template-columns: 1fr !important; gap: var(--s-4); }
  .cr-grid { grid-template-columns: 1fr !important; gap: var(--s-4); }
  .cr-card--feature { padding: var(--s-5); }
  .cr-process__grid { grid-template-columns: 1fr !important; gap: var(--s-5); }
  .cr-category__grid { grid-template-columns: 1fr !important; }

  /* ---------- PERSONAL LOAN / CREDIT DETAIL ---------- */
  .pl-hero { padding: var(--s-7) 0; }
  .pl-hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
  }
  .pl-hero h1 { font-size: 40px !important; }
  .pl-hero__lede { max-width: none; font-size: 16px; }
  .pl-sim-card { padding: var(--s-5); }
  .pl-sim-card__sliders { grid-template-columns: 1fr !important; gap: var(--s-4); }
  .pl-sim-card__metrics { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .pl-sim-card__total-v { font-size: 36px !important; }
  .pl-sim-card__seg { grid-template-columns: repeat(2, 1fr); }
  .pl-features__grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-4);
  }
  .pl-rates-table { font-size: 14px; }
  .pl-rates-table td.rate { font-size: 16px; }
  .pl-faq { padding: 0 !important; }

  /* ---------- LOGIN ---------- */
  .lg-shell {
    grid-template-columns: 1fr !important;
  }
  .lg-side { display: none !important; }
  .lg-pane { padding: var(--s-6) var(--s-5); min-height: 100vh; }
  .lg-pane h1 { font-size: 32px; }
  .lg-pane__body { max-width: 100%; }

  /* ---------- CREDIT APPLICATION ---------- */
  .ca-inner {
    grid-template-columns: 1fr !important;
    padding: 0 var(--s-5);
    gap: var(--s-5);
  }
  .ca-sidebar { order: -1; }
  .ca-form__fields { grid-template-columns: 1fr !important; gap: var(--s-3); }
  .ca-form__radio-grid { grid-template-columns: 1fr !important; gap: 10px; }

  /* ---------- PROFILE / DASHBOARD ---------- */
  .pf-shell,
  .pf-layout,
  .pf-grid,
  .pf-main {
    grid-template-columns: 1fr !important;
  }
  .pf-actions { grid-template-columns: 1fr !important; gap: var(--s-3); }
  .pf-advisor__buttons { grid-template-columns: 1fr 1fr; }
  .pf-sidebar,
  .pf-rail { order: 2; }

  /* ---------- HELP CENTER / LEGAL ---------- */
  .hc-articles__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-5);
  }
  .hc-card { grid-template-columns: 1fr !important; gap: var(--s-3); }
  .hc-sidebar,
  .legal-sidebar { display: none; }
  .legal-shell,
  .legal-layout { grid-template-columns: 1fr !important; }

  /* ---------- FOOTER ---------- */
  .vz-footer { padding: var(--s-7) 0 var(--s-5); }
  .vz-footer__cols {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--s-5) var(--s-4);
  }
  .vz-footer__col:first-child {
    grid-column: 1 / -1;
  }
  .vz-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: var(--s-5);
  }

  /* ---------- NAV PICKER (debug overlay) ---------- */
  .vz-navpicker { display: none; }

  /* ---------- BUTTONS ---------- */
  .vz-btn { height: 44px; padding: 0 18px; font-size: 14.5px; }
  .vz-btn--lg { height: 52px; padding: 0 22px; }

  /* ---------- TABLES ---------- */
  table { font-size: 14px; }
  .pl-rates-table th,
  .pl-rates-table td { padding: 10px 8px; }

  /* ---------- CARDS ---------- */
  .vz-card { padding: var(--s-5); }
}

/* ---------------------------------------------------------------------------
   560px — LARGE PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 560px) {
  :root {
    --fs-display: 40px;
    --fs-h1: 30px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --fs-h4: 17px;
    --fs-body: 15px;
    --fs-lead: 16px;
  }

  /* Container padding tighter */
  .vz-container,
  .vz-header__inner,
  .home-hero__inner,
  .home-trust__inner,
  .home-values__inner,
  .home-services__inner,
  .home-credit__inner,
  .home-quotes__inner,
  .acc-hero__inner,
  .acc-features__inner,
  .acc-compare__inner,
  .acc-process__inner,
  .cr-hero__inner,
  .cr-grid-section__inner,
  .cr-process__inner,
  .pl-hero__inner,
  .pl-features__inner,
  .lg-pane,
  .ca-inner,
  .hc-articles__inner,
  .pf-shell {
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }

  /* Heroes */
  .home-hero h1,
  .home-hero__title { font-size: 36px !important; }
  .cr-hero h1 { font-size: 32px; }
  .pl-hero h1 { font-size: 32px !important; }
  .acc-hero__title { font-size: 36px; }

  /* CTAs full width */
  .home-hero__ctas,
  .acc-hero__ctas,
  .cr-hero__ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .home-hero__ctas .vz-btn,
  .acc-hero__ctas .vz-btn,
  .cr-hero__ctas .vz-btn {
    width: 100%;
  }

  /* Footer 2-col → 1-col */
  .vz-footer__cols {
    grid-template-columns: 1fr !important;
    gap: var(--s-5);
  }
  .vz-footer__col:first-child {
    grid-column: 1;
  }

  /* Sim card extra tight */
  .pl-sim-card { padding: var(--s-4); }
  .pl-sim-card__total-v { font-size: 32px !important; }
  .pl-sim-card__metrics { grid-template-columns: 1fr !important; gap: 8px; }
  .pl-sim-card__field-v { font-size: 20px; }

  /* Profile advisor buttons stack */
  .pf-advisor__buttons { grid-template-columns: 1fr !important; }
  .pf-actions { grid-template-columns: 1fr !important; }

  /* Hero stats single column */
  .cr-hero__stats { gap: var(--s-3); }

  /* Eyebrow smaller */
  .vz-eyebrow { font-size: 11px; letter-spacing: 0.18em; }

  /* Section heads */
  .vz-section__head p { font-size: 15px; }

  /* Login */
  .lg-pane { padding: var(--s-5) var(--s-4); }
  .lg-pane h1 { font-size: 28px; }
}

/* ---------------------------------------------------------------------------
   420px — SMALL PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 420px) {
  :root {
    --fs-display: 34px;
    --fs-h1: 26px;
    --fs-h2: 22px;
  }
  .home-hero h1,
  .home-hero__title { font-size: 30px !important; }
  .pl-hero h1 { font-size: 28px !important; }
  .cr-hero h1 { font-size: 28px; }
  .acc-hero__title { font-size: 30px; }
  .pl-sim-card__total-v { font-size: 28px !important; }
  .vz-btn { font-size: 14px; }
  .vz-logo { font-size: 19px; }
  .vz-logo__mark { width: 24px; height: 24px; }
  .vz-header { height: 58px; }
}

/* ---------------------------------------------------------------------------
   Touch / pointer optimisations (any-pointer:coarse)
   --------------------------------------------------------------------------- */
@media (pointer: coarse) {
  .vz-btn,
  .vz-input,
  .pl-sim-card__seg button,
  .pl-sim-card__slider,
  input[type="range"] {
    min-height: 44px;
  }
  input[type="range"]::-webkit-slider-thumb {
    width: 24px; height: 24px;
  }
  input[type="range"]::-moz-range-thumb {
    width: 24px; height: 24px;
  }
}

/* ---------------------------------------------------------------------------
   Prevent horizontal scroll site-wide on mobile
   --------------------------------------------------------------------------- */
html, body { overflow-x: hidden; max-width: 100%; }
.calp { overflow-x: hidden; }
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------------------
   E-E-A-T META STRIP (date + author + read time on credit fiches)
   --------------------------------------------------------------------------- */
.vz-meta-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-family: var(--ff-body);
}
.vz-meta-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.vz-meta-strip__item .icon {
  color: var(--gold-deep);
}
.vz-meta-strip__sep {
  width: 1px; height: 14px;
  background: var(--line-strong);
  display: inline-block;
}
@media (max-width: 560px) {
  .vz-meta-strip__sep { display: none; }
  .vz-meta-strip { gap: 8px 14px; font-size: 12.5px; }
}

/* ---------------------------------------------------------------------------
   Header layout safety — prevent overflow at 769–1180px
   --------------------------------------------------------------------------- */
.vz-header__inner {
  flex-wrap: nowrap;
  overflow: hidden;
}
.vz-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.vz-nav a {
  white-space: nowrap;
}

/* Sur les écrans intermédiaires (769–1180), réduire le gap et masquer le switch langue si trop serré */
@media (min-width: 769px) and (max-width: 1180px) {
  .vz-header__inner { gap: var(--s-4); }
  .vz-nav { gap: var(--s-4); font-size: 13.5px; }
  .vz-header__actions { gap: 8px; }
  .vz-btn--sm { padding: 0 12px; font-size: 13.5px; }
}

@media (min-width: 769px) and (max-width: 940px) {
  .vz-header__lang-wrap { display: none; }
  .vz-nav { gap: var(--s-3); font-size: 13px; }
}

/* Logo SVG header sizing */
.vz-header img,
.vz-header svg,
.vz-logo svg,
.vz-logo img {
  max-height: 32px;
  width: auto;
}

/* ---------------------------------------------------------------------------
   FIX bugs reported by user (2026-05-19)
   1. /fr credit-personnel page mobile: sim card overflows (480px hardcoded)
   2. Home final CTAs row → stack vertical on mobile
   3. Home sim sliders distinct + safe responsive
   --------------------------------------------------------------------------- */

/* Personal loan / credit detail hero — sim card must collapse fully on mobile */
@media (max-width: 900px) {
  .pl-hero__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6);
  }
  .pl-sim-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 560px) {
  .pl-sim-card {
    padding: 18px 14px;
  }
  .pl-sim-card h3 { font-size: 18px; }
  .pl-sim-card__field-l { font-size: 11px; letter-spacing: 0.06em; }
  .pl-sim-card__field-v { font-size: 20px; }
  .pl-sim-card__total-v { font-size: 28px !important; }
  .pl-sim-card__metrics { grid-template-columns: 1fr !important; gap: 6px; }
  .pl-sim-card__seg { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .pl-sim-card__seg button { padding: 6px 0; font-size: 13px; }
}

/* Home final CTA section — stack on mobile/tablet, full-width buttons */
@media (max-width: 768px) {
  .home-final__ctas {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .home-final__ctas .vz-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .home-final h2 { font-size: 28px !important; line-height: 1.15 !important; }
  .home-final p { font-size: 15px !important; }
}

/* Home simulator — safe mobile layout */
@media (max-width: 560px) {
  .home-sim { padding: 18px 16px; }
  .home-sim h3 { font-size: 19px; }
  .home-sim__field { padding: 12px 14px; }
  .home-sim__field-row { gap: 8px; }
  .home-sim__amount { font-size: 24px; }
  .home-sim__field-label { font-size: 11px; }
  .home-sim__unit { font-size: 13px; }
}

/* Edge: ensure nothing in .calp overflows horizontally */
.calp section, .calp .vz-container { max-width: 100%; box-sizing: border-box; }

/* ---------------------------------------------------------------------------
   LANG FLOATING — sélecteur de langue transparent, visible au 1er scroll
   Position fixe top-right ; transparent ; au-dessus du contenu
   --------------------------------------------------------------------------- */
.vz-lang-float {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1500;
  font-family: 'Inter', -apple-system, sans-serif;
}
.vz-lang-float summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: rgba(11, 37, 69, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background var(--t-fast) var(--ease);
}
.vz-lang-float summary:hover {
  background: rgba(11, 37, 69, 0.78);
}
.vz-lang-float summary::-webkit-details-marker { display: none; }
.vz-lang-float summary svg,
.vz-lang-float summary .icon {
  width: 14px; height: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.vz-lang-float__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  max-height: 70vh;
  overflow-y: auto;
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 6px;
}
.vz-lang-float__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 13.5px;
  transition: background var(--t-fast) var(--ease);
}
.vz-lang-float__item:hover { background: rgba(255, 255, 255, 0.08); }
.vz-lang-float__item--active {
  background: rgba(184, 146, 74, 0.22);
  color: #fff;
}
.vz-lang-float__code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  min-width: 24px;
}
.vz-lang-float__name {
  flex: 1;
}

/* Sur fond ivoire (sections claires), le pill devient inverse pour contraste */
@media (prefers-color-scheme: light) {
  /* Si dans une section ivory (page legal/services), garder le pill navy translucent */
}

/* Pas de chevauchement avec le cookie banner sur petits écrans */
@media (max-width: 480px) {
  .vz-lang-float { top: 10px; right: 10px; }
  .vz-lang-float summary {
    height: 32px;
    padding: 0 10px;
    font-size: 12.5px;
  }
}

/* ---------------------------------------------------------------------------
   P2 RESPONSIVE FIXES — 768px / 375px audit
   --------------------------------------------------------------------------- */

/* .pl-conditions__list li — label 220px fixe écrase la valeur en mobile.
   Stack label / valeur en colonne sous 640px. */
@media (max-width: 640px) {
  .pl-conditions__list li {
    grid-template-columns: 1fr !important;
    gap: 4px;
  }
  .pl-conditions__list li span:first-child {
    font-weight: 600;
    color: var(--ink-2);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .pl-conditions__list li span:last-child {
    font-size: 15px;
  }
}

/* .acc-compare__table — 4-col table clippée par overflow:hidden parent.
   Sortie : autoriser le scroll horizontal et donner une largeur mini lisible.
   On utilise display:block sur la table pour activer overflow-x sans
   modifier le markup (pas de wrapper twig nécessaire). */
@media (max-width: 768px) {
  .acc-compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .acc-compare__inner {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .acc-compare__table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-width: 600px;
    width: 100%;
    white-space: nowrap;
  }
  .acc-compare__table thead,
  .acc-compare__table tbody,
  .acc-compare__table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .acc-compare__table th,
  .acc-compare__table td {
    padding: 14px 16px;
    font-size: 13.5px;
    white-space: normal;
  }
  .acc-compare__product-name { font-size: 17px; }
}

/* ============================================================================
   ============================================================================
   RESPONSIVE OVERHAUL — correction systémique mobile
   - typographie display réduite (clamp() gère déjà les tokens --fs-*)
   - downscale des font-size inline (chiffres de stats) non tokenisés
   - flex rows à grand gap qui débordent → wrap
   - grilles inline 1fr 1fr → 1 colonne
   - sections nommées : cartes, mobilité, parcours, conditions, hero stats
   ============================================================================
   ============================================================================ */

/* ---- Downscale des font-size inline (chiffres stats Cormorant) ---- */
@media (max-width: 600px) {
  .calp [style*="font-size: 84px"],
  .calp [style*="font-size: 68px"],
  .calp [style*="font-size: 64px"],
  .calp [style*="font-size: 56px"] { font-size: 34px !important; }
  .calp [style*="font-size: 48px"],
  .calp [style*="font-size: 44px"] { font-size: 30px !important; }
  .calp [style*="font-size: 40px"],
  .calp [style*="font-size: 36px"] { font-size: 26px !important; }
  .calp [style*="font-size: 32px"] { font-size: 23px !important; }
  .calp [style*="font-size: 28px"] { font-size: 21px !important; }
  .calp [style*="font-size: 24px"] { font-size: 19px !important; }
  .calp [style*="font-size: 22px"] { font-size: 17px !important; }
}

/* ---- Flex rows à grand gap : wrap + gap réduit en mobile ---- */
@media (max-width: 768px) {
  .calp [style*="display: flex"][style*="gap: 64px"],
  .calp [style*="display: flex"][style*="gap: 48px"],
  .calp [style*="display: flex"][style*="gap: 32px"],
  .calp [style*="display: flex"][style*="gap: 28px"] {
    flex-wrap: wrap !important;
    gap: 16px 20px !important;
  }
  /* Séparateurs verticaux 1px dans les rangées de stats : masqués une fois wrappé */
  .calp [style*="width: 1px"][style*="background: var(--line)"] { display: none !important; }
}

/* ---- Grilles inline 2-col → 1-col en mobile ---- */
@media (max-width: 768px) {
  .calp [style*="grid-template-columns: 1fr 1fr"],
  .calp [style*="grid-template-columns:1fr 1fr"],
  .calp [style*="grid-template-columns: repeat(2"],
  .calp [style*="grid-template-columns: repeat(3"],
  .calp [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
    gap: var(--s-5) !important;
  }
}

/* ---- Hero fiches crédit : rangée de stats (TAEG / frais / délai) ---- */
@media (max-width: 768px) {
  .pl-hero__inner > div > div[style*="display: flex"] {
    flex-wrap: wrap !important;
    gap: 14px 24px !important;
    margin-top: 24px !important;
  }
  .pl-hero h1 { font-size: var(--fs-h1); }
}

/* ---- Conditions détaillées / éligibilité ---- */
@media (max-width: 900px) {
  .pl-conditions__inner {
    grid-template-columns: 1fr !important;
    gap: var(--s-6) !important;
  }
}
@media (max-width: 560px) {
  .pl-conditions { padding: var(--s-7) 0; }
  .pl-conditions__list li {
    grid-template-columns: 1fr !important;
    gap: 2px;
    padding: var(--s-3) 0;
  }
  .pl-conditions__list li span:first-child {
    font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em;
  }
}

/* ---- Tableau comparatif des cartes : scroll horizontal ---- */
@media (max-width: 860px) {
  .acc-compare__inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .acc-compare__table { min-width: 640px; }
}

/* ---- Tables génériques (barème taux, amortissement) : scroll ---- */
@media (max-width: 600px) {
  .pl-rates-table table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .cs-amort__table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cs-amort__table { min-width: 520px; }
}

/* ---- "Le parcours de demande" / process steps ---- */
@media (max-width: 768px) {
  .cr-process__list,
  .acc-process__steps,
  .insurance-process__steps {
    grid-template-columns: 1fr !important;
    gap: var(--s-5) !important;
  }
  /* la ligne de connexion horizontale n'a plus de sens en colonne */
  .acc-process__steps::before,
  .cr-process__list::before { display: none !important; }
}

/* ---- "Quel crédit pour quel projet" / catégories crédit ---- */
@media (max-width: 760px) {
  .cr-category__grid { grid-template-columns: 1fr !important; }
  .cr-category { padding: var(--s-7) 0; }
  .cr-category__head { text-align: left; }
}

/* ---- Bullets / listes flex larges ---- */
@media (max-width: 560px) {
  .calp section { padding-left: 0; padding-right: 0; }
  .calp h1, .calp h2 { word-break: normal; overflow-wrap: break-word; }
}
