/* Remix Icon 4.6.0 é carregado localmente pelo head da página. */

@font-face {
    font-family: 'FF Geologica';
    src: url('../fonts/fideflow-geologica-var.woff2') format('woff2');
    font-display: swap;
    font-style: normal;
    font-weight: 100 900;
}

@font-face {
    font-family: 'FF Manrope';
    src: url('../fonts/fideflow-manrope-var.woff2') format('woff2');
    font-display: swap;
    font-style: normal;
    font-weight: 200 800;
}

:root,
[data-bs-theme='dark'] {
    --ff-navy: #0b0751;
    --ff-page: #08080a;
    --ff-ink: #f2efe8;
    --ff-muted: #aaa7a2;
    --ff-line: rgba(242, 239, 232, 0.28);
    --ff-hero: #08080a;
    --ff-hero-ink: #f6f4ef;
    --ff-purple: #6a3df0;
    --ff-purple-deep: #4e23d0;
    --ff-mint: #55f2ab;
    --ff-paper: #f2efe8;
    --ff-paper-ink: #0b0b0d;
    --ff-header-ink: #f6f4ef;
    --ff-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme='light'] {
    --ff-navy: #0b0751;
    --ff-page: #f2efe8;
    --ff-ink: #0b0b0d;
    --ff-muted: #605e5a;
    --ff-line: rgba(11, 11, 13, 0.25);
    --ff-hero: #0b0751;
    --ff-hero-ink: #f6f4ef;
    --ff-purple: #6a3df0;
    --ff-purple-deep: #4e23d0;
    --ff-mint: #0b9f69;
    --ff-paper: #f6f3ec;
    --ff-paper-ink: #08080a;
    --ff-header-ink: #f6f4ef;
}

/* Hub institucional: superfícies neutras, cores da marca nos detalhes. */
html.ff-hub {
    --ff-ink: #f5f5f5;
    --ff-muted: #ababab;
    --ff-line: rgba(245, 245, 245, 0.22);
    --ff-paper: #fafafa;
    --ff-paper-ink: #0b0b0d;
    --ff-product-hover: #171719;
    --ff-accent-text: #55f2ab;
    scrollbar-color: var(--ff-muted) var(--ff-page);
}

html.ff-hub[data-bs-theme='light'] {
    --ff-page: #fafafa;
    --ff-ink: #0b0b0d;
    --ff-muted: #595959;
    --ff-line: rgba(11, 11, 13, 0.2);
    --ff-product-hover: #eeeeef;
    --ff-accent-text: #087a51;
}

html.ff-hub[data-bs-theme='light'] .auth-modal {
    --entry-primary: #0b0b0d;
    --entry-text: #0b0b0d;
    --entry-secondary: #525252;
    --entry-bg: #fafafa;
    --entry-input: #fafafa;
    --entry-muted: #f0f0f0;
    --entry-border: #dedede;
    --entry-border-strong: #bdbdbd;
}

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

html {
    background: var(--ff-page);
    scroll-behavior: smooth;
    scrollbar-color: var(--ff-purple) var(--ff-page);
    scrollbar-width: thin;
}

body.ff-editorial {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--ff-page);
    color: var(--ff-ink);
    font-family: 'FF Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.ff-editorial.is-menu-open {
    overflow: hidden;
}

.ff-editorial ::selection {
    background: var(--ff-mint);
    color: #08080a;
}

.ff-editorial a,
.ff-editorial button {
    color: inherit;
    font: inherit;
}

.ff-editorial a {
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.ff-editorial button {
    appearance: none;
}

.ff-editorial :focus-visible {
    outline: 3px solid var(--ff-mint);
    outline-offset: 5px;
}

.ff-skip {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    background: var(--ff-mint);
    color: #08080a;
    font-weight: 800;
    text-decoration: none;
    transition: transform 220ms var(--ff-ease);
}

.ff-skip:focus {
    transform: translateY(0);
}

.ff-progress {
    position: fixed;
    z-index: 990;
    inset: 0 0 auto;
    height: 2px;
    pointer-events: none;
}

.ff-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--ff-mint);
    will-change: transform;
}

.ff-cursor {
    position: fixed;
    z-index: 995;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    border: 1px solid var(--ff-line);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: difference;
    transition: opacity 180ms ease, border-color 260ms ease, background-color 260ms ease;
}

.ff-cursor span {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
}

.ff-cursor.is-visible {
    opacity: 1;
}

.ff-cursor.is-active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.ff-header {
    position: fixed;
    z-index: 900;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    min-height: 94px;
    padding: 0 clamp(24px, 3.5vw, 56px);
    color: var(--ff-header-ink);
    transition: color 360ms var(--ff-ease), background-color 360ms var(--ff-ease);
}

.ff-header.is-scrolled {
    background: rgba(8, 8, 10, 0.88);
    backdrop-filter: blur(14px);
}

.ff-header.is-over-light {
    --ff-header-ink: #0b0b0d;
}

.ff-header.is-over-dark {
    --ff-header-ink: #f6f4ef;
}

.ff-header.is-scrolled.is-over-light {
    background: rgba(250, 250, 250, 0.94);
}

.ff-header.is-scrolled.is-over-dark {
    background: rgba(8, 8, 10, 0.88);
}

.ff-wordmark {
    justify-self: start;
    color: inherit;
    text-decoration: none;
}

.ff-brand-logo {
    display: block;
    width: clamp(148px, 13vw, 184px);
    height: auto;
}

.ff-brand-logo--standard {
    display: none;
}

.ff-header.is-over-light .ff-brand-logo--inverse {
    display: none;
}

.ff-header.is-over-light .ff-brand-logo--standard {
    display: block;
}

.ff-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(30px, 5vw, 78px);
}

.ff-nav a {
    position: relative;
    padding: 12px 0;
    color: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.ff-nav a::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    content: '';
    transform: scaleX(0);
    transform-origin: right;
    background: currentColor;
    transition: transform 320ms var(--ff-ease);
}

.ff-nav a:hover::after,
.ff-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.ff-nav i {
    margin-left: 2px;
}

.ff-header__actions {
    display: flex;
    justify-self: end;
    gap: 10px;
}

.ff-icon-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms var(--ff-ease);
}

.ff-icon-button:hover {
    transform: rotate(8deg);
    background: var(--ff-header-ink);
    color: var(--ff-page);
}

.ff-menu-button {
    display: none;
}

.ff-hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    overflow: hidden;
    background: var(--ff-navy);
    color: var(--ff-hero-ink);
    isolation: isolate;
}

.ff-hero__media {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
}

.ff-hero__scene {
    position: absolute;
    inset: 0;
    transform: translate3d(0, var(--hero-y, 0), 0) scale(1.045);
}

.ff-hero__media img,
.ff-hero__light {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ff-hero__light {
    mix-blend-mode: screen;
    pointer-events: none;
}

.ff-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 30%, rgba(3, 3, 25, 0.68) 68%, rgba(3, 3, 25, 0.86));
}

.ff-flow-light {
    stroke-dasharray: 150 850;
    stroke-dashoffset: 240;
    animation: ff-current 14s linear infinite paused;
}

.ff-flow-light--soft { opacity: 0.55; }
.ff-flow-light--edge { opacity: 0.75; stroke-dasharray: 65 935; }
[data-flow-running='true'] .ff-flow-light { animation-play-state: running; }

@keyframes ff-current {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

.ff-hero__grain {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.08;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.46'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.ff-hero__copy {
    position: relative;
    align-self: center;
    width: min(680px, 52vw);
    margin: 100px clamp(24px, 5vw, 78px) 110px auto;
}

.ff-hero h1,
.ff-products h2,
.ff-manifesto h2,
.ff-close h2 {
    margin: 0;
    font-family: 'FF Geologica', sans-serif;
    font-weight: 440;
    letter-spacing: -0.07em;
}

.ff-hero h1 {
    font-size: clamp(3.2rem, 5.4vw, 5rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.ff-hero h1 span {
    display: block;
    clip-path: inset(0 0 0 0);
}

.ff-hero__copy p {
    width: min(440px, 100%);
    margin: 28px 0 0;
    color: #dfddea;
    font-size: clamp(1rem, 1.3vw, 1.22rem);
    line-height: 1.55;
}

.ff-hero h1 .ff-hero__promise {
    margin-top: 0.24em;
    color: #c5b8ff;
}

.ff-hero .ff-hero__action {
    display: inline-flex;
    margin-top: 26px;
    padding: 8px 9px 8px 24px;
    min-height: 56px;
    background: var(--ff-mint);
    border-color: var(--ff-mint);
    color: #0b0751;
    font-weight: 750;
}

.ff-hero .ff-hero__action i { border-color: rgba(11, 7, 81, 0.3); }
.ff-hero .ff-hero__action:hover { background: #b0ffdc; border-color: #b0ffdc; }

.ff-motion-toggle {
    display: inline-flex;
    min-width: 44px;
    justify-self: end;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgba(246, 244, 239, 0.4);
    border-radius: 30px;
    background: #080820;
    color: #f6f4ef;
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
}

.ff-motion-toggle[hidden] { display: none; }
.ff-motion-toggle:hover { border-color: var(--ff-mint); }
.ff-motion-toggle i { font-size: 1rem; }
.ff-hero__signature { justify-self: start; padding: 10px 12px; background: #080820; border-radius: 24px; color: #f6f4ef; }
.ff-hero__signature span { margin-right: 12px; color: #d4d1e0; }

.ff-hub[data-motion-paused] *,
.ff-hub[data-motion-paused] *::before,
.ff-hub[data-motion-paused] *::after {
    animation-play-state: paused !important;
}

.ff-hero__foot {
    position: absolute;
    right: clamp(24px, 3.5vw, 56px);
    bottom: clamp(25px, 4.5vh, 52px);
    left: clamp(24px, 3.5vw, 56px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    color: #dfddea;
    font-size: 0.82rem;
    font-weight: 650;
}

.ff-scroll-note {
    justify-self: center;
}

.ff-scroll-note i {
    display: inline-block;
    margin-left: 7px;
    animation: none;
}

.ff-outline-action {
    display: inline-flex;
    align-items: center;
    justify-self: end;
    gap: 16px;
    min-height: 52px;
    padding: 0 7px 0 22px;
    border: 1px solid color-mix(in srgb, var(--ff-hero-ink) 48%, transparent);
    border-radius: 999px;
    color: var(--ff-hero-ink);
    font-size: 0.79rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
    transition: transform 320ms var(--ff-ease), border-color 220ms ease;
}

.ff-outline-action i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--ff-hero-ink) 42%, transparent);
    border-radius: 50%;
    transition: transform 320ms var(--ff-ease), background-color 320ms ease, color 320ms ease;
}

.ff-outline-action:hover i,
.ff-outline-action:focus-visible i {
    transform: rotate(-45deg);
    background: var(--ff-mint);
    color: #08080a;
}

.ff-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-bottom: 1px solid rgba(11, 11, 13, 0.2);
    background: var(--ff-paper);
    color: var(--ff-paper-ink);
}

.ff-marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: clamp(52px, 6vw, 100px);
    padding: 20px 0 26px;
    animation: none;
    font-family: 'FF Geologica', sans-serif;
    font-size: clamp(4.6rem, 9vw, 8rem);
    font-weight: 380;
    letter-spacing: -0.07em;
    line-height: 0.8;
    white-space: nowrap;
}

.ff-marquee__track span::after {
    display: inline-block;
    width: 0.16em;
    height: 0.16em;
    margin-left: clamp(52px, 6vw, 100px);
    content: '';
    transform: rotate(45deg);
    background: var(--ff-purple);
    vertical-align: 0.16em;
}

.ff-products {
    padding: clamp(92px, 12vw, 178px) clamp(24px, 3.5vw, 56px) 0;
    background: var(--ff-page);
    color: var(--ff-ink);
}

.ff-section-head {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.8fr);
    align-items: end;
    gap: 48px;
    padding-bottom: clamp(74px, 9vw, 130px);
}

.ff-section-head h2 {
    max-width: 1040px;
    font-size: clamp(4.4rem, 8vw, 7.2rem);
    line-height: 0.87;
}

.ff-section-head p {
    max-width: 33ch;
    margin: 0 0 0.8em;
    color: var(--ff-muted);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.ff-triad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 calc(clamp(24px, 3.5vw, 56px) * -1);
    border-top: 1px solid var(--ff-line);
}

.ff-product--erp {
    grid-column: 1 / -1;
}

.ff-product--fiscal {
    border-right: 1px solid var(--ff-line);
}

.ff-product {
    border-bottom: 1px solid var(--ff-line);
    transition: background-color 420ms var(--ff-ease), color 420ms var(--ff-ease);
}

.ff-product > a {
    display: grid;
    grid-template-columns: 56px clamp(92px, 10vw, 160px) minmax(0, 1fr) auto 72px;
    min-height: clamp(270px, 25vw, 370px);
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
    padding: clamp(30px, 4vw, 62px) clamp(24px, 3.5vw, 56px);
    color: inherit;
    text-decoration: none;
}

.ff-product--fiscal > a,
.ff-product--ads > a {
    grid-template-columns: 44px clamp(74px, 7vw, 112px) minmax(0, 1fr) 62px;
    min-height: clamp(300px, 29vw, 430px);
}

.ff-product:hover,
.ff-product:focus-within {
    background: var(--ff-product-hover, #171719);
    color: var(--ff-ink);
}

.ff-product__index {
    color: var(--ff-accent-text, var(--ff-mint));
    align-self: start;
    font-size: 0.9rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.ff-product__icon {
    display: grid;
    place-items: center;
}

.ff-product__icon i {
    font-size: clamp(5rem, 9vw, 9rem);
    font-weight: 200;
    line-height: 1;
}

.ff-product--fiscal .ff-product__icon i,
.ff-product--ads .ff-product__icon i {
    font-size: clamp(4.4rem, 7vw, 7rem);
}

.ff-product__content {
    display: grid;
    gap: 20px;
}

.ff-product__content strong {
    font-family: 'FF Geologica', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5.3rem);
    font-weight: 390;
    letter-spacing: -0.065em;
    line-height: 0.95;
}

.ff-product--fiscal .ff-product__content strong,
.ff-product--ads .ff-product__content strong {
    font-size: clamp(2rem, 3.5vw, 3.85rem);
}

.ff-product__content > span {
    max-width: 36ch;
    color: var(--ff-muted);
    font-size: clamp(0.95rem, 1.2vw, 1.12rem);
}

.ff-product__status {
    display: flex;
    align-items: center;
    align-self: start;
    gap: 10px;
    padding-top: 4px;
    font-size: 0.86rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ff-product__status i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ff-mint);
}

.ff-product__arrow {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    transition: transform 420ms var(--ff-ease), background-color 300ms ease, color 300ms ease;
}

.ff-product__arrow i {
    font-size: 1.55rem;
}

.ff-product:hover .ff-product__arrow,
.ff-product:focus-within .ff-product__arrow {
    transform: rotate(-38deg) scale(1.06);
    background: var(--ff-mint);
    color: #08080a;
}

.ff-manifesto {
    position: relative;
    min-height: 100svh;
    padding: clamp(110px, 13vw, 190px) clamp(24px, 3.5vw, 56px) clamp(70px, 8vw, 120px);
    background: var(--ff-paper);
    color: var(--ff-paper-ink);
}

.ff-manifesto__rails {
    position: absolute;
    top: clamp(120px, 14vw, 205px);
    bottom: clamp(290px, 26vw, 380px);
    left: clamp(18px, 2.3vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 16px;
    border-left: 1px solid rgba(11, 11, 13, 0.52);
}

.ff-manifesto__rails span {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.ff-manifesto__body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 1fr);
    align-items: end;
    gap: clamp(32px, 4vw, 60px);
    margin-left: clamp(48px, 6vw, 96px);
}

.ff-manifesto h2 {
    font-size: clamp(3.25rem, 5.5vw, 4.75rem);
    letter-spacing: -0.04em;
    line-height: 1.06;
    text-wrap: balance;
}

.ff-manifesto h2 span {
    display: block;
}

.ff-manifesto__body > p {
    margin: 0 0 0.5em;
    font-family: 'FF Geologica', sans-serif;
    max-width: 30ch;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 420;
    letter-spacing: -0.04em;
    line-height: 1.5;
}

.ff-manifesto__story {
    max-width: 43ch;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.7;
}
.ff-manifesto__story p { margin: 0 0 1.2em; }
.ff-manifesto__story p:last-child { margin-bottom: 0; }
.ff-manifesto__story strong { font-weight: 750; }

.ff-flowline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: clamp(64px, 8vw, 110px) 0 0 clamp(48px, 6vw, 96px);
    padding: 0;
    border-top: 1px solid rgba(11, 11, 13, 0.45);
    list-style: none;
}

.ff-flowline li {
    display: grid;
    min-height: 190px;
    grid-template-columns: 28px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 10px 14px;
    align-content: start;
    padding: 28px clamp(22px, 3vw, 44px) 24px 0;
}

.ff-flowline li:not(:last-child) {
    border-right: 1px solid rgba(11, 11, 13, 0.45);
}

.ff-flowline li:not(:first-child) {
    padding-left: clamp(22px, 3vw, 44px);
}

.ff-flowline i {
    grid-column: 1;
    grid-row: 1;
    font-size: 1.65rem;
    line-height: 1.35;
}

.ff-flowline strong {
    grid-column: 2;
    align-self: center;
    line-height: 1.35;
    font-family: 'FF Geologica', sans-serif;
    font-size: 1.25rem;
    font-weight: 520;
    letter-spacing: -0.035em;
}

.ff-flowline span {
    grid-column: 2;
    max-width: 34ch;
    line-height: 1.6;
    color: rgba(11, 11, 13, 0.68);
    font-size: 1rem;
}

.ff-close {
    min-height: 92svh;
    padding: clamp(100px, 12vw, 170px) clamp(24px, 3.5vw, 56px) 46px;
    background: #08080a;
    color: var(--ff-paper);
}

.ff-close__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 48px;
}

.ff-close h2 {
    font-size: clamp(4.6rem, 9.2vw, 8.4rem);
    line-height: 0.84;
    text-transform: uppercase;
}

.ff-close__arrow {
    display: grid;
    width: clamp(112px, 14vw, 190px);
    height: clamp(112px, 14vw, 190px);
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--ff-paper);
    text-decoration: none;
    transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
    transition: background-color 380ms ease, color 380ms ease, transform 380ms var(--ff-ease);
}

.ff-close__arrow i {
    font-size: clamp(3.6rem, 7vw, 6rem);
    transition: transform 380ms var(--ff-ease);
}

.ff-close__arrow:hover,
.ff-close__arrow:focus-visible {
    transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0) scale(1.04);
    background: var(--ff-purple);
    color: #fff;
}

.ff-close__arrow:hover i,
.ff-close__arrow:focus-visible i {
    transform: rotate(-38deg);
}

.ff-close__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(100px, 13vw, 180px);
    border-top: 1px solid rgba(242, 239, 232, 0.42);
}

.ff-close__links a {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 2.5vw, 38px);
    color: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 280ms ease, color 280ms ease;
}

.ff-close__links a:not(:last-child) {
    border-right: 1px solid rgba(242, 239, 232, 0.42);
}

.ff-close__links a:hover,
.ff-close__links a:focus-visible {
    background: var(--ff-paper);
    color: #08080a;
}

.ff-close__links span {
    color: var(--ff-mint);
    font-size: 0.72rem;
}

.ff-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    min-height: 126px;
    align-items: center;
    gap: 30px;
    padding: 24px clamp(24px, 3.5vw, 56px);
    border-top: 1px solid rgba(242, 239, 232, 0.26);
    background: #08080a;
    color: var(--ff-paper);
}

.ff-footer > span {
    color: rgba(242, 239, 232, 0.58);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ff-footer nav {
    display: flex;
    justify-self: end;
    gap: 25px;
}

.ff-footer nav a {
    color: rgba(242, 239, 232, 0.68);
    font-size: 0.76rem;
    text-decoration: none;
}

.ff-footer nav a:hover,
.ff-footer nav a:focus-visible {
    color: var(--ff-paper);
    text-decoration: underline;
}

body.ff-editorial #ff-cookie-banner {
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 18px;
    width: min(440px, calc(100vw - 36px));
    max-width: 440px;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid rgba(242, 239, 232, 0.25);
    border-radius: 0;
    background: rgba(8, 8, 10, 0.96);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
    color: var(--ff-paper);
    font-family: 'FF Manrope', sans-serif;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-inner {
    display: grid;
    gap: 12px;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-text {
    min-width: 0;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-text strong {
    margin: 0 0 4px;
    font-size: 0;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-text strong::before {
    content: 'Sua privacidade, sua escolha.';
    font-size: 0.91rem;
    font-weight: 750;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-text p {
    color: rgba(242, 239, 232, 0.68);
    font-size: 0.72rem;
    line-height: 1.45;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-text a {
    color: var(--ff-mint);
}

body.ff-editorial #ff-cookie-banner .ff-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-btn {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(242, 239, 232, 0.22);
    border-radius: 999px;
    font-size: 0.72rem;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-btn--primary {
    border-color: var(--ff-mint);
    background: var(--ff-mint);
    color: #08080a;
}

body.ff-editorial #ff-cookie-banner .ff-cookie-btn--ghost {
    background: transparent;
    color: var(--ff-paper);
}

body.ff-editorial #ff-cookie-banner .ff-cookie-btn:focus-visible {
    outline: 3px solid var(--ff-mint);
    outline-offset: 3px;
    box-shadow: none;
}

.reveal {
    opacity: 1;
    transform: none;
}

.is-motion-ready .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(46px);
    filter: blur(8px);
}

.is-motion-ready .reveal {
    transition: opacity 850ms var(--ff-ease), transform 850ms var(--ff-ease), filter 850ms var(--ff-ease);
}

.is-motion-ready .ff-hero h1 span {
    animation: ff-title-in 980ms var(--ff-ease) both;
}

.is-motion-ready .ff-hero h1 span:nth-child(2) {
    animation-delay: 90ms;
}

.is-motion-ready .ff-hero__copy p,
.is-motion-ready .ff-hero__foot {
    animation: ff-fade-in 900ms 260ms var(--ff-ease) both;
}

@keyframes ff-title-in {
    from { opacity: 0; transform: translateY(76px); filter: blur(12px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes ff-fade-in {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ff-marquee {
    to { transform: translateX(-50%); }
}

@keyframes ff-bob {
    50% { transform: translateY(6px); }
}

@media (max-width: 1080px) {
    .ff-header {
        grid-template-columns: 1fr auto 1fr;
    }

    .ff-hero__copy {
        width: min(700px, 64vw);
    }

    .ff-product > a,
    .ff-product--fiscal > a,
    .ff-product--ads > a {
        grid-template-columns: 40px 86px minmax(0, 1fr) 58px;
    }

    .ff-product--erp .ff-product__status {
        grid-column: 3;
        margin-top: 0;
    }

    .ff-product__arrow {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 820px) {
    .ff-header {
        grid-template-columns: 1fr auto;
        min-height: 78px;
    }

    .ff-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 18px;
        padding: 94px 24px 40px;
        transform: translateY(-104%);
        background: #08080a;
        color: #f2efe8;
        visibility: hidden;
        transition: transform 560ms var(--ff-ease), visibility 560ms;
    }

    .ff-hub .is-menu-open .ff-header {
        --ff-header-ink: var(--ff-ink);
        background: var(--ff-page);
    }

    .ff-hub .ff-nav {
        background: var(--ff-page);
        color: var(--ff-ink);
    }

    .ff-hub .is-menu-open .ff-brand-logo--inverse {
        display: block;
    }

    .ff-hub .is-menu-open .ff-brand-logo--standard {
        display: none;
    }

    .ff-hub[data-bs-theme='light'] .is-menu-open .ff-brand-logo--inverse {
        display: none;
    }

    .ff-hub[data-bs-theme='light'] .is-menu-open .ff-brand-logo--standard {
        display: block;
    }

    .ff-nav.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    .ff-nav a {
        font-family: 'FF Geologica', sans-serif;
        font-size: clamp(2.8rem, 11vw, 5rem);
        font-weight: 420;
        letter-spacing: -0.065em;
        line-height: 1;
    }

    .ff-menu-button {
        display: grid;
    }

    .ff-hero__copy {
        align-self: center;
        width: auto;
        margin: 0 24px;
        padding-top: 40px;
    }

    .ff-hero__copy p {
        margin-left: 0;
    }


    .ff-hero__foot {
        grid-template-columns: 1fr auto;
    }

    .ff-scroll-note {
        display: none;
    }

    .ff-section-head,
    .ff-manifesto__body {
        grid-template-columns: 1fr;
    }

    .ff-section-head p,
    .ff-manifesto__body > p {
        margin-left: 0;
    }

    .ff-product > a,
    .ff-product--fiscal > a,
    .ff-product--ads > a {
        grid-template-columns: 34px 72px minmax(0, 1fr) 54px;
        min-height: 260px;
    }

    .ff-product__status {
        grid-column: 3;
        margin-top: -58px;
    }

    .ff-product__icon i,
    .ff-product--fiscal .ff-product__icon i,
    .ff-product--ads .ff-product__icon i {
        font-size: 4.8rem;
    }

    .ff-flowline {
        grid-template-columns: 1fr;
    }

    .ff-flowline li,
    .ff-flowline li:not(:last-child),
    .ff-flowline li:not(:first-child) {
        min-height: auto;
        padding: 26px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(11, 11, 13, 0.34);
    }
}

@media (max-width: 640px) {
    .ff-cursor {
        display: none;
    }

    .ff-header {
        padding-inline: 18px;
    }

    .ff-header .ff-icon-button:not(.ff-menu-button) {
        display: none;
    }

    .ff-hub .ff-header [data-theme-toggle] {
        display: grid;
    }

    .ff-hero {
        min-height: 780px;
    }

    .ff-hero h1 {
        font-size: clamp(3.1rem, 15.3vw, 4.25rem);
        line-height: 0.94;
    }

    .ff-hero__copy {
        margin-inline: 18px;
    }

    .ff-hero__copy p {
        max-width: 28ch;
        margin-top: 27px;
        font-size: 0.98rem;
    }


    .ff-hero__foot {
        right: 18px;
        bottom: 24px;
        left: 18px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    html.ff-cookie-open .ff-hero__foot {
        bottom: 205px;
    }

    .ff-hero__foot > span:first-child {
        display: none;
    }

    .ff-outline-action {
        width: 100%;
        justify-content: space-between;
    }

    .ff-marquee__track {
        font-size: 4rem;
    }

    .ff-products {
        padding: 88px 18px 0;
    }

    .ff-section-head {
        gap: 28px;
        padding-bottom: 70px;
    }

    .ff-section-head h2 {
        font-size: clamp(3.65rem, 17.5vw, 5rem);
    }

    .ff-triad {
        grid-template-columns: 1fr;
        margin-inline: -18px;
    }

    .ff-product--erp,
    .ff-product--fiscal,
    .ff-product--ads {
        grid-column: auto;
        border-right: 0;
    }

    .ff-product > a,
    .ff-product--fiscal > a,
    .ff-product--ads > a {
        position: relative;
        grid-template-columns: 42px minmax(0, 1fr) 48px;
        grid-template-rows: auto auto 1fr;
        min-height: 250px;
        gap: 18px 14px;
        padding: 27px 18px;
    }

    .ff-product__index {
        grid-column: 1;
        grid-row: 1;
    }

    .ff-product__icon {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .ff-product__icon i,
    .ff-product--fiscal .ff-product__icon i,
    .ff-product--ads .ff-product__icon i {
        font-size: 2.65rem;
    }

    .ff-product__content {
        display: contents;
    }

    .ff-product__content strong {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
    }

    .ff-product__content > span {
        grid-column: 2 / -1;
        grid-row: 3;
        align-self: start;
    }

    .ff-product__content strong,
    .ff-product--fiscal .ff-product__content strong,
    .ff-product--ads .ff-product__content strong {
        font-size: clamp(2.18rem, 10.6vw, 3rem);
    }

    .ff-product__status,
    .ff-product--erp .ff-product__status {
        position: static;
        grid-column: 2 / -1;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        margin: 0;
        padding: 0;
        font-size: 0.68rem;
        white-space: nowrap;
    }

    .ff-product__arrow {
        grid-column: 3;
        grid-row: 2;
        align-self: start;
        width: 48px;
        height: 48px;
    }

    .ff-manifesto {
        padding: 104px 18px 60px;
    }

    .ff-manifesto__rails {
        display: none;
    }

    .ff-manifesto__body,
    .ff-flowline {
        margin-left: 0;
    }

    .ff-manifesto__body {
        gap: 24px;
        text-align: left;
    }

    .ff-manifesto h2 {
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1.08;
    }

    .ff-flowline {
        margin-top: 40px;
    }

    .ff-close {
        min-height: 720px;
        padding: 92px 18px 28px;
    }

    .ff-close__content {
        grid-template-columns: 1fr;
    }

    .ff-close h2 {
        font-size: clamp(3.45rem, 16.5vw, 4.7rem);
    }

    .ff-close__arrow {
        width: 104px;
        height: 104px;
        justify-self: end;
    }

    .ff-close__links {
        grid-template-columns: 1fr;
        margin-top: 84px;
    }

    .ff-close__links a {
        min-height: 62px;
        padding-inline: 0;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(242, 239, 232, 0.3);
    }

    .ff-footer {
        grid-template-columns: 1fr auto;
        min-height: 150px;
        padding-inline: 18px;
    }

    .ff-brand-logo {
        width: 152px;
    }

    .ff-footer > span {
        justify-self: end;
    }

    .ff-footer nav {
        grid-column: 1 / -1;
        justify-self: start;
        flex-wrap: wrap;
    }

    body.ff-editorial #ff-cookie-banner {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        width: auto;
        max-width: none;
        padding: 13px 14px;
    }

    body.ff-editorial #ff-cookie-banner .ff-cookie-text p {
        font-size: 0.69rem;
        line-height: 1.38;
    }
}

@media (hover: none), (pointer: coarse) {
    .ff-cursor {
        display: none;
    }
}

@media (max-width: 1023px) {
    .ff-hub .ff-hero__copy {
        align-self: start;
        width: auto;
        margin: 150px 32px 210px;
        padding: 0;
    }
    .ff-hub .ff-hero h1 { font-size: clamp(3.4rem, 8vw, 4.75rem); line-height: 1.04; }
    .ff-hub .ff-hero::after {
        background: linear-gradient(180deg, rgba(3, 3, 25, 0.88), rgba(3, 3, 25, 0.74) 53%, transparent 86%);
    }
    .ff-hub .ff-hero__scene { inset: 25% -18% -12%; }
    .ff-hub .ff-hero__foot { grid-template-columns: 1fr auto; }
    .ff-hub .ff-scroll-note { display: none; }
}

@media (max-width: 600px) {
    .ff-hub .ff-hero { min-height: max(780px, 100svh); }
    .ff-hub .ff-hero__copy { margin: 128px 22px 225px; }
    .ff-hub .ff-hero h1 { font-size: clamp(2.6rem, 10.8vw, 3.8rem); line-height: 1.06; }
    .ff-hub .ff-hero__copy p { max-width: 31ch; margin-top: 23px; font-size: 1rem; }
    .ff-hub .ff-hero .ff-hero__action { width: auto; margin-top: 24px; }
    .ff-hub .ff-hero__scene { inset: 0 -10% 0; }
    .ff-hub .ff-hero__foot { left: 22px; right: 22px; bottom: 24px; gap: 12px; }
    .ff-hub .ff-hero__foot > span:first-child { display: block; font-size: 0.75rem; }
    .ff-hub .ff-hero__signature span { margin-right: 4px; }
    .ff-hub .ff-motion-toggle { padding-inline: 10px; }
    .ff-hub .ff-motion-toggle span { display: none; }
    .ff-hub .ff-motion-toggle i { font-size: 1.15rem; }
    .ff-hub.ff-cookie-open .ff-hero__foot { bottom: var(--ff-cookie-space, 190px); }
    .ff-hub .ff-manifesto h2 { font-size: clamp(2.4rem, 10vw, 3.6rem); }
}

/* A faixa estática apresenta os quatro nomes por inteiro em tablets e notebooks. */
@media (min-width: 768px) {
    .ff-hub .ff-marquee__track {
        width: 100%;
        justify-content: space-between;
        gap: clamp(16px, 2vw, 32px);
        padding-inline: clamp(24px, 3.5vw, 56px);
        font-size: clamp(2rem, 6vw, 6rem);
        letter-spacing: -0.04em;
        line-height: 1.1;
    }

    .ff-hub .ff-marquee__track span::after {
        margin-left: clamp(16px, 2vw, 32px);
    }

    .ff-hub .ff-marquee__track span:nth-child(n + 5),
    .ff-hub .ff-marquee__track span:nth-child(4)::after {
        display: none;
    }
}

/* No celular, a faixa percorre uma cópia completa sem salto na emenda. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
    .ff-marquee__track {
        gap: 52px;
        animation: ff-marquee-mobile 24s linear infinite paused;
    }
    .ff-marquee[data-flow-running='true'] .ff-marquee__track {
        animation-play-state: running;
    }
    @keyframes ff-marquee-mobile {
        to { transform: translateX(calc(-50% - 26px)); }
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .ff-marquee__track {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        padding: 20px 18px;
        font-size: clamp(1.1rem, 5vw, 1.8rem);
        letter-spacing: -0.04em;
        line-height: 1.2;
    }
    .ff-marquee__track span:nth-child(n + 5),
    .ff-marquee__track span::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ff-hub .ff-flow-light { animation: none; stroke-dashoffset: 240; }
    .ff-hub .ff-hero__scene { transform: none; }
    .ff-hub .ff-motion-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ff-hero__media img {
        transform: none;
    }

    .reveal,
    .is-motion-ready .reveal:not(.is-visible) {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .ff-header.is-scrolled {
        background: var(--ff-page);
        backdrop-filter: none;
    }

    .ff-hero__grain {
        display: none;
    }
}
