/* Focus Ventures – outils (test d'éligibilité, coût d'un salarié). Tout est limité au bloc .fvt. */
.fvt {
  --t-bg: #ffffff; --t-panel: #f7f5f1; --t-ink: #1a1a1a; --t-muted: #6a645c; --t-line: #ddd8cf;
  --t-accent: #fb4c17; --t-accent-ink: #c93a0c; --t-dark: #121212; --t-on-dark: #f4f2ee; --t-on-dark-muted: #a8a29a;
  --t-ok: #2e7d32; --t-warn: #8a5300; --t-warn-bg: #fff4e5; --t-ok-bg: #edf7ee;
  --t-sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  color: var(--t-ink); font-family: var(--t-sans) !important; font-size: 15px; line-height: 1.5; width: 100%;
  display: flex; flex-direction: column; gap: 28px; text-align: left;
}
.fvt *, .fvt *::before, .fvt *::after { box-sizing: border-box; }
.fvt [hidden] { display: none !important; }
.fvt :where(p, ul, ol) { margin: 0; }
.fvt .fvt-loading { color: var(--t-muted); font-size: 14px; }
.fvt-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .fvt-grid { grid-template-columns: minmax(0, 1fr); } }
.fvt-form { display: flex; flex-direction: column; gap: 22px; margin: 0 !important; }
.fvt-ci { display: flex; flex-direction: column; gap: 22px; }
.fvt fieldset { border: 0 !important; margin: 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fvt legend { padding: 0 0 6px !important; font-size: 12px !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 600 !important; color: var(--t-muted) !important; border-bottom: 1px solid var(--t-line); width: 100%; margin: 0 0 4px !important; float: none; }
.fvt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.fvt label { display: flex !important; flex-direction: column; gap: 6px; font-size: 14px !important; font-weight: 500 !important; color: var(--t-ink) !important; margin: 0 !important; line-height: 1.4 !important; text-transform: none !important; letter-spacing: normal !important; }
.fvt .fvt-hint { font-weight: 400; font-size: 12.5px; color: var(--t-muted); }
.fvt input:not([type=radio]):not([type=checkbox]), .fvt select {
  font-family: var(--t-sans) !important; font-weight: 400 !important; font-size: 15px !important; line-height: 1.3 !important; color: var(--t-ink) !important;
  background: var(--t-bg) !important; border: 1px solid var(--t-line) !important; border-radius: 2px !important; box-shadow: none !important;
  padding: 11px 12px !important; min-height: 46px !important; height: auto !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; font-variant-numeric: tabular-nums;
}
.fvt select { appearance: auto; -webkit-appearance: menulist; background-image: none !important; }
.fvt input:focus-visible, .fvt select:focus-visible, .fvt button:focus-visible, .fvt a:focus-visible { outline: 2px solid var(--t-accent) !important; outline-offset: 2px; }
/* Questions numérotées */
.fvt-q { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--t-line); background: var(--t-bg); }
.fvt-q-head { display: flex; gap: 12px; align-items: baseline; }
.fvt-q-num { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--t-accent-ink); min-width: 22px; }
.fvt-q-title { font-size: 17px; font-weight: 500; line-height: 1.35; }
.fvt-sub { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--t-panel); }
.fvt-sub-t { font-size: 14px; font-weight: 500; }
.fvt-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px; }
.fvt label.fvt-opt { position: relative; flex-direction: row; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--t-line); cursor: pointer; font-weight: 400 !important; font-size: 14.5px !important; line-height: 1.35 !important; min-height: 46px; background: var(--t-bg); }
.fvt .fvt-opt input { width: 18px !important; height: 18px !important; min-height: 0 !important; margin: 1px 0 0 !important; padding: 0 !important; flex: none; accent-color: var(--t-accent-ink); }
.fvt .fvt-opt small { display: block; color: var(--t-muted); font-size: 12.5px; margin-top: 2px; }
.fvt .fvt-opt:has(input:checked) { border-color: var(--t-ink); background: var(--t-panel); }
/* Segments (brut / net) */
.fvt-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--t-ink); }
.fvt .fvt-seg button { font-family: var(--t-sans) !important; font-size: 14px !important; font-weight: 400 !important; padding: 12px 10px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--t-ink) !important; cursor: pointer; min-height: 46px; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important; margin: 0 !important; }
.fvt .fvt-seg button[aria-pressed="true"] { background: var(--t-ink) !important; color: var(--t-bg) !important; }
.fvt-money { position: relative; display: block; }
.fvt .fvt-money input { padding-right: 58px !important; font-size: 20px !important; font-weight: 300 !important; }
.fvt-money span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--t-muted); pointer-events: none; font-weight: 400; }
/* Résultat */
.fvt-result { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .fvt-result { position: static; } }
.fvt-card { background: var(--t-dark); color: var(--t-on-dark); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.fvt-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--t-on-dark-muted); }
.fvt-placeholder { color: var(--t-on-dark-muted); font-size: 15px; }
.fvt-verdict { font-size: 21px; font-weight: 300; line-height: 1.3; color: var(--t-on-dark); }
.fvt-badge { align-self: flex-start; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; }
.fvt-badge.ok { background: #1f3b23; color: #9fdca4; }
.fvt-badge.cond { background: #3b2e14; color: #f3c46d; }
.fvt-badge.no { background: #3d1d16; color: #ffa58a; }
.fvt-badge.verif { background: #2b2b2b; color: #e6e1d8; }
.fvt-facts { display: flex; flex-direction: column; border-top: 1px solid #3a3733; }
.fvt-fact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid #2c2a27; font-size: 14px; }
.fvt-fact span:first-child { color: var(--t-on-dark-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.fvt-why { margin: 0 !important; padding-left: 18px !important; font-size: 13px; color: var(--t-on-dark-muted); display: flex; flex-direction: column; gap: 4px; }
.fvt-why li { margin: 0 !important; color: var(--t-on-dark-muted); }
.fvt-note { font-size: 13px; color: var(--t-on-dark-muted); line-height: 1.45; }
.fvt-card .fvt-alert { background: #2a2414; color: #f3c46d; border-left-color: #f3c46d; }
.fvt-alert { font-size: 13.5px; padding: 10px 12px; background: var(--t-warn-bg); color: var(--t-warn); border-left: 3px solid var(--t-warn); }
.fvt-alerts { display: flex; flex-direction: column; gap: 8px; }
.fvt-big { font-size: clamp(36px, 6vw, 54px); font-weight: 300; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--t-on-dark); }
.fvt-big small { font-size: 16px; color: var(--t-on-dark-muted); margin-left: 6px; }
.fvt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); border-top: 1px solid #3a3733; }
.fvt-kpi { padding: 14px 14px 0 0; display: flex; flex-direction: column; gap: 4px; }
.fvt-kpi span:first-child { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t-on-dark-muted); }
.fvt-kpi span:last-child { font-size: 21px; font-weight: 300; font-variant-numeric: tabular-nums; color: var(--t-on-dark); }
.fvt-kpi.hl span:last-child { color: var(--t-accent); }
/* Demande de note */
.fvt-cta { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: var(--t-panel); }
.fvt-lform, .fvt-lsent { display: flex; flex-direction: column; gap: 12px; }
.fvt-lt { font-size: 18px; font-weight: 400; color: var(--t-ink); }
.fvt-ltext { font-size: 14px; color: var(--t-ink); }
.fvt-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 10px; }
.fvt .fvt-lead label { font-size: 13px !important; }
.fvt .fvt-opt-l { font-weight: 400; color: var(--t-muted); }
.fvt label.fvt-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400 !important; font-size: 13px !important; color: var(--t-ink) !important; cursor: pointer; }
.fvt .fvt-consent input { width: 18px !important; height: 18px !important; margin: 1px 0 0 !important; flex: none; accent-color: var(--t-accent-ink); }
.fvt .fvt-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fvt-err { font-size: 13px; color: #b3261e; }
.fvt-small { font-size: 12.5px; color: var(--t-muted); }
.fvt-small a { color: var(--t-muted) !important; text-decoration: underline; }
.fvt .fvt-btn { display: inline-block; font-family: var(--t-sans) !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.2 !important; background: var(--t-accent-ink) !important; color: #ffffff !important; border: 1px solid var(--t-accent-ink) !important; border-radius: 2px !important; padding: 13px 18px !important; min-height: 46px; cursor: pointer; align-self: flex-start; text-decoration: none !important; text-align: center; text-transform: none !important; letter-spacing: normal !important; box-shadow: none !important; }
.fvt .fvt-btn:hover { background: #a92f08 !important; border-color: #a92f08 !important; }
.fvt .fvt-btn:disabled { opacity: .6; cursor: wait; }
.fvt .fvt-btn-line { background: transparent !important; color: var(--t-ink) !important; border-color: var(--t-ink) !important; }
.fvt .fvt-btn-line:hover { background: var(--t-ink) !important; color: #ffffff !important; border-color: var(--t-ink) !important; }
.fvt-expert { border-top: 1px solid var(--t-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.fvt-foot { font-size: 12.5px; color: var(--t-muted); border-top: 1px solid var(--t-line); padding-top: 14px; max-width: 900px; }
/* Vue de contrôle (administrateurs) */
.fvt-ctrl { border: 1px dashed var(--t-muted); background: var(--t-bg); }
.fvt-ctrl > summary { cursor: pointer; padding: 12px 14px; font-size: 13px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.fvt-ctrl > summary span:last-child { font-weight: 400; color: var(--t-muted); }
.fvt-ctrl-body { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.fvt-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; }
.fvt-kv span:nth-child(odd) { color: var(--t-muted); }
.fvt-tests { display: flex; flex-direction: column; gap: 6px; }
.fvt-test { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; background: var(--t-ok-bg); color: var(--t-ok); }
.fvt-test.ko { background: var(--t-warn-bg); color: var(--t-warn); }
.fvt-tbl { overflow-x: auto; }
.fvt-tbl table { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; margin: 0; }
.fvt-tbl :is(th, td) { text-align: left; padding: 6px 6px; border: 0; border-bottom: 1px solid var(--t-line); background: none; }
.fvt-tbl .n { text-align: right; white-space: nowrap; }
.fvt-tbl tr.tot td { font-weight: 600; border-bottom: 2px solid var(--t-ink); }
/* Bandeau et cartes « Outils » */
.fvt-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: #d9d6d0; border: 1px solid #d9d6d0; font-family: var(--t-sans) !important; }
.fvt-band a.fvt-tool { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: #ffffff; color: #1a1a1a !important; text-decoration: none !important; transition: background .15s; }
.fvt-band a.fvt-tool:hover { background: #f7f5f1; }
.fvt-tool-k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: #6f6f6f; }
.fvt-tool-t { font-size: 24px; line-height: 1.25; font-weight: 300; letter-spacing: -.01em; }
.fvt-tool-p { font-size: 15px; line-height: 1.55; color: #4a4a4a; }
.fvt-tool-l { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 500; color: #c93a0c; }
/* Certains thèmes remplacent toutes les listes déroulantes par les leurs (nice-select, select2, chosen, selectric) :
   dans les outils, on garde la liste native du navigateur, plus fiable (et accessible). */
.fvt .nice-select, .fvt .select2-container, .fvt .chosen-container, .fvt .selectric, .fvt .selectric-items { display: none !important; }
.fvt select { display: block !important; visibility: visible !important; opacity: 1 !important; position: static !important; clip: auto !important; clip-path: none !important; pointer-events: auto !important; }
.fvt select.select2-hidden-accessible { width: 100% !important; height: auto !important; overflow: visible !important; margin: 0 !important; }
.fvt .selectric-wrapper, .fvt .selectric-hide-select { position: static !important; width: 100% !important; height: auto !important; overflow: visible !important; }
