/* ============================================================
   SARGAWATT – Page /sargajet/calculateur
   Extends styles.css + sargasses.css + demande.css
   Lead-capture "calculator" for personalised savings estimate
   ============================================================ */

/* ---------- Hero reassurance line (reuse demande tone) ---------- */
.hero-reassure {
  margin-top: 18px;
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
  max-width: 560px;
}
.calc-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-tint); color: var(--teal-700);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em;
  padding: 7px 13px 7px 11px; border-radius: 999px;
  margin-bottom: 18px;
}
.calc-chip svg { width: 15px; height: 15px; }

/* ============================================================
   MODE D'EMPLOI – 3 steps
   ============================================================ */
.howto { background: var(--surface); border-block: 1px solid var(--line); }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps.steps-3::before { left: 16%; right: 16%; }

/* ============================================================
   FORM – grouped blocs inside the form card
   ============================================================ */
.form-bloc { margin-top: 30px; }
.form-bloc:first-of-type { margin-top: 26px; }
.form-bloc-head {
  display: flex; align-items: center; gap: 13px;
  padding-bottom: 14px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.form-bloc-num {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  background: var(--teal-tint); color: var(--teal-700);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  display: grid; place-items: center;
}
.form-bloc-head h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  line-height: 1.2;
}
.form-bloc-head .fb-sub {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--gray);
  white-space: nowrap;
}
.form-bloc .form-grid { margin-top: 18px; }

/* field hint under inputs */
.form-field .hint { font-size: 12px; color: var(--gray); font-weight: 600; }

/* ============================================================
   ASIDE – "ce que vous recevrez" + caution
   ============================================================ */
.calc-caution {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
}
.calc-caution svg { flex: none; width: 18px; height: 18px; color: var(--teal-700); margin-top: 1px; }

/* ============================================================
   POURQUOI – intro + 4 cards
   ============================================================ */
.why { background: var(--bg); }
.why-lead { max-width: 720px; }
.why-lead h2 { font-size: clamp(28px, 3.6vw, 44px); margin-top: 18px; }
.why-lead p { margin-top: 18px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--ink-soft); line-height: 1.6; }
.why-cards { margin-top: clamp(34px, 4vw, 50px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .steps.steps-3 { grid-template-columns: 1fr; row-gap: 30px; }
  .steps.steps-3::before { display: none; }
}
@media (max-width: 980px) {
  .demande-layout { grid-template-columns: 1fr; }
  .demande-aside { position: static; }
}
@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .why-cards.card-grid-4 { grid-template-columns: 1fr; }
  .form-bloc-head .fb-sub { display: none; }
}
