/* ==========================================================================
   jakepellerin.fr — compléments de la page d'accueil (V2, octobre 2026)
   Chargé uniquement par index.html, après style.css.
   ========================================================================== */

/* ---------- Héros compact : texte, 2 boutons et chiffres visibles d'emblée ---------- */
.hero--home { grid-template-columns: minmax(0, 1fr) 440px; gap: 72px; padding: 72px var(--gutter) 72px; }
.hero--home .hero__text { gap: 22px; }
.hero--home .lead { max-width: 620px; }
.hero--home .hero__actions { gap: 14px; }
.hero--home .hero__media img { width: 440px; height: 520px; object-position: center 22%; }
.hero__figs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 6px; }
.hero__figs > div { padding: 2px 28px; border-left: 1px solid var(--line); }
.hero__figs > div:first-child { padding-left: 0; border-left: 0; }
.hero__fig { font-family: var(--serif); font-size: clamp(22px, 0.5vw + 19px, 28px); line-height: 1.2; color: var(--navy); white-space: nowrap; }
.hero__figl { font-size: 15px; color: var(--muted); line-height: 1.4; }

/* Bandeau des autres chiffres */
.home-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 34px var(--gutter) 30px; }
.home-strip__big { font-family: var(--serif); font-size: clamp(21px, 0.4vw + 18px, 25px); line-height: 1.2; color: var(--navy); }
.home-strip__label { font-size: 15.5px; color: var(--muted); line-height: 1.45; }
.home-strip__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-2); }

/* ---------- « Par où commencer ? » ---------- */
.profils { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.profil {
  display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 26px 26px; border-top: 3px solid var(--teal);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.profil:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(30,39,97,.10); border-color: var(--line-3); border-top-color: var(--navy); }
.profil__k { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.profil__t { font-family: var(--serif); font-size: clamp(20px, 0.3vw + 18px, 23px); line-height: 1.3; color: var(--navy); }
.profil__d { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.profil__go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--navy); font-size: 15.5px; }
.profil:hover .profil__go { color: var(--teal); }

/* ---------- Avant / Avec moi ---------- */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.ba__col { border-radius: 10px; padding: 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.ba__col--avant { background: var(--bg); border: 1px solid var(--line); }
.ba__col--apres { background: var(--navy); color: #fff; }
.ba__head { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--muted); }
.ba__col--apres .ba__head { color: #fff; }
.ba__list { display: flex; flex-direction: column; gap: 12px; }
.ba__list li { position: relative; padding-left: 28px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.ba__col--apres .ba__list li { color: var(--on-navy); }
.ba__list li::before { content: "–"; position: absolute; left: 4px; top: 0; color: var(--muted-2); font-weight: 600; }
.ba__col--apres .ba__list li::before { content: "✓"; left: 2px; color: var(--teal); }
.ba__arrow { display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--teal); }

/* ---------- Simulateur d'épargne ---------- */
.home-sim { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.home-sim__intro { display: flex; flex-direction: column; gap: 20px; }
.home-sim__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.home-sim__card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px;
  box-shadow: 0 14px 40px rgba(30,39,97,.07);
}
.home-sim__fields { display: flex; flex-direction: column; gap: 14px; }
.home-sim__fields label { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.sim-input { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #F7F8FA; }
.sim-input:focus-within { outline: 2px solid var(--teal); outline-offset: 1px; background: #fff; }
.sim-input input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--navy); padding: 10px 12px; border: 0; background: transparent; outline: 0; }
.sim-suffix { padding: 0 12px; color: var(--muted-2); font-weight: 400; white-space: nowrap; }
.home-sim__res { display: flex; flex-direction: column; gap: 10px; background: var(--bg); border-radius: 10px; padding: 22px 22px 18px; }
.home-sim__lab { font-size: 14px; color: var(--muted); }
.home-sim__big { font-family: var(--serif); font-size: clamp(32px, 1vw + 26px, 42px); line-height: 1.1; color: var(--navy); }
.home-sim__split { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--ink-2); }
.home-sim__split strong { color: var(--navy); white-space: nowrap; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.dot--v { background: #C9CDD8; }
.dot--g { background: var(--teal); }
.home-sim__bars { display: flex; align-items: flex-end; gap: 6px; height: 130px; margin-top: 8px; }
.home-sim__bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.home-sim__bar span { display: block; width: 100%; }
.home-sim__bar .g { background: var(--teal); border-radius: 3px 3px 0 0; }
.home-sim__bar .v { background: #C9CDD8; }
.home-sim__bar em { font-style: normal; font-size: 11.5px; color: var(--muted-2); text-align: center; margin-top: 4px; }
.home-sim__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Alternance des fonds sur l'accueil */
.reco { background: #fff; }

/* ---------- Rémunération ---------- */
.remu { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.remu__head { display: flex; flex-direction: column; gap: 16px; }
.remu__body { display: flex; flex-direction: column; gap: 20px; }
.remu__item { display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid var(--teal); }
.remu__k { font-weight: 600; color: var(--navy); font-size: 17px; }
.remu__item .j { font-size: 17px; color: var(--ink-2); }

/* ---------- Écrans intermédiaires (tablette, petit portable) ---------- */
@media (max-width: 1180px) {
  .profils { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-sim { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 1080px) {
  .hero.hero--home { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 48px var(--gutter) 52px; }
  .hero--home .hero__text { display: flex; }
  .hero--home .hero__text > * { order: 0 !important; }
  .hero--home .hero__media img { width: 300px; height: 380px; }
  .home-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .remu { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Mobile : le bouton avant la photo ---------- */
@media (max-width: 720px) {
  .hero.hero--home { grid-template-columns: 1fr; gap: 24px; padding: 36px 24px 44px; }
  .hero--home .hero__media { order: 2; }
  .hero--home .hero__media img { width: 100%; height: 340px; }
  .hero--home .hero__actions .btn { flex: 1 1 100%; }
  .hero__figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__figs > div { padding: 0 10px; }
  .hero__fig { font-size: 17.5px; white-space: normal; }
  .hero__figl { font-size: 13.5px; }
  .home-strip { padding: 28px 24px 24px; }
  .profils { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; gap: 0; }
  .ba__arrow { transform: rotate(90deg); height: 48px; }
  .ba__col { padding: 24px 22px; }
  .home-sim__card { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
}
