/* ==========================================================================
   Fundscreener v2 — couche fusion (accent violet marque + composants Épure)
   Chargée après main.css ; ne modifie main.css que par surcharge de tokens.
   ========================================================================== */

:root {
  /* Le violet Fundscreener devient l'accent principal (cohérence avec l'app) */
  --color-accent: #6c3ce0;
  --color-accent-hover: #7c4ce8;
  --color-accent-dark: #8b5cf6;
}

.fs2-chev { color: var(--color-accent); text-decoration: none; font-weight: 600; }
.fs2-chev::after { content: " ›"; }
.fs2-chev:hover { text-decoration: underline; }
.fs2-note { font-size: var(--font-size-caption); color: var(--color-text-secondary); max-width: 70ch; margin: var(--space-md) auto 0; }
.fs2-cap { font-size: var(--font-size-small); color: var(--color-text-secondary); margin-top: var(--space-sm); }
.hero h1 .em { color: var(--color-accent); }

/* ---------- Cockpit (aperçu produit) ---------- */
.fs2-cockpit-wrap { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 var(--space-md); }
.fs2-cockpit { background: #0b0b0d; border-radius: 24px 24px 0 0; padding: 18px 18px 0; box-shadow: 0 40px 100px -40px rgba(0,0,0,.5); }
.fs2-ck-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 2px 14px; }
.fs2-chip { font-family: monospace; font-size: 10.5px; padding: 4px 11px; border-radius: 99px; border: 1px solid #2c2c2e; color: #86868b; }
.fs2-chip.on { border-color: var(--color-accent-dark); color: var(--color-accent-dark); background: rgba(139,92,246,.1); }
.fs2-ck { width: 100%; border-collapse: collapse; font-size: 12.5px; color: #d5d5da; background: #161618; border-radius: 14px 14px 0 0; overflow: hidden; }
.fs2-ck th { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #86868b; text-align: left; padding: 11px 14px; border-bottom: 1px solid #2c2c2e; }
.fs2-ck td { padding: 12px 14px; border-bottom: 1px solid #2c2c2e; font-variant-numeric: tabular-nums; vertical-align: middle; }
.fs2-ck tr:last-child td { border-bottom: 0; }
.fs2-isin { font-family: monospace; font-size: 10px; color: #86868b; }
.fs2-ck .up { color: #30d158; } .fs2-ck .dn { color: #ff6961; }
.fs2-score { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: monospace; font-size: 11.5px; font-weight: 600; color: #fff; position: relative; }
.fs2-score svg { position: absolute; inset: 0; }
.fs2-badge { font-family: monospace; font-size: 9.5px; padding: 2px 7px; border-radius: 5px; background: #26262a; color: #86868b; white-space: nowrap; }

/* ---------- Teaser Copilot ---------- */
.fs2-teaser { border: 2px solid var(--color-accent); border-radius: 26px; padding: var(--space-lg); background: var(--color-bg); box-shadow: 0 20px 60px -30px rgba(108,60,224,.35); text-align: center; }
.fs2-teaser h2 { margin: .4rem 0 .6rem; }
.fs2-teaser p { color: var(--color-text-secondary); max-width: 44ch; margin: 0 auto var(--space-sm); }

/* ---------- Thématiques ---------- */
.fs2-themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: var(--space-md); }
.fs2-theme { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 18px; padding: 22px 14px; text-decoration: none; color: var(--color-text); transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast); }
.fs2-theme:hover { transform: translateY(-3px); border-color: var(--color-accent); box-shadow: 0 12px 30px -18px rgba(108,60,224,.4); }
.fs2-theme-emoji { font-size: 26px; }
.fs2-theme-name { font-weight: 600; font-size: .95rem; }
.fs2-theme-n { font-size: .78rem; color: var(--color-text-secondary); }
.fs2-theme-perf { font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.fs2-theme-perf.up { color: #248a3d; } .fs2-theme-perf.dn { color: #d70015; }
.fs2-theme-perf small { display: block; font-size: .62rem; font-weight: 400; color: var(--color-text-secondary); }

/* ---------- Confiance ---------- */
.fs2-agefi { display: inline-flex; align-items: center; gap: 14px; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 18px; padding: 14px 24px; margin: var(--space-sm) 0 var(--space-md); box-shadow: 0 8px 30px -18px rgba(0,0,0,.15); }
.fs2-agefi-mark { font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.fs2-agefi-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .08em; background: var(--color-accent); color: #fff; border-radius: 6px; padding: 3px 8px; }
.fs2-agefi-d { font-size: .8rem; color: var(--color-text-secondary); max-width: 34ch; text-align: left; }
.fs2-trust-h { font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-secondary); margin: var(--space-md) 0 var(--space-sm); }
.fs2-marks { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: center; }
.fs2-marks img { height: 22px; width: auto; filter: invert(1); opacity: .42; transition: opacity var(--transition-fast); }
.fs2-marks img:hover { opacity: .8; }
.fs2-marks-txt span { font-weight: 600; font-size: .92rem; color: var(--color-text-secondary); opacity: .8; }

/* ---------- Scènes 3D ---------- */
.fs2-canvas-frame { position: relative; max-width: 980px; margin: var(--space-md) auto 0; height: 480px; border-radius: 28px; overflow: hidden; background: radial-gradient(80% 90% at 50% 30%, #101015 0%, #000 100%); }
.fs2-canvas-frame canvas { width: 100%; height: 100%; display: block; }
.fs2-track { position: absolute; right: 20px; top: 18px; font-family: monospace; font-size: 10px; color: #30d158; }
.fs2-ax { position: absolute; font-family: monospace; font-size: 10px; letter-spacing: .06em; color: #5c5c66; }
.fs2-ax-x { right: 20px; bottom: 16px; } .fs2-ax-z { left: 20px; bottom: 16px; }
.fs2-ax-y { left: 4px; top: 52%; transform: rotate(-90deg); transform-origin: left center; }
.section-dark .fs2-cap { color: #86868b; }

/* ---------- Tuiles modules (accueil) ---------- */
.fs2-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: var(--space-md); }
.fs2-tile { background: var(--color-bg); border-radius: 24px; padding: var(--space-lg) var(--space-md); text-align: center; box-shadow: 0 8px 30px -18px rgba(0,0,0,.12); }
.fs2-tile-k { font-size: .8rem; font-weight: 600; color: var(--color-accent); }
.fs2-tile h3 { margin: .3rem 0 .6rem; }
.fs2-tile p { font-size: .95rem; color: var(--color-text-secondary); max-width: 44ch; margin: 0 auto; }
.fs2-tile .soon { display: inline-block; margin-left: 8px; font-size: .62rem; font-weight: 600; color: #b25000; background: #ffe8cc; border-radius: 99px; padding: 2px 9px; vertical-align: 2px; }

/* ---------- Modules (page fonctionnalités) ---------- */
.fs2-mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fs2-mod { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 18px; padding: var(--space-md); text-align: left; }
.fs2-mod .top { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.fs2-mod .id { font-family: monospace; font-size: .65rem; letter-spacing: .12em; color: var(--color-accent); }
.fs2-mod .st { font-family: monospace; font-size: .6rem; letter-spacing: .08em; }
.fs2-mod .st.live { color: #30d158; } .fs2-mod .st.new { color: #b25000; } .fs2-mod .st.soon { color: var(--color-text-secondary); }
.fs2-mod h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.fs2-mod p { font-size: .88rem; color: var(--color-text-secondary); }

/* ---------- Score ---------- */
.fs2-ring { width: min(300px, 72vw); margin: var(--space-md) auto 0; position: relative; }
.fs2-ring svg { width: 100%; height: auto; display: block; }
.fs2-ring-v { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.fs2-ring-v .n { font-size: 4.2rem; font-weight: 700; letter-spacing: -.03em; }
.fs2-ring-v .c { font-size: .75rem; color: var(--color-text-secondary); }
.fs2-facts { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-top: var(--space-md); font-size: .85rem; color: var(--color-text-secondary); }
.fs2-facts b { display: block; font-size: 1.05rem; color: var(--color-text); }

/* ---------- Contrats ---------- */
.fs2-contrats { max-width: 560px; margin: var(--space-md) auto 0; background: var(--color-bg); border-radius: 20px; padding: 10px 26px; box-shadow: 0 8px 30px -18px rgba(0,0,0,.12); text-align: left; }
.fs2-contrats .row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--color-bg-alt); font-size: .95rem; }
.fs2-contrats .row:last-child { border-bottom: 0; }
.fs2-contrats .ok { font-size: .72rem; font-weight: 600; color: #248a3d; }
.fs2-contrats .ko { font-size: .72rem; font-weight: 600; color: #d70015; }

/* ---------- App mobile ---------- */
.fs2-stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: var(--space-sm); }
.fs2-store { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--color-border); border-radius: 980px; padding: 9px 18px; font-size: .85rem; background: var(--color-bg); }
.fs2-store small { color: var(--color-text-secondary); font-size: .7rem; }
.fs2-phone { width: 308px; margin: var(--space-lg) auto 0; background: #0a0a0c; border-radius: 54px; padding: 11px; box-shadow: 0 50px 110px -40px rgba(0,0,0,.45), inset 0 0 0 2px #3a3a3e; }
.fs2-phone img { display: block; width: 100%; height: auto; border-radius: 44px; }

/* ---------- Audit / formulaires sombres ---------- */
.fs2-audit { max-width: 440px; margin: var(--space-md) auto 0; text-align: left; }
.fs2-drop { border: 1.5px dashed #3a3a3e; border-radius: 16px; padding: 26px 18px; text-align: center; font-size: .9rem; color: #86868b; cursor: pointer; transition: border-color var(--transition-fast), background var(--transition-fast); }
.fs2-drop:hover, .fs2-drop.on { border-color: var(--color-accent-dark); background: rgba(139,92,246,.08); }
.fs2-drop .f { font-family: monospace; font-size: .75rem; color: var(--color-accent-dark); }
.fs2-audit input[type=email] { width: 100%; margin: 14px 0; padding: 13px 16px; border-radius: 13px; border: 1px solid #2c2c2e; background: #1c1c1e; color: #f5f5f7; font-size: .95rem; }
.fs2-audit input::placeholder { color: #7a7a80; }
.fs2-audit .btn { width: 100%; border: 0; cursor: pointer; }
.fs2-err { display: none; font-size: .78rem; color: #ff6961; margin: -4px 0 10px; }
.fs2-audit-ok { display: none; font-weight: 600; padding: 22px 0; color: #f5f5f7; text-align: center; }
.section-dark .fs2-note { color: #86868b; text-align: center; }
.fs2-mentions { font-size: .72rem; color: #86868b; max-width: 76ch; margin: var(--space-lg) auto 0; line-height: 1.6; }

/* ---------- Positionnement ---------- */
.fs2-quote { max-width: 26ch; margin: 0 auto var(--space-md); }
.fs2-quote .em { color: var(--color-accent); }
.fs2-pos3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.fs2-pcard { background: var(--color-bg); border-radius: 20px; padding: var(--space-md); box-shadow: 0 8px 30px -18px rgba(0,0,0,.1); }
.fs2-pcard.fs { outline: 2px solid var(--color-accent); }
.fs2-pcard h3 { font-size: 1rem; margin-bottom: .5rem; }
.fs2-pcard.fs h3 { color: var(--color-accent); }
.fs2-pcard p { font-size: .9rem; color: var(--color-text-secondary); }

/* ---------- FAQ ---------- */
.fs2-faq { max-width: 720px; margin: var(--space-md) auto 0; text-align: left; }
.fs2-faq details { border-bottom: 1px solid var(--color-border); }
.fs2-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 20px 2px; font-size: 1.02rem; font-weight: 600; }
.fs2-faq summary::-webkit-details-marker { display: none; }
.fs2-faq summary::after { content: "+"; color: var(--color-accent); flex: none; }
.fs2-faq details[open] summary::after { content: "−"; }
.fs2-faq .a { padding: 0 2px 22px; color: var(--color-text-secondary); font-size: .95rem; max-width: 64ch; }

/* ---------- Tarifs ---------- */
.fs2-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.fs2-plan { background: var(--color-bg); border-radius: 20px; padding: var(--space-md); display: flex; flex-direction: column; box-shadow: 0 8px 30px -18px rgba(0,0,0,.1); border: 1px solid var(--color-border); }
.fs2-plan.hot { outline: 2px solid var(--color-accent); }
.fs2-plan .tag { font-size: .66rem; font-weight: 600; color: var(--color-accent); letter-spacing: .02em; margin-bottom: .3rem; }
.fs2-plan h3 { font-size: 1.15rem; }
.fs2-plan .who { font-size: .8rem; color: var(--color-text-secondary); margin: .2rem 0 .8rem; min-height: 38px; }
.fs2-plan .price { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.fs2-plan .price small { font-size: .72rem; font-weight: 400; color: var(--color-text-secondary); display: block; }
.fs2-plan ul { list-style: none; margin: 1rem 0 1.4rem; display: grid; gap: 8px; font-size: .85rem; color: var(--color-text-secondary); padding: 0; }
.fs2-plan li::before { content: "✓  "; color: #248a3d; }
.fs2-plan .btn { margin-top: auto; text-align: center; }
.fs2-fineprint { font-size: .72rem; color: var(--color-text-secondary); margin: var(--space-md) auto; text-align: center; max-width: 82ch; }

/* ---------- Copilot ---------- */
.fs2-promptbox { max-width: 640px; margin: var(--space-lg) auto 0; background: #0b0b0d; border-radius: 20px; padding: 18px; text-align: left; box-shadow: 0 30px 80px -35px rgba(0,0,0,.45); }
.fs2-promptbox .bar { display: flex; align-items: center; gap: 12px; background: #161618; border: 1px solid #2c2c2e; border-radius: 14px; padding: 14px 16px; }
.fs2-promptbox .q { flex: 1; font-size: .88rem; color: #e8e8ed; }
.fs2-promptbox .caret { display: inline-block; width: 2px; height: 18px; background: var(--color-accent-dark); vertical-align: -3px; animation: fs2blink 1.1s steps(1) infinite; margin-left: 2px; }
@keyframes fs2blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fs2-promptbox .caret { animation: none; } }
.fs2-promptbox .go { width: 32px; height: 32px; border-radius: 10px; background: var(--color-accent); display: grid; place-items: center; color: #fff; flex: none; }
.fs2-promptbox .hint { font-family: monospace; font-size: .62rem; color: #565b70; margin: 10px 4px 0; letter-spacing: .06em; }
.fs2-intents { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: var(--space-md); text-align: left; }
.fs2-intent { background: var(--color-bg); border-radius: 22px; padding: var(--space-md); box-shadow: 0 8px 30px -18px rgba(0,0,0,.12); }
.fs2-intent h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.fs2-intent .q { font-style: italic; color: var(--color-accent); font-size: .9rem; display: block; margin-bottom: .6rem; }
.fs2-intent p { font-size: .9rem; color: var(--color-text-secondary); }
.fs2-intent .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .9rem; }
.fs2-tag { font-family: monospace; font-size: .64rem; letter-spacing: .04em; color: var(--color-text-secondary); background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 7px; padding: 3px 9px; }
.fs2-sig { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-lg); align-items: center; text-align: left; }
.fs2-sig p { color: #86868b; margin-bottom: .8rem; }
.fs2-dendro { background: #161618; border: 1px solid #2c2c2e; border-radius: 22px; padding: var(--space-md); }
.fs2-dendro svg { display: block; width: 100%; height: auto; }
.fs2-dendro .fs2-cap { text-align: center; }
.fs2-eng { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: var(--space-md); text-align: left; }
.fs2-ecard { background: var(--color-bg-alt); border-radius: 20px; padding: var(--space-md); }
.fs2-ecard .lbl { font-family: monospace; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: .5rem; }
.fs2-ecard h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.fs2-ecard p { font-size: .88rem; color: var(--color-text-secondary); }
.fs2-offer-scroll { overflow-x: auto; margin-top: var(--space-md); background: var(--color-bg); border-radius: 22px; box-shadow: 0 8px 30px -18px rgba(0,0,0,.1); }
.fs2-offer { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .9rem; text-align: left; }
.fs2-offer th, .fs2-offer td { padding: 14px 20px; border-bottom: 1px solid var(--color-bg-alt); }
.fs2-offer thead th { font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-secondary); }
.fs2-offer tbody tr:last-child td { border-bottom: 0; }
.fs2-offer td:first-child { font-weight: 600; white-space: nowrap; }
.fs2-offer td:nth-child(3) { color: var(--color-text-secondary); }

/* ---------- Nav : badge Nouveau ---------- */
.nav-badge { font-size: .55rem; font-weight: 700; color: var(--color-accent); vertical-align: super; margin-left: 2px; letter-spacing: .04em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .fs2-themes { grid-template-columns: repeat(3, 1fr); }
  .fs2-plans { grid-template-columns: 1fr 1fr; }
  .fs2-mods { grid-template-columns: 1fr 1fr; }
  .fs2-pos3, .fs2-eng { grid-template-columns: 1fr; }
  .fs2-sig { grid-template-columns: 1fr; }
  .fs2-canvas-frame { height: 360px; }
}
@media (max-width: 640px) {
  .fs2-themes { grid-template-columns: repeat(2, 1fr); }
  .fs2-plans, .fs2-mods, .fs2-intents, .fs2-tiles { grid-template-columns: 1fr; }
}

/* ---------- correctifs v2.1 ---------- */
.nav-inner, .footer-inner { max-width: 1200px; }
.fs2-cockpit-wrap { margin-top: var(--space-xl); }
.fs2-plans { grid-template-columns: repeat(5, 1fr); }
.fs2-plan .price small { min-height: 2.2em; }
.team-bio { font-size: .85rem; color: var(--color-text-secondary); margin: .5rem auto .8rem; max-width: 34ch; text-align: center; }
.fs2-intent.wide { grid-column: 1 / -1; }
@media (max-width: 980px) { .fs2-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .fs2-plans { grid-template-columns: 1fr; } }

/* ---------- correctifs v2.2 ---------- */
:root { --nav-height: 64px; }
.site-nav { height: 64px; }
.nav-inner { height: 64px; }
.nav-links { gap: 1.6rem; }
.nav-links a { font-size: .98rem; }
.nav-logo img { height: 40px !important; }
.nav-cta { font-size: .95rem; padding: .55rem 1.1rem; }

/* cartes tarifaires : gabarit uniforme */
.fs2-plan { padding: var(--space-md) 1.4rem; }
.fs2-plan .who { min-height: 3.9em; margin: .3rem 0 1rem; }
.fs2-plan .price { font-size: 2rem; min-height: 2.4rem; }
.fs2-plan .price small { min-height: 2.6em; display: block; margin-top: .2rem; }
.fs2-plan ul { flex: 1 1 auto; }
.fs2-plan .btn, .fs2-plan > a:last-child { margin-top: auto; text-align: center; }

/* section contact (page équipe) */
.fs2-contact { max-width: 640px; margin: 0 auto; text-align: center; }
.fs2-contact .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: var(--space-md); }

/* ---------- correctifs v2.3 : gabarit strict des cartes tarifs ---------- */
.fs2-plan { position: relative; padding-top: 3.4rem; }
.fs2-plan .tag { position: absolute; top: 1.3rem; left: 1.4rem; margin: 0; }
.fs2-plan ul { align-content: start; }

/* ---------- correctifs v2.4 ---------- */
.fs2-mods { gap: 18px; }
.fs2-mod .top { justify-content: flex-end; margin-bottom: .4rem; }
.fs2-mod .st { font-size: .66rem; letter-spacing: .06em; }

/* ---------- correctifs v2.5 : largeur & heros de sous-pages ---------- */
:root { --max-width-wide: 1320px; }
.section-inner:has(.team-grid) { max-width: 1200px; }
.team-grid { gap: 24px; }
.page-hero .hero-actions { justify-content: center; }
.page-hero .fs2-promptbox { text-align: left; }

/* v2.6 */
.team-grid { max-width: 1200px; }

/* v2.8 : badges du footer alignés sur le rendu de la page équipe (pleine couleur) */
.footer-badge-img { height: 56px; opacity: 1; filter: none; }

/* ---------- v2.9 : page Explorer les clusters ---------- */
.fs2-map-link { display: block; cursor: pointer; transition: transform .35s ease, box-shadow .35s ease; }
.fs2-map-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs2-map-link:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(124, 108, 246, .22); }
.section-dark .hero-stat-number { color: #f5f5f7; }
.fs2-clx { padding-top: 44px; }
.hero-stat-number { white-space: nowrap; }
.fs2-clx .hero-stats { margin-top: 0; }

/* ---------- v3.0 : accueil réordonné ---------- */
.hero .fs2-canvas-frame { width: 100%; }
.hero .fs2-cap { color: #86868b; max-width: 760px; margin-left: auto; margin-right: auto; }
.fs2-ck-mid { margin-top: var(--space-md); }
.fs2-ck-mid .fs2-cockpit { border-radius: 24px; padding-bottom: 18px; }
.fs2-ck-mid .fs2-ck { border-radius: 14px; }

/* ---------- v3.1 : agents en pastilles dans le tableau des offres ---------- */
.fs2-offer td.agents .fs2-tag { display: inline-block; margin: 2px 5px 2px 0; white-space: nowrap; }
.fs2-offer td.agents .plus { font-weight: 600; color: var(--color-text-secondary); margin-right: 5px; }
.fs2-offer td.agents small { display: block; margin-top: 4px; font-size: .74rem; color: var(--color-text-secondary); }

/* ---------- v3.2 : badges écosystème uniformisés (footer + page équipe) + logo nav ---------- */
.footer-badge-img, .badge-item img { height: 46px; width: auto; opacity: 1; filter: none; }
img.b-ft { height: 92px; }
img.b-lau { height: 88px; }
.footer-badges { gap: var(--space-xl); }
.nav-logo img { height: 48px !important; }

/* ---------- v3.3 : hero compacté — titre sur 2 lignes, scène clusters visible à l'écran ---------- */
.hero { padding-top: calc(var(--nav-height) + var(--space-md)); justify-content: flex-start; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); max-width: 1100px; margin-bottom: var(--space-sm); }
.hero-subtitle { max-width: 880px; font-size: clamp(1rem, 1.4vw, 1.2rem); margin-bottom: var(--space-md); }
.hero .fs2-canvas-frame { max-width: 1100px; }
.hero .hero-stats { margin-top: var(--space-lg); }

/* ---------- v3.4 : espace hero sous-pages + démo Copilot ---------- */
.page-hero .hero-actions { margin-top: var(--space-md); }
.page-hero .fs2-promptbox { margin-top: var(--space-md); }
.fs2-demo { text-align: left; margin-top: 14px; border-top: 1px solid #26262a; padding-top: 14px; }
.fs2-demo .h { font-family: monospace; font-size: 11px; letter-spacing: .05em; color: #30d158; margin: 0 0 8px; }
.fs2-demo .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 9px 2px; border-bottom: 1px solid #1d1d21; font-size: 13.5px; color: #e8e8ed; }
.fs2-demo .row:last-of-type { border-bottom: 0; }
.fs2-demo .row small { display: block; font-family: monospace; font-size: 10.5px; color: #86868b; margin-top: 2px; }
.fs2-demo .row .m { font-family: monospace; font-size: 11.5px; color: #a0a0aa; white-space: nowrap; }
.fs2-demo .row .m b { color: #30d158; font-weight: 600; }
.fs2-demo .note { font-size: 11px; color: #6e6e73; margin: 12px 0 0; }
.fs2-demo.on { animation: fsDemoIn .5s ease; }
@keyframes fsDemoIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- v3.5 : logos assureurs + L'Agefi (section confiance) ---------- */
.fs2-marks-ins { gap: 18px 36px; }
.fs2-marks-ins img { height: 38px; width: auto; filter: none; opacity: 1; }
.fs2-marks-ins img:hover { opacity: 1; }
.fs2-marks-ins img.ins-wide { height: 26px; }
.fs2-marks-ins img.ins-mid { height: 32px; }
.fs2-agefi-img { height: 34px; width: auto; vertical-align: middle; }

/* ---------- v3.6 : vignettes animées des cartes de fonctionnalités ---------- */
.fs2-modviz { display: block; width: 100%; height: 76px; margin: .1rem 0 .9rem;
  border-radius: 12px; background: var(--color-bg-alt); }
.fs2-mod { transition: border-color .2s ease, transform .2s ease; }
.fs2-mod:hover { border-color: var(--color-accent); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .fs2-mod:hover { transform: none; } }

/* ---------- v4.2 : vidéo de démonstration des clusters ---------- */
.fs2-video-frame { height: auto; aspect-ratio: 16 / 9; max-width: 1100px; }
.fs2-video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- v4.2 : bandeau de langue (site statique) ---------- */
.fs-langbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: .8rem; max-width: calc(100vw - 32px);
  padding: .6rem .7rem .6rem 1.1rem; border-radius: 999px; font-size: .9rem;
  background: #1a1530; color: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.fs-langbar a { color: #fff; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.fs-langbar button { background: none; border: 0; color: #fff; opacity: .7; font-size: 1.2rem; cursor: pointer; line-height: 1; padding: 0 .3rem; }
.fs-langbar button:hover { opacity: 1; }

/* ---------- v4.3 : encadré « la version française fait foi » ---------- */
.fs-legal-notice { background: var(--color-bg-alt); padding: 1rem 1.5rem; border-radius: 12px;
  margin-bottom: var(--space-lg); font-size: var(--font-size-small); color: var(--color-text-secondary); }

/* ---------- v4.4 : formulaires branchés ---------- */
.fs2-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fs2-consent { font-size: .78rem; color: var(--color-text-secondary, #8b90a5); margin-top: .8rem; line-height: 1.5; }
.fs2-consent a { color: inherit; text-decoration: underline; }
.fs2-ts:empty { display: none; }
.fs2-ts { margin: .2rem 0 .6rem; }
button[type=submit]:disabled { opacity: .7; cursor: progress; }

/* ---------- v4.5 : zone de dépôt réelle ---------- */
.fs2-drop { cursor: pointer; display: block; }
.fs2-drop.over { border-color: var(--color-accent); background: rgba(108,60,224,.08); }
.fs2-drop.on { border-style: solid; border-color: var(--color-accent); }
.fs2-types { margin: .2rem 0 .6rem; font-size: .78rem; }

/* ---------- v4.7 : lien Agefi ---------- */
.fs2-agefi-d a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fs2-agefi-d a:hover { color: var(--color-accent); }

/* ---------- v4.9 : responsive mobile ---------- */
/* Boutons : autoriser le retour à la ligne quand le libellé est plus large que l'écran */
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.3; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
/* Maquette du screener : colonnes secondaires masquées sur petit écran */
@media (max-width: 760px) {
  .fs2-cockpit-wrap { padding: 0 12px; }
  .fs2-cockpit { padding: 14px 12px 0; }
  .fs2-ck-mid .fs2-cockpit { padding-bottom: 12px; }
  .fs2-ck th:nth-child(n+5), .fs2-ck td:nth-child(n+5) { display: none; }   /* SFDR, tendance */
  .fs2-ck th, .fs2-ck td { padding: 10px 8px; }
}
@media (max-width: 440px) {
  .fs2-ck th:nth-child(4), .fs2-ck td:nth-child(4) { display: none; }       /* volatilité */
  .fs2-ck { font-size: 12px; }
  .fs2-ck td:first-child { word-break: break-word; }
}
/* Bandeau Agefi : sur mobile, logo + étiquette sur une ligne, texte dessous */
@media (max-width: 640px) {
  .fs2-agefi { display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%; box-sizing: border-box; text-align: center; }
  .fs2-agefi-d { max-width: 100%; flex-basis: 100%; text-align: center; }
  .fs2-themes { gap: 10px; }
  .fs2-theme { min-width: 0; padding-left: 8px; padding-right: 8px; }
  .fs2-theme-name { overflow-wrap: anywhere; hyphens: auto; }
}
/* Maquette de téléphone : jamais plus large que l'écran */
.fs2-phone { max-width: calc(100% - 8px); box-sizing: border-box; }
/* Longs mots (allemand, adresses e-mail) : coupure plutôt que débordement */
.legal-content, .section-subtitle, .fs2-mod p, .fs2-faq { overflow-wrap: anywhere; hyphens: auto; }
/* Titres de page : césure des mots très longs (allemand) et taille réduite sur très petit écran */
.page-hero h1, .section h2 { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 400px) { .page-hero h1 { font-size: clamp(1.6rem, 8.5vw, 2.4rem); } }
/* Espacements verticaux resserrés sur mobile (sections de 128 px de marge → vides énormes) */
@media (max-width: 640px) {
  :root { --space-lg: 2.5rem; --space-xl: 3.5rem; --space-2xl: 4.5rem; }
  .footer-badges { gap: 1.5rem 2rem; flex-wrap: wrap; justify-content: center; }
  .footer-badge-img, .badge-item img { height: 38px; }
}
/* Césure : uniquement en allemand (mots composés très longs) ; ailleurs, coupure seulement
   si un mot ne tient vraiment pas sur la ligne */
.page-hero h1, .section h2, .legal-content, .section-subtitle, .fs2-mod p, .fs2-faq, .fs2-theme-name { hyphens: manual; overflow-wrap: break-word; }
:lang(de) .page-hero h1, :lang(de) .section h2, :lang(de) .legal-content, :lang(de) .fs2-theme-name { hyphens: auto; }
