/* Styles partagés des pages /simulateurs — s'appuie sur les tokens de marque Fint
   (texte #171717, secondaire #686868, vert #72E3AD, bordures rgba(22,22,22,.15),
   bg #FAFAFA, radius 1rem, police Ppmori héritée). */

/* ── Hero + widget ── */
.sim-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.sim-hero-left .h1-heading-2-copy { margin-bottom: 1.25rem; }
.sim-hero-left .paragraph-90 { color: #686868; max-width: 32rem; }

.sim-card { background: #fff; border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 1rem; padding: 1.75rem; box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04); }
.sim-field { margin-bottom: 1.25rem; }
.sim-label { display: block; font-size: 14px; font-weight: 500; color: #171717; margin-bottom: 0.5rem; }
.sim-input-row { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.sim-money { display: flex; align-items: center; border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 0.5rem; padding: 0 0.875rem; flex: 1; min-width: 130px; transition: border-color .15s; }
.sim-money:focus-within { border-color: #72E3AD; }
.sim-money input { border: 0; outline: 0; font-size: 22px; font-weight: 500; width: 100%; padding: 0.625rem 0; font-family: inherit; background: transparent; color: #171717; }
.sim-money span { font-size: 18px; color: #686868; }
.sim-seg-group { display: flex; background: #FAFAFA; border: 1px solid rgba(22, 22, 22, 0.1); border-radius: 0.5rem; padding: 3px; }
.sim-seg { border: 0; background: transparent; padding: 0.5rem 0.875rem; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; color: #686868; font-family: inherit; transition: .15s; }
.sim-seg.active { background: #171717; color: #fff; }
.sim-radios { display: flex; flex-direction: column; gap: 0.5rem; }
.sim-radio { cursor: pointer; }
.sim-radio input { position: absolute; opacity: 0; }
.sim-radio-box { display: flex; flex-direction: column; border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 0.5rem; padding: 0.75rem 0.875rem; transition: .15s; }
.sim-radio input:checked + .sim-radio-box { border-color: #72E3AD; background: #f2fcf7; box-shadow: 0 0 0 1px #72E3AD; }
.sim-radio-box strong { font-size: 14px; font-weight: 500; color: #171717; }
.sim-radio-box small { color: #686868; font-size: 12.5px; margin-top: 2px; }
.sim-toggle-field { display: flex; align-items: center; gap: 0.875rem; }
.sim-toggle-field > div { display: flex; flex-direction: column; }
.sim-toggle-field strong { font-size: 14px; font-weight: 500; color: #171717; }
.sim-toggle-field small { color: #686868; font-size: 12.5px; margin-top: 2px; }
.sim-switch { position: relative; display: inline-block; width: 44px; height: 25px; flex-shrink: 0; }
.sim-switch input { opacity: 0; width: 0; height: 0; }
.sim-slider { position: absolute; inset: 0; background: #d9d9d9; border-radius: 25px; transition: .2s; cursor: pointer; }
.sim-slider:before { content: ""; position: absolute; height: 19px; width: 19px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.sim-switch input:checked + .sim-slider { background: #171717; }
.sim-switch input:checked + .sim-slider:before { transform: translateX(19px); }

.sim-result { background: #f2fcf7; border: 1px solid #c9f0dd; border-radius: 0.75rem; text-align: center; padding: 1.25rem; margin: 1.5rem 0 0.25rem; }
.sim-result-label { display: block; font-size: 13px; color: #686868; margin-bottom: 0.25rem; }
.sim-result-value { display: block; font-size: 40px; font-weight: 500; color: #171717; letter-spacing: -1px; line-height: 1.1; }
.sim-result-sub { display: block; font-size: 13px; color: #00a35c; margin-top: 0.25rem; font-weight: 500; }
.sim-lines { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.sim-lines li { display: flex; justify-content: space-between; font-size: 14px; padding: 0.5rem 0; color: #686868; border-bottom: 1px solid #f0f0f0; }
.sim-lines li[hidden] { display: none; }
.sim-lines li span:last-child { font-weight: 500; color: #171717; }
.sim-line-total { border-bottom: 0 !important; padding-top: 0.75rem !important; font-size: 15px !important; }
.sim-line-total span { color: #171717 !important; font-weight: 600 !important; }
.sim-warn { background: #fff7ed; color: #9a4a12; font-size: 12.5px; padding: 0.625rem 0.75rem; border-radius: 0.5rem; margin: 0.75rem 0 0; }
.sim-cta-btn { display: block; text-align: center; margin-top: 1.25rem; }
.sim-disclaimer { font-size: 11.5px; color: #9a9a9a; margin: 0.75rem 0 0; line-height: 1.4; text-align: center; }

/* ── Bandeau CTA ── */
.padding-vertical-xlarge-19 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.sim-banner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sim-banner-title { font-size: 28px; font-weight: 500; color: #171717; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 0.5rem; }
.sim-banner-text { font-size: 16px; color: #686868; margin: 0; max-width: 34rem; }

/* ── Prose + tables ── */
.sim-prose { max-width: 52rem; margin: 0 auto; }
.sim-prose .h2-heading-10 { margin: 2.75rem 0 1rem; }
.sim-prose .h2-heading-10:first-child { margin-top: 0; }
.sim-prose .paragraph-90 { color: #444; margin-bottom: 1rem; }
.sim-prose a { color: #00a35c; font-weight: 500; text-decoration: none; }
.sim-prose a:hover { text-decoration: underline; }
.sim-h3 { font-size: 20px; font-weight: 500; color: #171717; margin: 1.75rem 0 0.75rem; }
.sim-table-wrap { overflow-x: auto; margin: 0 0 1.25rem; }
.sim-table { width: 100%; border-collapse: collapse; font-size: 15px; border: 1px solid rgba(22, 22, 22, 0.12); border-radius: 0.5rem; overflow: hidden; }
.sim-table th { background: #FAFAFA; text-align: left; padding: 0.75rem 1rem; font-weight: 500; color: #171717; border-bottom: 1px solid rgba(22, 22, 22, 0.12); }
.sim-table td { padding: 0.75rem 1rem; color: #444; border-bottom: 1px solid rgba(22, 22, 22, 0.08); }
.sim-table tr:last-child td { border-bottom: 0; }
.sim-table td:last-child, .sim-table th:last-child { text-align: right; white-space: nowrap; }
.sim-table-total td { background: #f2fcf7; font-weight: 600; color: #171717; }

.sim-related { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.5rem; }
.sim-related-card { display: flex; flex-direction: column; gap: 0.25rem; border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 0.75rem; padding: 1rem 1.25rem; text-decoration: none !important; transition: .15s; }
.sim-related-card:hover { border-color: #72E3AD; background: #FAFAFA; }
.sim-related-card strong { color: #171717; font-weight: 500; font-size: 15px; }
.sim-related-card span { color: #686868; font-size: 13px; }

/* ── Preuve sociale ── */
.sim-trust-section { border-bottom: 1px solid rgba(22, 22, 22, 0.08); }
.sim-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem 2rem; padding: 1.75rem 0; }
.sim-trust-item { display: flex; align-items: center; gap: 0.625rem; }
.sim-trust-stars { color: #f5b400; font-size: 15px; letter-spacing: 1px; }
.sim-trust-txt { display: flex; flex-direction: column; line-height: 1.2; }
.sim-trust-txt strong { font-size: 16px; font-weight: 600; color: #171717; }
.sim-trust-txt span { font-size: 12.5px; color: #686868; }
.sim-trust-sep { width: 1px; height: 28px; background: rgba(22, 22, 22, 0.12); }
.sim-trust-ordre { height: 44px; width: auto; }

/* ── Étapes ── */
.sim-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sim-step { background: #fff; border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 1rem; padding: 1.75rem; }
.sim-step-num { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #72E3AD; color: #171717; font-weight: 600; font-size: 16px; margin-bottom: 1rem; }
.sim-step-title { font-size: 19px; font-weight: 500; color: #171717; margin: 0 0 0.5rem; }
.sim-step-text { font-size: 15px; color: #686868; line-height: 1.55; margin: 0; }
.sim-steps-cta { margin-top: 2.5rem; }

/* ── Témoignages ── */
.sim-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.sim-testi-card { background: #fff; border: 1px solid rgba(22, 22, 22, 0.15); border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; }
.sim-testi-stars { color: #f5b400; font-size: 15px; letter-spacing: 1px; margin-bottom: 0.875rem; }
.sim-testi-quote { font-size: 15px; line-height: 1.6; color: #333; margin: 0 0 1.25rem; flex: 1; }
.sim-testi-author { display: flex; flex-direction: column; line-height: 1.3; }
.sim-testi-author strong { font-size: 15px; font-weight: 500; color: #171717; }
.sim-testi-author span { font-size: 13px; color: #686868; }

/* ── Vérificateur d'éligibilité (facturation électronique) ── */
.sim-elig-result { border-radius: 0.75rem; padding: 1.25rem 1.5rem; margin-top: 1.5rem; border: 1px solid #c9f0dd; background: #f2fcf7; }
.sim-elig-result h3 { font-size: 16px; font-weight: 600; color: #171717; margin: 0 0 0.75rem; }
.sim-elig-dates { list-style: none; padding: 0; margin: 0; }
.sim-elig-dates li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 14px; padding: 0.5rem 0; border-bottom: 1px dashed rgba(22, 22, 22, 0.12); color: #444; }
.sim-elig-dates li:last-child { border-bottom: 0; }
.sim-elig-dates li strong { color: #171717; font-weight: 600; white-space: nowrap; }
.sim-elig-note { font-size: 12.5px; color: #686868; margin: 0.875rem 0 0; line-height: 1.45; }

@media screen and (max-width: 991px) {
  .sim-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .sim-related { grid-template-columns: 1fr; }
  .sim-steps, .sim-testi-grid { grid-template-columns: 1fr; }
  .sim-trust-sep { display: none; }
}
@media screen and (max-width: 767px) {
  .sim-banner-title { font-size: 22px; }
  .sim-result-value { font-size: 34px; }
}
