/* ═══════════════════════════════════════════════════════════
   CONTENU PAGE FONCTIONNALITÉS (hero, nouveautés, grille, étapes, CTA)
   Header / footer / FAQ : styleFunctionality.css
   Polices : Bebas Neue (titres) · Syne (corps) · DM Mono (mono)
════════════════════════════════════════════════════════════ */

.fx-page { --fx-green: #34d399; --fx-orange: #fb923c; position: relative; overflow: hidden; }
.fx-page [hidden] { display: none !important; }

/* ═══════════ BASE ═══════════ */
.fx-section { position: relative; z-index: 1; padding: 96px 24px; }
.fx-alt { background: var(--bg2); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.fx-inner { max-width: 1140px; margin: 0 auto; }
.fx-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.fx-head h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: .03em; line-height: 1.05; color: #fff; font-weight: 400; }
.fx-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin-top: 14px; }
.fx-eyebrow { display: block; font-family: 'DM Mono', monospace; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--vc); margin-bottom: 14px; }
.fx-accent { background: var(--g); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.fx-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(167,139,250,.1); border: 1px solid rgba(167,139,250,.25); border-radius: 99px; padding: 8px 18px; font-family: 'DM Mono', monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--vc); }
.fx-btn { display: inline-flex; align-items: center; gap: 10px; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; padding: 16px 36px; border-radius: 99px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.fx-btn-primary { background: var(--g); color: #fff; box-shadow: 0 8px 30px rgba(118,75,162,.4); }
.fx-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(118,75,162,.55); }
.fx-btn-ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.fx-btn-ghost:hover { background: rgba(255,255,255,.1); }
.fx-card { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 20px; padding: 28px; transition: border-color .2s, transform .2s, box-shadow .2s; }

/* ═══════════ HERO ═══════════ */
.fx-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 1000px; z-index: 0; pointer-events: none; }
.fx-hero { z-index: 2; padding-top: 72px; padding-bottom: 80px; text-align: center; }
.fx-hero .fx-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.fx-hero h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: .03em; line-height: 1.02; color: #fff; max-width: 1000px; }
.fx-hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 640px; line-height: 1.65; }
.fx-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.fx-demo { width: 100%; max-width: 820px; margin-top: 30px; scroll-margin-top: 90px; }
.fx-demo-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.fx-demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fx-demo-caption { display: block; margin-top: 16px; font-family: 'DM Mono', monospace; font-size: .78rem; letter-spacing: .06em; color: var(--muted); }

/* ═══════════ NOUVEAUTÉS ═══════════ */
.fx-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.fx-split + .fx-split { margin-top: 96px; }
.fx-split-reverse .fx-split-text { order: 2; }
.fx-split-text h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 2.1rem; letter-spacing: .03em; line-height: 1.05; color: #fff; margin: 18px 0 14px; }
.fx-split-text p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.fx-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fx-bullets li { position: relative; padding-left: 22px; color: rgba(255,255,255,.88); font-size: .95rem; line-height: 1.5; }
.fx-bullets li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--fx-green); }

.fx-mock { padding: 30px 32px; }
.fx-mock-label { font-family: 'DM Mono', monospace; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fx-mock-label-accent { font-size: .74rem; color: var(--vc); }
.fx-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx-mock-value { font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin-top: 4px; color: #fff; }
.fx-mock-delta { padding: 7px 14px; border-radius: 99px; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.4); font-family: 'DM Mono', monospace; font-size: .8rem; color: var(--fx-green); white-space: nowrap; }
.fx-mock-sep { height: 1px; background: var(--border); margin: 20px 0; }
.fx-range { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.fx-range > div { padding: 14px 8px; border-radius: 12px; background: rgba(255,255,255,.03); text-align: center; }
.fx-range > div.is-main { background: rgba(118,75,162,.22); }
.fx-range span { display: block; font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fx-range .is-main span { color: var(--vc); }
.fx-range strong { display: block; font-size: 1.12rem; margin-top: 3px; color: #fff; }
.fx-zone-chip { display: inline-block; margin: 10px 0 16px; padding: 9px 16px; border-radius: 99px; background: rgba(251,146,60,.14); border: 1px solid rgba(251,146,60,.4); font-weight: 700; font-size: .95rem; line-height: 1.2; color: var(--fx-orange); }
.fx-zone-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.fx-zone-bar span { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); }
.fx-zone-bar span.is-on { background: var(--fx-orange); }
.fx-mock-text { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.fx-mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fx-mock-tag { padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--border); font-size: .82rem; line-height: 1.2; }

/* ═══════════ GRILLE DE FONCTIONNALITÉS ═══════════ */
.fx-group + .fx-group { margin-top: 56px; }
.fx-group-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 1.5rem; letter-spacing: .04em; color: var(--vc); margin-bottom: 22px; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.fx-grid .fx-card:hover { border-color: rgba(167,139,250,.45); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(118,75,162,.2); }
.fx-grid .fx-card svg { display: block; stroke: var(--vc); }
.fx-grid h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: #fff; margin: 16px 0 8px; }
.fx-grid p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.65; }

/* ═══════════ ÉTAPES ═══════════ */
.fx-steps { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 28px; }
.fx-steps .fx-card { text-align: center; padding: 36px 28px; }
.fx-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--g); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; line-height: 1; margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(118,75,162,.4); }
.fx-steps h4 { margin-top: 0; font-size: 1.1rem; }

/* ═══════════ FAQ / CTA FINAL ═══════════ */
.fx-faq .fx-head { margin-bottom: 44px; }
.fx-faq .faq-container { margin: 0 auto; }
.fx-final { text-align: center; }
.fx-final .fx-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.fx-final h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: .03em; line-height: 1.05; color: #fff; max-width: 640px; }
.fx-final p { color: var(--muted); font-size: 1.02rem; max-width: 520px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .fx-split { grid-template-columns: 1fr; gap: 36px; }
  .fx-split + .fx-split { margin-top: 72px; }
  .fx-split-reverse .fx-split-text { order: 0; }
}
@media (max-width: 768px) {
  .fx-section { padding: 64px 16px; }
  .fx-hero { padding-top: 48px; padding-bottom: 56px; }
  .fx-head { margin-bottom: 40px; }
  .fx-hero-sub { font-size: 1rem; }
  .fx-btn { padding: 14px 28px; font-size: .95rem; }
  .fx-demo-frame { border-radius: 16px; }
  .fx-mock { padding: 24px 20px; }
  .fx-mock-value { font-size: 1.25rem; }
}
