/* ════════ Flowxify Design System — tokens ════════ */
@font-face {
    font-family: 'DM Serif Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/dm-serif-display-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url('../fonts/source-sans-3-variable.woff2') format('woff2-variations');
}

:root {
    /* Base palette */
    --fx-midnight: #1A1A2E;
    --fx-violet: #5004A4;
    --fx-violet-hover: #3D0380;
    --fx-violet-tint: #F3EDFA;
    --fx-orange: #F44708;
    --fx-orange-hover: #D63C05;
    --fx-orange-tint: #FEEDE6;
    --fx-paper: #F9FAFB;
    --fx-border: #E5E7EB;
    --fx-muted: #6B7280;
    --fx-muted-light: #9CA3AF;

    /* Gradients signature */
    --fx-gradient: linear-gradient(90deg, #5004A4 0%, #F44708 100%);
    --fx-gradient-diagonal: linear-gradient(135deg, #5004A4 0%, #F44708 100%);
    --fx-gradient-wash: linear-gradient(135deg, rgba(80,4,164,0.05) 0%, rgba(244,71,8,0.05) 100%);

    /* Alias sémantiques */
    --surface: #FFFFFF;
    --surface-alt: var(--fx-paper);
    --surface-dark: var(--fx-midnight);
    --text-strong: var(--fx-midnight);
    --text-body: var(--fx-muted);
    --text-tertiary: var(--fx-muted-light);
    --text-inverse: #F1F1F1;
    --text-inverse-soft: rgba(255,255,255,0.72);
    --accent: var(--fx-violet);
    --accent-hover: var(--fx-violet-hover);
    --accent-warm: var(--fx-orange);
    --accent-warm-hover: var(--fx-orange-hover);
    --border-subtle: var(--fx-border);
    --border-strong: #D1D5DB;
    --success: #1F8A5B;
    --danger: #C8341A;

    /* Typo */
    --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii / ombres / motion */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --shadow-soft: 0 2px 12px rgba(26,26,46,0.06);
    --shadow-raised: 0 6px 22px rgba(26,26,46,0.10);
    --shadow-violet: 0 6px 24px rgba(80,4,164,0.18);
    --shadow-warm: 0 8px 24px rgba(244,71,8,0.28);
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --dur-fast: 0.3s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background: var(--surface);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-strong);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
h2 { font-size: 2rem; }
h3 { line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--accent-warm); }
h4 { font-family: var(--font-body); font-weight: 600; color: var(--text-strong); }
strong { font-weight: 600; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--fx-orange); outline-offset: 3px; border-radius: var(--radius-xs); }

/* ── Utilitaires signature ── */
.fx-sep {
    width: 60px; height: 2px; border: 0;
    background: var(--fx-gradient);
    border-radius: 1px;
    margin: 0 0 1.5rem;
}
.fx-eyebrow {
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent-warm);
}
.fx-gradient-text {
    background: var(--fx-gradient-diagonal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Layout ── */
.wrap        { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 840px; margin: 0 auto; padding: 0 2rem; }
.section     { padding: 6rem 0; }
.section-sm  { padding: 4rem 0; }

.fx-hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 3.5rem; align-items: center; }
.fx-3col      { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fx-stats     { display: grid; grid-template-columns: repeat(3, 1fr); }
.fx-mission   { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: start; }
.fx-contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.fx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fx-nav-links { display: flex; gap: 2rem; align-items: center; }

/* Empêche les pistes de grille de déborder du conteneur (CTA nowrap, mots longs) */
.fx-hero-grid > *, .fx-mission > *, .fx-contact-grid > * { min-width: 0; }

@media (max-width: 900px) {
    .fx-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .fx-mission, .fx-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .fx-nav-links { display: none; }
    .fx-nav-right { display: none !important; }
    /* photo hero : contrainte + centrée pour éviter un cadrage maladroit */
    .fx-hero-visual { max-width: 360px; margin: 0 auto; padding-bottom: 1.5rem; }
}
@media (max-width: 760px) {
    .section { padding: 4rem 0; }
    .fx-3col { grid-template-columns: 1fr; }
    .fx-stats { grid-template-columns: 1fr; }
    .fx-form-grid { grid-template-columns: 1fr; }
    .wrap, .wrap-narrow { padding: 0 1.4rem; }
    /* les gros CTA passent en pleine largeur et peuvent passer à la ligne — pas de débordement horizontal */
    .fx-cta-row { width: 100%; }
    .fx-cta-row > * { flex: 1 1 100%; }
    .fx-cta-row a[href], .fx-cta-row button { width: 100%; justify-content: center; white-space: normal; }
}

/* ── Boutons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
    font-family: var(--font-body); font-weight: 600; letter-spacing: 0.03em; line-height: 1.1;
    border-radius: var(--radius-xs); cursor: pointer; text-decoration: none;
    border: 1.5px solid transparent; white-space: nowrap;
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 0.95rem; }
.btn-primary { background: var(--accent-warm); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-warm); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { color: var(--accent-hover); }

/* ── Nav ── */
.fx-nav {
    position: sticky; top: 0; z-index: 50;
    padding: 0.85rem 0;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--dur-fast) var(--ease-out);
}
.fx-nav.scrolled {
    padding: 0.55rem 0;
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(229,231,235,0.8);
    box-shadow: 0 1px 24px rgba(26,26,46,0.05);
}
.fx-nav .wrap { display: flex; justify-content: space-between; align-items: center; }
.fx-nav-logo { height: 96px; width: auto; transition: height var(--dur-fast) var(--ease-out); }
.fx-nav.scrolled .fx-nav-logo { height: 64px; }
.fx-nav-link {
    font-size: 0.92rem; font-weight: 500; color: var(--text-body);
    text-decoration: none; letter-spacing: 0.01em; position: relative;
    transition: color var(--dur-fast) var(--ease-out);
}
.fx-nav-link::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0;
    background: var(--fx-gradient); transition: width var(--dur-fast) var(--ease-out);
}
.fx-nav-link:hover { color: var(--text-strong); }
.fx-nav-link:hover::after { width: 100%; }
.fx-nav-right { display: flex; align-items: center; gap: 0.9rem; }
.fx-portal {
    display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
    font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em; color: var(--accent);
    text-decoration: none; padding: 0.5rem 0.9rem; border-radius: var(--radius-xs);
    border: 1.5px solid var(--border-subtle);
    transition: all var(--dur-fast) var(--ease-out);
}
.fx-portal:hover { border-color: var(--accent); background: var(--fx-violet-tint); color: var(--accent-hover); }

/* ── Nav mobile (hamburger + panneau déroulant) ── */
.fx-nav.open { background: rgba(255,255,255,0.92); border-bottom-color: transparent; }
.fx-nav-toggle {
    display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--border-subtle); border-radius: var(--radius-xs);
    cursor: pointer; color: var(--text-strong); padding: 0;
}
.fx-nav-toggle:focus-visible { outline: 2px solid var(--accent-warm); outline-offset: 3px; }
.fx-burger { position: relative; width: 20px; height: 14px; }
.fx-burger span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background: currentColor; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.fx-burger span:nth-child(1) { top: 0; }
.fx-burger span:nth-child(2) { top: 6px; }
.fx-burger span:nth-child(3) { top: 12px; }
.fx-nav-toggle[aria-expanded="true"] .fx-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.fx-nav-toggle[aria-expanded="true"] .fx-burger span:nth-child(2) { opacity: 0; }
.fx-nav-toggle[aria-expanded="true"] .fx-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.fx-mobile-menu {
    overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.32s var(--ease-out), opacity 0.24s var(--ease-out);
    background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}
.fx-mobile-menu.open { max-height: 460px; opacity: 1; border-bottom-color: rgba(229,231,235,0.8); }
.fx-mobile-inner { padding: 0.6rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.2rem; }
.fx-mobile-link {
    font-size: 1.05rem; font-weight: 500; color: var(--text-strong); text-decoration: none;
    padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--border-subtle);
}
.fx-mobile-link:active { color: var(--accent); }

@media (max-width: 900px) {
    .fx-nav-toggle { display: inline-flex; }
    .fx-nav-logo { height: 72px; }
    .fx-nav.scrolled .fx-nav-logo { height: 56px; }
}
@media (min-width: 901px) {
    .fx-mobile-menu { display: none; }
}

/* ── Hero ── */
.fx-orb {
    position: absolute; top: -22%; right: -12%; width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(80,4,164,0.06) 0%, rgba(244,71,8,0.045) 45%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 0;
    animation: fx-float 22s ease-in-out infinite;
}
@keyframes fx-float {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(-26px, 22px) scale(1.06); }
}
.fx-hero-h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.12; margin-bottom: 1.5rem; }
.fx-hero-lead { font-size: 1.18rem; line-height: 1.7; max-width: 560px; margin-bottom: 1.5rem; color: var(--text-body); }
.fx-hero-exp {
    font-size: 0.98rem; border-left: 2px solid var(--accent-warm); padding-left: 1.1rem;
    margin-bottom: 2.2rem; font-weight: 300; color: var(--text-strong); max-width: 520px;
}
.fx-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin-bottom: 2.4rem; }
.fx-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; align-items: center; }
.fx-trust span { display: inline-flex; align-items: center; gap: 1.4rem; font-size: 0.82rem; color: var(--text-tertiary); font-weight: 500; letter-spacing: 0.01em; }
.fx-trust .dot { width: 4px; height: 4px; gap: 0; border-radius: 50%; background: var(--border-strong); padding: 0; }
.fx-hero-visual { position: relative; }
.fx-hero-wash {
    position: absolute; width: 70%; height: 70%; right: -14px; top: 22px;
    background: var(--fx-gradient-wash); border-radius: var(--radius-lg); z-index: 0;
}
.fx-hero-photo {
    position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-raised); aspect-ratio: 4 / 5;
}
.fx-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-hero-badge {
    position: absolute; z-index: 2; left: 1rem; bottom: -1rem;
    background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-subtle); padding: 0.8rem 1.1rem;
    display: flex; align-items: center; gap: 0.7rem;
}
.fx-dot-success { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* ── Logos clients (bandeau défilant en boucle) ── */
.fx-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.fx-marquee-track { display: flex; width: max-content; animation: fx-marquee 45s linear infinite; }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
.fx-marquee-group { display: flex; align-items: center; gap: 4.5rem; padding-right: 4.5rem; }
@keyframes fx-marquee {
    from { transform: translateX(-33.3333%); }
    to   { transform: translateX(0); }
}
.fx-logo-img { height: 68px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.fx-tlogo-img { height: 30px; width: auto; max-width: 124px; object-fit: contain; display: block; }
@media (max-width: 560px) {
    .fx-logo-img { height: 50px; max-width: 180px; }
    .fx-marquee-group { gap: 2.8rem; padding-right: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .fx-marquee-track { animation: none; }
    .fx-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ── Stats (bandeau sombre) ── */
.fx-stat { padding: 0.5rem 2rem; text-align: center; }
.fx-stat + .fx-stat { border-left: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 760px) {
    .fx-stat + .fx-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 1.5rem; }
}
.fx-stat-num { display: flex; align-items: baseline; justify-content: center; gap: 0.3rem; }
.fx-stat-v { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; }
.fx-stat-u { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-inverse-soft); }
.fx-stat-label { margin-top: 0.6rem; font-size: 0.92rem; color: var(--text-inverse-soft); line-height: 1.45; }

/* ── Constat (pain points) ── */
.fx-pain {
    position: relative; padding: 1.25rem 0 1.25rem 2.2rem;
    border-bottom: 1px solid var(--border-subtle);
    transition: padding-left var(--dur-fast) var(--ease-out);
    font-size: 1.05rem; line-height: 1.6;
}
.fx-pain::before {
    content: '→'; position: absolute; left: 0; top: 1.25rem;
    color: var(--accent-warm); font-weight: 700; opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.fx-pain:hover { padding-left: 2.7rem; }
.fx-pain:hover::before { opacity: 1; transform: translateX(0); }

/* ── Parti-pris ── */
.fx-quote {
    font-family: var(--font-display); font-size: 1.5rem; line-height: 1.5; color: #fff;
    border-left: 3px solid var(--accent-warm); padding-left: 1.6rem; margin: 2.2rem 0;
}
.fx-not { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1rem; color: var(--text-inverse-soft); }
.fx-not .x {
    width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: rgba(255,255,255,0.55);
}

/* ── Cards ── */
.fx-card {
    background: var(--surface); color: var(--text-body);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 2rem;
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.fx-card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); border-color: rgba(244,71,8,0.25); }
.fx-card--wash { background: var(--fx-gradient-wash); border: 1px solid rgba(80,4,164,0.18); box-shadow: var(--shadow-soft); }
.fx-card--accent { border-left: 4px solid var(--accent-warm); }
.fx-card--full { height: 100%; display: flex; flex-direction: column; }

/* ── Méthode ── */
.fx-step-num { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; }
.fx-step-title { font-family: var(--font-display); font-size: 1.5rem; margin: 0.5rem 0; }
.fx-step-desc { font-size: 0.98rem; margin-bottom: 1.2rem; color: var(--text-body); min-height: 2.9rem; }
.fx-step-list { list-style: none; border-top: 1px solid var(--border-subtle); padding-top: 1rem; }
.fx-step-list li { font-size: 0.96rem; padding: 0.35rem 0 0.35rem 1.4rem; position: relative; color: var(--text-strong); }
.fx-step-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-warm); font-weight: 700; }

/* ── Déroulé / timeline ── */
.fx-timeline { position: relative; padding-left: 2.2rem; }
.fx-timeline::before {
    content: ''; position: absolute; left: 0.65rem; top: 0.6rem; bottom: 0.6rem; width: 2px;
    background: var(--fx-gradient); border-radius: 1px; opacity: 0.4;
}
.fx-phase { position: relative; padding-bottom: 1.8rem; }
.fx-phase:last-child { padding-bottom: 0; }
.fx-phase-dot {
    position: absolute; left: -2.2rem; top: 0.15rem; width: 22px; height: 22px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--accent); display: inline-flex;
    align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--accent);
    box-shadow: var(--shadow-soft);
}
.fx-phase .fx-eyebrow { font-size: 0.7rem; }
.fx-phase h4 { font-size: 1.12rem; line-height: 1.25; margin-top: 0.15rem; }
.fx-phase p { margin: 0.35rem 0 0; font-size: 0.98rem; line-height: 1.6; }
.fx-livrables { list-style: none; }
.fx-livrables li {
    position: relative; padding: 0.7rem 0 0.7rem 1.9rem;
    border-top: 1px solid rgba(80,4,164,0.12);
    font-size: 1rem; color: var(--text-strong); line-height: 1.5;
}
.fx-livrables li::before { content: '✓'; position: absolute; left: 0; top: 0.7rem; color: var(--accent); font-weight: 700; }

/* ── Témoignages ── */
.fx-avatar {
    width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
    background: var(--fx-violet-tint); color: var(--accent);
}
.fx-t-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.3rem; }
.fx-t-name { font-weight: 600; color: var(--text-strong); font-size: 0.98rem; line-height: 1.2; white-space: nowrap; }
.fx-t-role { font-size: 0.82rem; color: var(--text-tertiary); line-height: 1.3; margin-top: 0.1rem; }
.fx-t-before { font-size: 0.96rem; margin-bottom: 1.1rem; line-height: 1.55; }
.fx-t-after { font-size: 0.98rem; color: var(--text-strong); font-weight: 500; line-height: 1.55; }
.fx-t-org {
    display: flex; align-items: center; gap: 0.9rem; margin-top: 1.3rem; padding-top: 1.1rem;
    border-top: 1px solid var(--border-subtle);
}
.fx-t-company { font-weight: 600; color: var(--text-strong); font-size: 0.9rem; line-height: 1.3; }

/* ── Formulaire contact ── */
.fx-field { display: flex; flex-direction: column; gap: 0.35rem; }
.fx-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-strong); }
.fx-field .hint { font-size: 0.78rem; color: var(--text-tertiary); }
.fx-field input, .fx-field select, .fx-field textarea {
    width: 100%; font-family: var(--font-body); font-size: 0.95rem; color: var(--text-strong);
    background: var(--surface); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-sm);
    padding: 0.65rem 0.85rem; outline: none;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.fx-field textarea { line-height: 1.5; resize: vertical; }
.fx-field select {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.85rem center;
}
.fx-field input:focus, .fx-field select:focus, .fx-field textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(80,4,164,0.12);
}
.fx-form-error { display: none; margin-top: 0.9rem; font-size: 0.9rem; color: var(--danger); }
.fx-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── Footer ── */
.fx-footer { background: var(--surface-dark); color: var(--text-inverse); }
.fx-footer-grid { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.fx-footer a { color: var(--text-inverse-soft); text-decoration: none; font-size: 0.92rem; }
.fx-footer a:hover { color: #fff; }
.fx-footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.fx-footer-bottom {
    margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem; color: rgba(255,255,255,0.5);
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .fx-orb { animation: none; }
}
