/* ==========================================================================
   EVOLUT — SITE PÚBLICO — DESIGN SYSTEM v4.0
   --------------------------------------------------------------------------
   Reescrita completa. Substitui site.css, header-nav.css, support.css,
   blog.css, post.css, integrations.css, integration-detail.css, segments.css,
   products.css, legal.css, experience.css e premium.css (≈18 mil linhas).

   Vocabulário único (veja includes/ui.php):
     .section(.section--muted|--dark|--tight)  .container(--narrow)
     .section-head(--left|center|right)  .eyebrow  .section-title  .section-lead
     .grid(--1..5)  .card  .icon-badge  .tag  .btn(-primary|-secondary|-ghost)
     .page-hero  .cta-band  .faq  .steps  .split

   Cores da marca vêm do tema (painel > Aparência): --color-accent,
   --color-button-primary, --paint-header-bg, --paint-footer-bg, --paint-page-bg.
   ========================================================================== */

/* ---------------------------------------------------------------
   01. Tokens
   --------------------------------------------------------------- */
:root {
    --brand: var(--color-button-primary, #10a7f2);
    --brand-light: var(--color-accent, #42c1f4);
    --brand-ink: #0a6fc2;
    --violet: #6d5dfc;

    --navy-950: #040c19;
    --navy-900: #071a33;
    --navy-800: #0b2547;
    --dark-bg: var(--paint-page-bg, linear-gradient(180deg, #072442 0%, #020b16 100%));

    --ink: #0b1b33;
    --text-2: #475569;
    --text-3: #64748b;
    --text-4: #94a3b8;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --surface: #ffffff;
    --muted-bg: #f5f8fc;
    --muted-bg-2: #eef3f9;

    --on-dark: #f1f6ff;
    --on-dark-2: #a9c1e0;
    --on-dark-3: #7d97b8;
    --line-dark: rgba(170, 200, 240, .14);
    --surface-dark: rgba(255, 255, 255, .04);

    --success: #12b76a;
    --warning: #f79009;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-xs: 0 1px 2px rgba(11, 27, 51, .05);
    --shadow-sm: 0 1px 2px rgba(11, 27, 51, .04), 0 6px 18px -10px rgba(11, 27, 51, .14);
    --shadow-md: 0 2px 6px rgba(11, 27, 51, .04), 0 22px 44px -22px rgba(11, 27, 51, .28);
    --shadow-lg: 0 40px 80px -30px rgba(2, 10, 24, .55);

    --container: 1200px;
    --gutter: 24px;
    --header-h: 76px;
    --section-y: 112px;

    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
}

/* ---------------------------------------------------------------
   02. Base
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Fonte escolhida no painel (lista fechada). */
body.font-inter { --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body.font-raleway { --font: "Raleway", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body.font-system { --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
body.font-arial { --font: Arial, Helvetica, sans-serif; }
body.font-helvetica { --font: Helvetica, Arial, sans-serif; }
body.font-verdana { --font: Verdana, Geneva, sans-serif; }
body.font-tahoma { --font: Tahoma, Verdana, sans-serif; }
body.font-trebuchet { --font: "Trebuchet MS", Arial, sans-serif; }
body.font-georgia { --font: Georgia, "Times New Roman", serif; }
body.font-times { --font: "Times New Roman", Times, serif; }
body.font-courier { --font: "Courier New", Courier, monospace; }

img,
svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

body.font-raleway h1,
body.font-raleway h2,
body.font-raleway h3 { letter-spacing: -.005em; }

p { margin: 0; text-wrap: pretty; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

::selection { background: color-mix(in srgb, var(--brand) 25%, transparent); }

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-light) 85%, #fff);
    outline-offset: 3px;
    border-radius: 6px;
}

main:focus { outline: none; }

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transform: translateY(-160%);
    transition: transform .2s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ---------------------------------------------------------------
   03. Layout
   --------------------------------------------------------------- */
.container {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
}

.container--narrow { width: min(100% - (var(--gutter) * 2), 820px); }

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--tight { padding-block: 64px; }
.section--muted { background: var(--muted-bg); }

.section--dark {
    isolation: isolate;
    overflow: hidden;
    background: var(--dark-bg);
    color: var(--on-dark);
}

.section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(50% 60% at 15% 0%, color-mix(in srgb, var(--brand-light) 14%, transparent), transparent 70%),
        radial-gradient(40% 50% at 90% 100%, color-mix(in srgb, var(--violet) 12%, transparent), transparent 70%);
    pointer-events: none;
}

.section--dark::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(150, 190, 240, .14) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
    pointer-events: none;
}

.section--muted + .section--muted,
.section:not(.section--muted):not(.section--dark):not(.section--cta) + .section:not(.section--muted):not(.section--dark):not(.section--cta) {
    border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------
   04. Tipografia de seção
   --------------------------------------------------------------- */
.eyebrow {
    width: fit-content;
    margin-bottom: 18px;
    padding: 6px 12px 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 7%, #fff);
    color: var(--brand-ink);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow-dot {
    position: relative;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--brand);
}

.eyebrow-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: ds-ping 2.2s ease-out infinite;
}

@keyframes ds-ping {
    0% { transform: scale(1); opacity: .7; }
    80%, 100% { transform: scale(2.8); opacity: 0; }
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
    border-color: rgba(120, 190, 255, .25);
    background: rgba(66, 193, 244, .08);
    color: var(--brand-light);
}

.section--dark .eyebrow-dot,
.hero .eyebrow-dot,
.page-hero .eyebrow-dot,
.cta-band .eyebrow-dot { background: var(--brand-light); }

.section-head {
    max-width: 760px;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-head--center { margin-inline: auto; align-items: center; text-align: center; }
.section-head--right { margin-left: auto; align-items: flex-end; text-align: right; }

.section-title {
    color: var(--ink);
    font-size: clamp(30px, 2.4vw + 14px, 46px);
    font-weight: 750;
    line-height: 1.12;
}

.section-lead {
    margin-top: 18px;
    color: var(--text-2);
    font-size: clamp(16.5px, .3vw + 15px, 19px);
    line-height: 1.65;
}

.section--dark .section-title { color: var(--on-dark); }
.section--dark .section-lead { color: var(--on-dark-2); }

.text-accent { color: var(--brand-light); }
.text-accent-strong { color: var(--brand-ink); }
.section--dark .text-accent-strong { color: var(--brand-light); }

.section-head-row {
    margin-bottom: 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.section-head-row .section-head { margin-bottom: 0; }

.section-actions {
    margin-top: 48px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section-actions--center { justify-content: center; }
.section-actions--right { justify-content: flex-end; }
.split-copy .section-actions { margin-top: 32px; }

/* ---------------------------------------------------------------
   05. Botões e links
   --------------------------------------------------------------- */
.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 46px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }

.btn-primary {
    background: var(--brand);
    color: var(--color-button-text, #fff);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -10px color-mix(in srgb, var(--brand) 85%, transparent);
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .3) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .8s var(--ease);
}

.btn-secondary {
    border-color: var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}

.btn-ghost { color: var(--ink); }

/* Botão secundário sobre fundo escuro */
.hero .btn-secondary,
.page-hero .btn-secondary,
.section--dark .btn-secondary,
.cta-band .btn-secondary,
.mobile-navigation .btn-secondary,
.site-header .btn-secondary,
.mobile-sticky-cta .btn-secondary {
    border-color: rgba(190, 215, 245, .22);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    box-shadow: none;
}

.button-icon { display: inline-grid; }

.ui-arrow,
.button-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s var(--ease);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-ink);
    font-weight: 650;
}

.text-link .ui-arrow { width: 17px; height: 17px; }
.text-link--on-dark,
.section--dark .text-link { color: var(--brand-light); }

@media (hover: hover) {
    .btn:hover { transform: translateY(-2px); }
    .btn-primary:hover {
        box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 32px -12px color-mix(in srgb, var(--brand) 95%, transparent);
    }
    .btn-primary:hover::after { transform: translateX(120%); }
    .btn-secondary:hover { border-color: var(--text-4); }
    .hero .btn-secondary:hover,
    .page-hero .btn-secondary:hover,
    .section--dark .btn-secondary:hover,
    .cta-band .btn-secondary:hover,
    .site-header .btn-secondary:hover { border-color: rgba(190, 215, 245, .45); background: rgba(255, 255, 255, .08); }
    .btn:hover .ui-arrow,
    .text-link:hover .ui-arrow,
    a:hover > .text-link .ui-arrow { transform: translateX(4px); }
}

.btn:active { transform: translateY(0) scale(.985); }

/* ---------------------------------------------------------------
   06. Header
   --------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    color: #fff;
    transition: height .35s var(--ease), background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
    border-bottom: 1px solid transparent;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--paint-header-bg, #011022);
    opacity: 0;
    transition: opacity .3s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
    border-color: var(--line-dark);
    box-shadow: 0 12px 30px -20px rgba(0, 0, 0, .7);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.site-header.is-scrolled::before,
.site-header.menu-open::before { opacity: .9; }

/* Faz o hero começar por trás do header transparente. */
.site-header + .mobile-navigation + main > :first-child,
.site-header + main > :first-child { margin-top: calc(var(--header-h) * -1); }

.header-inner {
    width: min(100% - (var(--gutter) * 2), 1280px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    color: #fff;
}

.brand-logo { max-height: 34px; width: auto; }

.brand-mark {
    width: 22px;
    display: grid;
    gap: 3px;
}

.brand-mark i {
    height: 4px;
    border-radius: 3px;
    background: currentColor;
}

.brand-mark i:nth-child(2) { width: 80%; }
.brand-mark i:nth-child(3) { width: 60%; }

.brand-word {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
}

.main-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-nav > a,
.nav-dropdown-trigger {
    position: relative;
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 10px;
    color: rgba(235, 243, 255, .86);
    font-size: 15px;
    font-weight: 550;
    transition: color .2s ease, background-color .2s ease;
}

.main-nav > a:hover,
.nav-dropdown:hover > .nav-dropdown-trigger,
.nav-dropdown:focus-within > .nav-dropdown-trigger {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.main-nav > a.is-current,
.nav-dropdown-trigger.is-current { color: #fff; }

.main-nav > a.is-current::after,
.nav-dropdown-trigger.is-current::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-light);
}

.nav-link-highlight { color: var(--brand-light) !important; }

.nav-icon { display: inline-grid; }

.nav-icon svg {
    width: 16px;
    height: 16px;
    transition: transform .25s var(--ease);
}

.nav-dropdown { position: relative; }

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 18px;
}

.nav-dropdown:hover .nav-icon svg,
.nav-dropdown:focus-within .nav-icon svg { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 10;
    width: 300px;
    padding: 8px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 30px 60px -20px rgba(2, 12, 24, .45);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px) scale(.98);
    transform-origin: top center;
    transition: opacity .2s ease, transform .25s var(--ease), visibility .2s;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
}

.nav-dropdown-menu a {
    min-height: 42px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 550;
    transition: background-color .15s ease, color .15s ease;
}

.nav-dropdown-menu a::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--line-strong);
    transition: background-color .15s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible { background: var(--muted-bg); color: var(--brand-ink); }
.nav-dropdown-menu a:hover::before { background: var(--brand); }
.nav-dropdown-menu a strong { font-weight: inherit; }
.nav-dropdown-menu a.is-current { color: var(--brand-ink); }

.nav-dropdown-menu .nav-dropdown-all {
    margin-top: 4px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    color: var(--brand-ink);
    font-weight: 650;
}

.nav-dropdown-menu .nav-dropdown-all::before { display: none; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.btn-header { min-height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 11px; }
.site-header .btn-outline { border-color: rgba(190, 215, 245, .22); background: rgba(255, 255, 255, .04); color: #fff; }
.site-header .btn-outline:hover { background: rgba(255, 255, 255, .1); }

.mobile-menu {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    place-items: center;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(190, 215, 245, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}

.mobile-menu span {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s var(--ease), opacity .2s ease;
}

.site-header.menu-open .mobile-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.menu-open .mobile-menu span:nth-child(2) { opacity: 0; }
.site-header.menu-open .mobile-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.site-header.is-scrolled .scroll-progress { opacity: 1; }

/* Navegação mobile */
.mobile-navigation {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 99;
    padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    background: var(--paint-header-bg, #011022);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility .25s;
}

html.mobile-nav-open .mobile-navigation {
    opacity: 1;
    visibility: visible;
    transform: none;
}

html.mobile-nav-open,
html.mobile-nav-open body { overflow: hidden; }

.mobile-nav-links { display: grid; }

.mobile-nav-links > a,
.mobile-nav-group-trigger {
    min-height: 56px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line-dark);
    font-size: 18px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.mobile-nav-group-trigger::-webkit-details-marker { display: none; }
.mobile-nav-group[open] .nav-icon svg { transform: rotate(180deg); }

.mobile-segment-links {
    padding: 8px 0 12px 12px;
    display: grid;
    border-bottom: 1px solid var(--line-dark);
}

.mobile-segment-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--on-dark-2);
    font-size: 16px;
}

.mobile-navigation a.is-current { color: var(--brand-light); }

.mobile-nav-actions {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.mobile-nav-actions .btn { width: 100%; min-height: 52px; }
.mobile-navigation .btn-outline { border-color: rgba(190, 215, 245, .22); color: #fff; }

/* ---------------------------------------------------------------
   07. Footer
   --------------------------------------------------------------- */
.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--paint-footer-bg, #010912);
    color: var(--on-dark-2);
    font-size: 15px;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 190, 255, .35), transparent);
}

.footer-inner {
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.footer-brand p { margin: 16px 0 22px; max-width: 280px; color: var(--on-dark-3); }

.footer-column {
    display: grid;
    gap: 10px;
    align-content: start;
}

.footer-column h3 {
    margin-bottom: 6px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
}

.footer-column a,
.footer-column span { color: var(--on-dark-3); transition: color .2s ease; }
.footer-column a:hover { color: #fff; }

.social-row { display: flex; gap: 8px; flex-wrap: wrap; }

.social-row a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    color: var(--on-dark-2);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .3s var(--ease);
}

.social-row a:hover {
    border-color: color-mix(in srgb, var(--brand-light) 50%, transparent);
    background: rgba(66, 193, 244, .1);
    color: #fff;
    transform: translateY(-2px);
}

.social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.social-icon svg:has(rect),
.social-icon svg:has(circle[r="9"]) { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-text { font-size: 12px; font-weight: 700; }

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line-dark);
    color: var(--on-dark-3);
    font-size: 14px;
}

.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* CTA fixo no mobile */
.mobile-sticky-cta { display: none; }

/* ---------------------------------------------------------------
   08. Cartões, grades e peças comuns
   --------------------------------------------------------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    gap: 20px;
}

.grid--1 { --cols: 1; }
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--5 { --cols: 5; }

.card {
    position: relative;
    min-width: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s ease;
}

.section--dark .card {
    border-color: var(--line-dark);
    background: var(--surface-dark);
    box-shadow: none;
}

a.card,
.card--link { cursor: pointer; }

@media (hover: hover) {
    .card:hover,
    .logo-tile:hover,
    .insight-item:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
        box-shadow: var(--shadow-md);
    }

    .section--dark .card:hover {
        border-color: rgba(120, 190, 255, .3);
        background: rgba(255, 255, 255, .06);
        box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
    }

    .card:hover .icon-badge { transform: scale(1.06) rotate(-3deg); }
}

.card--row {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
}

.card--row .icon-badge { margin-bottom: 0; }

.card-title {
    color: var(--ink);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.card-text {
    margin-top: 8px;
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.6;
}

.section--dark .card-title { color: var(--on-dark); }
.section--dark .card-text { color: var(--on-dark-2); }

.card-footer {
    margin-top: auto;
    padding-top: 22px;
}

.icon-badge {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, #fff), color-mix(in srgb, var(--brand-light) 10%, #fff));
    color: var(--brand-ink);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent);
    transition: transform .4s var(--ease);
}

.icon-badge svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-badge--sm { width: 38px; height: 38px; flex-basis: 38px; margin: 0; border-radius: 11px; }
.icon-badge--sm svg { width: 18px; height: 18px; }

.section--dark .icon-badge,
.bento-card--dark .icon-badge {
    background: rgba(66, 193, 244, .12);
    color: var(--brand-light);
    box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .22);
}

.tag {
    width: fit-content;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: color-mix(in srgb, var(--brand) 9%, #fff);
    color: var(--brand-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.3;
}

.tag--on-dark { background: rgba(66, 193, 244, .14); color: var(--brand-light); }
.tag--neutral { background: var(--muted-bg-2); color: var(--text-2); }

.tags { display: flex; gap: 6px; flex-wrap: wrap; }

.status {
    padding: 4px 10px 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status--coming_soon,
.status--beta { background: #fffaeb; color: #b54708; }
.status--paused { background: var(--muted-bg-2); color: var(--text-3); }

/* ---------------------------------------------------------------
   09. Hero da Home
   --------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    z-index: 2;
    padding: calc(var(--header-h) + 72px) 0 0;
    background: var(--dark-bg);
    color: var(--on-dark);
}

.hero-bg {
    position: absolute;
    inset: 0 0 auto;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg::before,
.hero-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: ds-drift 20s ease-in-out infinite alternate;
}

.hero-bg::before {
    top: -20%;
    left: 8%;
    width: 640px;
    height: 520px;
    background: color-mix(in srgb, var(--brand-light) 26%, transparent);
}

.hero-bg::after {
    top: -10%;
    right: 4%;
    width: 520px;
    height: 460px;
    background: color-mix(in srgb, var(--violet) 22%, transparent);
    animation-delay: -6s;
}

@keyframes ds-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(150, 190, 240, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 190, 240, .07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
}

.hero-inner { position: relative; }

.hero--centered .hero-copy {
    max-width: 1000px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(40px, 4vw + 12px, 68px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}

body.font-raleway .hero-title { letter-spacing: -.01em; }

.hero-line { display: block; color: #fff; }

.hero-line--soft {
    color: rgba(235, 243, 255, .92);
    font-weight: 300;
}

.hero-line--soft .text-accent { font-weight: 800; }

.hero-lead {
    max-width: 680px;
    margin-top: 24px;
    color: var(--on-dark-2);
    font-size: clamp(17px, .4vw + 15.5px, 20px);
    line-height: 1.65;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero--centered .hero-actions { justify-content: center; }

.hero-trust {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    color: var(--on-dark-2);
    font-size: 14.5px;
}

.hero--centered .hero-trust { justify-content: center; }

.hero-trust li,
.cta-band-benefits li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-trust strong { color: #fff; font-weight: 650; }

.hero-trust svg,
.cta-band-benefits svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(18, 183, 106, .18);
    fill: none;
    stroke: #4ade80;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hero dividida (opção do painel) */
.hero--split { padding-bottom: 96px; }

.hero--split .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: center;
}

.hero--split.hero--image-left .hero-copy { order: 2; }

/* ---------------------------------------------------------------
   10. Vitrine do produto (moldura de app + ilustração)
   --------------------------------------------------------------- */
.hero-showcase {
    position: relative;
    z-index: 2;
    width: min(100%, 1120px);
    margin: 64px auto -150px;
    perspective: 1800px;
}

.hero--split .hero-showcase { margin: 0; perspective: none; }

.hero-showcase-glow {
    position: absolute;
    inset: 8% 6% -4%;
    z-index: -1;
    border-radius: 40px;
    background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--brand-light) 45%, transparent), transparent 70%);
    filter: blur(50px);
    opacity: .55;
}

.app-window {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .04), var(--shadow-lg);
    transform: rotateX(var(--showcase-tilt, 10deg));
    transform-origin: 50% 0;
    will-change: transform;
}

.hero--split .app-window,
.app-window--flat { transform: none; }

.app-window--flat { border-color: rgba(255, 255, 255, .12); }

.app-window-bar {
    height: 38px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #edf1f6;
    background: #f7f9fc;
}

.app-window-dots { display: inline-flex; gap: 6px; }
.app-window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e2e7ee; }
.app-window-dots i:nth-child(1) { background: #ff6159; }
.app-window-dots i:nth-child(2) { background: #ffbd2e; }
.app-window-dots i:nth-child(3) { background: #28c941; }

.app-window-url {
    flex: 0 1 340px;
    margin: 0 auto;
    padding: 4px 12px;
    overflow: hidden;
    border: 1px solid #e6ebf2;
    border-radius: 7px;
    background: #fff;
    color: #8a97a8;
    font: 500 12px/1.4 var(--mono);
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-window-spacer { width: 46px; }
.app-window-image { width: 100%; }

.app-mock {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    color: var(--ink);
    text-align: left;
    font-family: Inter, var(--font);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0;
}

.app-mock--reports { display: block; }

.app-mock-side {
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--navy-900);
}

.app-mock-logo {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.app-mock-nav {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #7f93ad;
}

.app-mock-nav.is-active { background: rgba(255, 255, 255, .08); color: #fff; }

.app-mock-nav svg,
.showcase-float-icon svg,
.doc-card-icon svg,
.orbit-node-icon svg,
.back-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-mock-main {
    min-width: 0;
    padding: 18px 20px 20px;
    display: grid;
    gap: 14px;
    align-content: start;
    background: #f5f7fb;
}

.app-mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-mock-top small { display: block; color: #8a97a8; font-size: 11.5px; }
.app-mock-top strong { font-size: 17px; letter-spacing: -.01em; }

.app-mock-pill {
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #e8f8ef;
    color: #0f7a46;
    font-size: 11.5px;
    font-weight: 600;
}

.app-mock-pill i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: ds-pulse 1.8s ease-out infinite;
}

@keyframes ds-pulse {
    0% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .5); }
    100% { box-shadow: 0 0 0 7px rgba(18, 183, 106, 0); }
}

.app-mock-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.app-mock--reports .app-mock-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.app-mock-kpi,
.app-mock-chart,
.app-mock-list,
.app-mock-donut-card,
.app-mock-progress-card {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e7ecf3;
    border-radius: 12px;
    background: #fff;
}

.app-mock-kpi small { display: block; color: #8a97a8; font-size: 11.5px; }

.app-mock-kpi strong {
    margin: 4px 0 2px;
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.app-mock--reports .app-mock-kpi strong { font-size: 17px; }
.app-mock-kpi em { color: #8a97a8; font-size: 11.5px; font-style: normal; font-weight: 600; }
.app-mock-kpi em.is-up { color: #0f7a46; }
.app-mock-kpi em.is-up::before { content: "▲ "; font-size: 9px; }
.app-mock-kpi em.is-warn { color: #b54708; }

.app-mock-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.app-mock-card-head { margin-bottom: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.app-mock-card-head strong { font-size: 13px; }
.app-mock-card-head small { color: #8a97a8; font-size: 11px; white-space: nowrap; }

.app-mock-chart { position: relative; }

.app-mock-bars {
    height: 168px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    background: repeating-linear-gradient(to top, #f0f3f8 0 1px, transparent 1px 42px);
}

.app-mock-bars span {
    height: var(--h);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--brand-light), var(--brand));
    transform: scaleY(var(--bar-scale, 1));
    transform-origin: bottom;
    transition: transform .9s var(--ease) calc(var(--i) * 45ms);
}

.app-mock-bars span:nth-child(9) { background: linear-gradient(180deg, #7c6dfd, #5b4ff0); }

.app-mock-line {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    height: 168px;
    overflow: visible;
    pointer-events: none;
}

.app-mock-line path {
    fill: none;
    stroke: var(--warning);
    stroke-width: 2.2;
    stroke-dasharray: 4 5;
    vector-effect: non-scaling-stroke;
    opacity: .85;
}

.app-mock-row {
    padding: 9px 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto 10px;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f0f3f8;
    font-size: 12px;
}

.app-mock-row span:first-child { color: #8a97a8; font-variant-numeric: tabular-nums; }
.app-mock-row span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-mock-row strong { font-variant-numeric: tabular-nums; }
.app-mock-row i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.app-mock-row i.is-wait { background: var(--warning); }

.app-mock-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }

.app-mock-donut-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.app-mock-donut {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: conic-gradient(#10a7f2 0 54%, #6d5dfc 54% 81%, #12b76a 81% 100%);
    -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%);
    mask: radial-gradient(circle, transparent 54%, #000 55%);
    transform: rotate(var(--donut-rotate, 0deg));
    transition: transform 1.2s var(--ease);
}

.app-mock-donut-card ul { display: grid; gap: 6px; font-size: 12px; }
.app-mock-donut-card li { display: flex; align-items: center; gap: 6px; }
.app-mock-donut-card li b { margin-left: auto; font-variant-numeric: tabular-nums; }
.app-mock-donut-card li i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }

.app-mock-progress-card { display: grid; gap: 12px; align-content: center; }
.app-mock-progress { display: grid; gap: 6px; font-size: 12px; }
.app-mock-progress span { display: flex; justify-content: space-between; }
.app-mock-progress i { height: 7px; overflow: hidden; border-radius: 7px; background: #eef2f7; }

.app-mock-progress em {
    display: block;
    width: var(--v);
    height: 100%;
    border-radius: 7px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    transform: scaleX(var(--bar-scale, 1));
    transform-origin: left;
    transition: transform 1.1s var(--ease) .2s;
}

.js-anim .app-mock:not(.is-in) .app-mock-bars span,
.js-anim .app-mock:not(.is-in) .app-mock-progress em { --bar-scale: .06; }
.js-anim .app-mock:not(.is-in) .app-mock-donut { --donut-rotate: -90deg; }

.showcase-float {
    position: absolute;
    z-index: 3;
    padding: 10px 14px 10px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    text-align: left;
    box-shadow: 0 20px 40px -18px rgba(2, 12, 24, .5);
    backdrop-filter: blur(12px);
    animation: ds-float 6s ease-in-out infinite;
}

.showcase-float--icon { padding: 10px; }

.showcase-float-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
}

.showcase-float-copy { display: grid; line-height: 1.25; }
.showcase-float-copy strong { font-size: 13.5px; }
.showcase-float-copy small { color: var(--text-3); font-size: 12px; }

.showcase-float--slot-1 { top: 56%; left: -5%; animation-delay: -1s; }
.showcase-float--slot-2 { top: 8%; right: -3%; animation-delay: -3s; }
.showcase-float--slot-3 { bottom: 6%; right: -4%; animation-delay: -2s; }
.showcase-float--slot-4 { bottom: 22%; left: -3%; animation-delay: -4s; }

@keyframes ds-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero--split .app-mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero--split .app-mock-body { grid-template-columns: minmax(0, 1fr); }
.hero--split .app-mock-list { display: none; }

/* ---------------------------------------------------------------
   11. Faixa de logos
   --------------------------------------------------------------- */
.logo-marquee {
    padding: 200px 0 56px;
    border-bottom: 1px solid var(--line);
}

.hero--split + .logo-marquee { padding-top: 56px; }

.logo-marquee-title {
    margin-bottom: 28px;
    color: var(--text-3);
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
}

.logo-marquee-viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 64px;
    animation: ds-marquee 50s linear infinite;
}

.logo-marquee-viewport:hover .logo-marquee-track,
.logo-marquee-viewport:focus-within .logo-marquee-track { animation-play-state: paused; }

.logo-marquee-item { height: 44px; display: grid; place-items: center; flex: 0 0 auto; }

.logo-marquee-item img {
    width: auto;
    max-width: 130px;
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .55;
    transition: filter .3s ease, opacity .3s ease, transform .3s var(--ease);
}

.logo-marquee-item:hover img,
.logo-marquee-item:focus-visible img { filter: none; opacity: 1; transform: scale(1.06); }

@keyframes ds-marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------------------------------------------------------------
   12. Seções da Home
   --------------------------------------------------------------- */
/* Destaques */
.highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.highlight {
    padding: 4px 32px;
    border-left: 1px solid var(--line);
}

.highlight:first-child { padding-left: 0; border-left: 0; }

.highlight-index {
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .08em;
}

.highlight-title {
    margin-top: 10px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.015em;
}

.highlight-text { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* Bento de funcionalidades */
.bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.bento-card { grid-column: span 2; min-height: 200px; padding: 26px; }

.bento--showcase .bento-card--slot-1,
.bento--showcase .bento-card--slot-2,
.bento--showcase .bento-card--slot-9,
.bento--showcase .bento-card--slot-10 { grid-column: span 3; }

.bento--editorial .bento-card--slot-1 { grid-column: span 4; grid-row: span 2; }
.bento--editorial .bento-card--slot-10 { grid-column: span 6; min-height: 160px; }

.bento--uniform { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bento--uniform .bento-card { grid-column: span 1; }

.bento-card--dark {
    border-color: transparent;
    background:
        radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--brand-light) 18%, transparent), transparent 55%),
        var(--navy-900);
    color: var(--on-dark);
}

.bento-card--dark .card-title { color: #fff; }
.bento-card--dark .card-text { color: var(--on-dark-2); }

.bento-card .card-title { margin-top: auto; }

/* Órbita do ecossistema */
.ecosystem-inner { display: grid; gap: 56px; }
.ecosystem--stacked .ecosystem-copy { text-align: center; }

.ecosystem--split .ecosystem-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

.ecosystem--visual-left .orbit { order: -1; }

.orbit {
    --size: min(560px, 86vw);
    --radius: calc(var(--size) * .4);
    position: relative;
    width: var(--size);
    aspect-ratio: 1;
    margin-inline: auto;
}

.orbit-ring {
    position: absolute;
    inset: 10%;
    border: 1px dashed rgba(140, 190, 240, .22);
    border-radius: 50%;
    animation: ds-spin 90s linear infinite;
}

.orbit-ring--inner { inset: 30%; border-style: solid; border-color: rgba(140, 190, 240, .12); animation-direction: reverse; animation-duration: 70s; }

@keyframes ds-spin { to { transform: rotate(360deg); } }

.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #6fd3ff, var(--brand) 55%, #0a5fb0);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.03em;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 10px rgba(66, 193, 244, .08), 0 0 0 24px rgba(66, 193, 244, .04), 0 0 80px 10px color-mix(in srgb, var(--brand-light) 45%, transparent);
    animation: ds-breathe 5s ease-in-out infinite;
}

.orbit-core img { width: 64%; height: 64%; object-fit: contain; }

@keyframes ds-breathe {
    0%, 100% { box-shadow: 0 0 0 10px rgba(66, 193, 244, .08), 0 0 0 24px rgba(66, 193, 244, .04), 0 0 60px 6px color-mix(in srgb, var(--brand-light) 40%, transparent); }
    50% { box-shadow: 0 0 0 14px rgba(66, 193, 244, .1), 0 0 0 32px rgba(66, 193, 244, .05), 0 0 90px 14px color-mix(in srgb, var(--brand-light) 50%, transparent); }
}

.orbit-node {
    --angle: calc(360deg / var(--count) * var(--i) - 90deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translate(var(--radius)) rotate(calc(var(--angle) * -1));
}

.orbit-node-inner {
    width: 112px;
    margin: -34px 0 0 -56px;
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.orbit-node-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(140, 190, 240, .25);
    border-radius: 16px;
    background: rgba(10, 37, 71, .9);
    color: var(--brand-light);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
    transition: transform .4s var(--ease), border-color .3s ease, background-color .3s ease;
}

.orbit-node-icon svg { width: 22px; height: 22px; }
.orbit-node-label { color: var(--on-dark); font-size: 13.5px; font-weight: 600; line-height: 1.25; }

.orbit-node:hover .orbit-node-icon {
    border-color: var(--brand-light);
    background: var(--navy-800);
    transform: translateY(-4px) scale(1.06);
}

/* Documentos fiscais */
.doc-card { padding: 24px; }

.doc-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--muted-bg-2);
    color: var(--brand-ink);
}

.doc-card-title {
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.02em;
}

/* Parede de logos */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
    gap: 14px;
}

.logo-wall--1 { --cols: 2; }
.logo-wall--2 { --cols: 2; }
.logo-wall--3 { --cols: 3; }
.logo-wall--4 { --cols: 4; }
.logo-wall--5 { --cols: 5; }

.logo-tile {
    min-height: 108px;
    padding: 20px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s ease;
}

.logo-tile img {
    width: auto;
    max-width: min(150px, 100%);
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(.8);
    opacity: .8;
    transition: filter .3s ease, opacity .3s ease;
}

.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile-word { display: grid; text-align: center; }
.logo-tile-word strong { font-size: 18px; letter-spacing: -.01em; }
.logo-tile-word small { color: var(--text-3); font-size: 11px; font-weight: 700; letter-spacing: .08em; }

/* Split (texto + mídia) */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: center;
}

.split--media-left .split-media { order: -1; }
.split .section-head { margin-bottom: 32px; }

.feature-list {
    display: grid;
    grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
    gap: 14px 24px;
}

.feature-list--1 { --cols: 1; }
.feature-list--2 { --cols: 2; }
.feature-list--4 { --cols: 2; }

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
}

.section--dark .feature-list strong { color: var(--on-dark); font-weight: 600; }

.split-media .app-window { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }

/* Etapas de implantação */
.steps {
    display: grid;
    grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}

.steps--timeline { position: relative; }

.steps--timeline::before {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(100% / var(--steps) / 2);
    right: calc(100% / var(--steps) / 2);
    height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light), color-mix(in srgb, var(--brand) 20%, transparent));
    transform: scaleX(var(--line-scale, 1));
    transform-origin: left;
    transition: transform 1.6s var(--ease);
}

.js-anim .steps--timeline:not(.is-in)::before { --line-scale: 0; }

.step { position: relative; text-align: center; }
.steps--cards .step { padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: left; }

.step-marker {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border: 2px solid var(--brand);
    border-radius: 50%;
    background: var(--surface);
    color: var(--brand-ink);
    font-size: 17px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 6px var(--surface), 0 10px 24px -10px color-mix(in srgb, var(--brand) 60%, transparent);
}

.steps--cards .step-marker { margin: 0 0 18px; }
.step-title { font-size: 18px; font-weight: 700; }
.step-text { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* Conteúdos */
.insights {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
}

.insights--featured-right .insight-feature { order: 2; }
.insights--columns { grid-template-columns: minmax(0, 1fr); }
.insights--columns .insight-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.insight-feature {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--brand-light) 30%, transparent), transparent 60%),
        var(--navy-900);
    color: #fff;
}

.insight-feature-media { position: absolute; inset: 0; z-index: -1; }

.insight-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.insight-feature-media:has(img)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 12, 25, .1) 20%, rgba(4, 12, 25, .92));
}

.insight-feature:hover .insight-feature-media img { transform: scale(1.04); }

.insight-feature-copy {
    padding: 36px;
    display: grid;
    gap: 12px;
}

.insight-feature-copy strong { font-size: clamp(22px, 1.4vw + 12px, 30px); line-height: 1.2; letter-spacing: -.02em; }
.insight-feature-copy > span:nth-child(3) { color: var(--on-dark-2); }

.insight-list { display: grid; gap: 14px; align-content: start; }

.insight-item {
    padding: 14px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s ease;
}

.insights--columns .insight-item { grid-template-columns: minmax(0, 1fr); align-items: start; }

.insight-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand-light) 30%, transparent), transparent 60%),
        linear-gradient(135deg, var(--muted-bg-2), #dfe8f3);
}

.insight-thumb img { width: 100%; height: 100%; object-fit: cover; }

.insight-copy { display: grid; gap: 6px; }
.insight-copy strong { font-size: 16.5px; line-height: 1.35; letter-spacing: -.01em; }
.insight-copy > span:last-child {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-2);
    font-size: 14px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq--two,
.faq--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .25s ease, box-shadow .3s ease;
}

.faq-item[open] {
    border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    min-height: 64px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16.5px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-ink); }

.faq-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: var(--muted-bg-2);
    transition: background-color .25s ease, transform .35s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transform: translate(-50%, -50%);
    transition: transform .35s var(--ease), background-color .25s ease;
}

.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--brand); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer {
    padding: 0 22px 20px;
    color: var(--text-2);
    animation: ds-fade-down .4s var(--ease);
}

@keyframes ds-fade-down {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* Faixa de CTA */
.section--cta { padding-block: 32px 112px; }

.cta-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 72px 64px;
    display: grid;
    gap: 40px;
    border-radius: var(--radius-xl);
    background: var(--dark-bg);
    color: var(--on-dark);
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(150, 190, 240, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 190, 240, .07) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent);
    mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent);
}

.cta-band-glow {
    position: absolute;
    z-index: -1;
    top: -40%;
    left: 50%;
    width: 70%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-light) 35%, transparent), transparent);
    transform: translateX(-50%);
    animation: ds-drift 14s ease-in-out infinite alternate;
    pointer-events: none;
}

.cta-band-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-band--left .cta-band-copy { align-items: flex-start; text-align: left; }
.cta-band--right .cta-band-copy { align-items: flex-end; text-align: right; }

.cta-band-title {
    max-width: 760px;
    color: #fff;
    font-size: clamp(30px, 2.6vw + 14px, 50px);
    font-weight: 800;
    line-height: 1.1;
}

.cta-band-lead { max-width: 640px; margin-top: 18px; color: var(--on-dark-2); font-size: 18px; }
.cta-band .hero-actions { margin-top: 32px; }
.cta-band--center .hero-actions { justify-content: center; }
.cta-band--right .hero-actions { justify-content: flex-end; }

.cta-band-benefits {
    padding-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    border-top: 1px solid var(--line-dark);
}

.cta-band-benefits li { align-items: flex-start; }
.cta-band-benefits span { display: grid; gap: 2px; }
.cta-band-benefits strong { color: #fff; font-weight: 650; }
.cta-band-benefits small { color: var(--on-dark-3); font-size: 14px; }

/* ---------------------------------------------------------------
   13. Topo das páginas internas
   --------------------------------------------------------------- */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-h) + 80px) 0 96px;
    background: var(--dark-bg);
    color: var(--on-dark);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: -30% -10% auto;
    z-index: -1;
    height: 130%;
    background:
        radial-gradient(40% 50% at 25% 30%, color-mix(in srgb, var(--brand-light) 22%, transparent), transparent 70%),
        radial-gradient(35% 45% at 80% 15%, color-mix(in srgb, var(--violet) 16%, transparent), transparent 70%);
    animation: ds-drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(150, 190, 240, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 190, 240, .06) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 10%, transparent 75%);
    pointer-events: none;
}

.page-hero-inner { position: relative; }

.page-hero-copy {
    max-width: 840px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-hero--center .page-hero-copy { margin-inline: auto; align-items: center; text-align: center; }
.page-hero--right .page-hero-copy { margin-left: auto; align-items: flex-end; text-align: right; }

.page-hero--with-aside .page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.page-hero--with-aside .page-hero-copy { margin: 0; align-items: flex-start; text-align: left; }

.page-title {
    color: #fff;
    font-size: clamp(36px, 3.4vw + 12px, 62px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.03em;
}

body.font-raleway .page-title { letter-spacing: -.008em; }

.page-lead {
    max-width: 680px;
    margin-top: 22px;
    color: var(--on-dark-2);
    font-size: clamp(17px, .4vw + 15.5px, 20px);
    line-height: 1.65;
}

.page-hero--center .hero-actions { justify-content: center; }

.back-link {
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-dark-2);
    font-size: 14.5px;
    font-weight: 600;
    transition: color .2s ease;
}

.back-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.back-link:hover { color: #fff; }
.back-link:hover svg { transform: translateX(-3px); }

.page-hero-meta {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 10px 18px;
    flex-wrap: wrap;
    color: var(--on-dark-3);
    font-size: 14.5px;
}

/* ---------------------------------------------------------------
   14. Animações sutis (ativadas por JS; respeitam reduzir movimento)
   --------------------------------------------------------------- */
.pv-intro .hero-copy > *,
.pv-intro .page-hero-copy > * {
    animation: ds-rise .9s var(--ease) both;
}

.pv-intro .hero-copy > :nth-child(2),
.pv-intro .page-hero-copy > :nth-child(2) { animation-delay: .08s; }
.pv-intro .hero-copy > :nth-child(3),
.pv-intro .page-hero-copy > :nth-child(3) { animation-delay: .16s; }
.pv-intro .hero-copy > :nth-child(4),
.pv-intro .page-hero-copy > :nth-child(4) { animation-delay: .24s; }
.pv-intro .hero-copy > :nth-child(5),
.pv-intro .page-hero-copy > :nth-child(5) { animation-delay: .32s; }
.pv-intro .hero-copy > :nth-child(6),
.pv-intro .page-hero-copy > :nth-child(6) { animation-delay: .4s; }

.pv-intro .hero-showcase { animation: ds-rise-big 1.2s var(--ease) .3s both; }
.pv-intro .page-hero-inner > :nth-child(2) { animation: ds-rise 1s var(--ease) .3s both; }

@keyframes ds-rise {
    from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
    to { opacity: 1; transform: none; filter: none; }
}

@keyframes ds-rise-big {
    from { opacity: 0; transform: translateY(60px) scale(.97); }
    to { opacity: 1; transform: none; }
}

/* Revelação ao rolar: usa "translate" para não brigar com o hover (transform). */
.js-anim [data-reveal] {
    opacity: 0;
    translate: 0 24px;
    transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .25s ease;
    transition-delay: calc(var(--reveal-i, 0) * 70ms), calc(var(--reveal-i, 0) * 70ms), 0s, 0s, 0s;
}

.js-anim [data-reveal].is-in {
    opacity: 1;
    translate: 0 0;
}

/* ---------------------------------------------------------------
   14b. Componentes das páginas internas
   --------------------------------------------------------------- */
.card-top {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.card-top .icon-badge { margin-bottom: 0; }
.card-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.card-action { margin-top: 20px; }

.stretched-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.notice {
    width: fit-content;
    max-width: 100%;
    margin: 40px auto 0;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
    border-radius: 12px;
    background: color-mix(in srgb, var(--brand) 6%, #fff);
    color: var(--ink);
    font-size: 15px;
    font-weight: 550;
}

.notice svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    fill: none;
    stroke: var(--brand-ink);
    stroke-width: 2;
    stroke-linecap: round;
}

.notice--warning { border-color: #fedf89; background: #fffaeb; color: #7a2e0e; }
.notice--warning svg { stroke: #b54708; }

.alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 550;
}

.alert--success { border: 1px solid #abefc6; background: #ecfdf3; color: #067647; }
.alert--error { border: 1px solid #fecdca; background: #fef3f2; color: #b42318; }

.empty-state {
    padding: 56px 24px;
    display: grid;
    justify-items: center;
    gap: 8px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text-2);
    text-align: center;
}

.empty-state strong { color: var(--ink); font-size: 19px; }
.empty-state .btn { margin-top: 12px; }
.empty-state[hidden] { display: none; }

/* Lista de verificação (suporte técnico) */
.check-panel {
    position: relative;
    padding: 36px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}

.check-panel-badge {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--brand) 70%, transparent);
}

.check-panel-badge svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.check-list { display: grid; gap: 12px; }

.check-list li {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    color: var(--on-dark);
    font-weight: 550;
}

.check-list svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    padding: 4px;
    border-radius: 50%;
    background: rgba(18, 183, 106, .18);
    fill: none;
    stroke: #4ade80;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Chips de filtro */
.chip-nav {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    min-height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-2);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.chip:hover { border-color: var(--line-strong); color: var(--ink); }

.chip.is-active,
.chip[aria-pressed="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.chip small {
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--muted-bg-2);
    color: var(--text-3);
    font-size: 12px;
    font-weight: 700;
}

.chip[aria-pressed="true"] small { background: rgba(255, 255, 255, .16); color: #fff; }

/* Cartão de artigo */
.article-card { padding: 0; overflow: hidden; }

.article-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 30%, color-mix(in srgb, var(--brand-light) 35%, transparent), transparent 55%),
        radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--violet) 25%, transparent), transparent 55%),
        var(--navy-900);
}

.article-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.article-card:hover .article-card-media img { transform: scale(1.04); }

.article-card-body {
    flex: 1 1 auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-card-body .card-text { margin-top: 0; }

.article-card--row { flex-direction: row; }
.article-card--row .article-card-media { width: 40%; flex: 0 0 40%; aspect-ratio: auto; }

/* Paginação */
.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    font-weight: 650;
    transition: border-color .2s ease, background-color .2s ease;
}

.pagination a:hover { border-color: var(--line-strong); }
.pagination a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pagination svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Artigo (post) */
.article { padding-top: 72px; }

.article-cover {
    margin: 0 0 48px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.article-cover img { width: 100%; }

.prose {
    color: #1e293b;
    font-size: 18px;
    line-height: 1.8;
}

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 28px; line-height: 1.25; }
.prose h3 { margin-top: 1.6em; font-size: 22px; line-height: 1.3; }
.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }

.prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 3px solid var(--brand);
    color: var(--text-2);
    font-size: 1.05em;
    font-style: italic;
}

.prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--muted-bg-2);
    font-family: var(--mono);
    font-size: .88em;
}

.prose pre {
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: 14px;
    background: var(--navy-900);
    color: #e2e8f0;
    font-size: 14px;
}

.prose pre code { padding: 0; background: none; }
.prose--lead { font-size: 18px; color: var(--text-2); }

.share-bar {
    margin-top: 56px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    color: var(--text-2);
    font-weight: 650;
}

.share-actions { display: flex; gap: 8px; }

.share-actions a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text-2);
    transition: color .2s ease, border-color .2s ease, transform .3s var(--ease);
}

.share-actions a:hover { border-color: var(--brand); color: var(--brand-ink); transform: translateY(-2px); }
.share-actions svg { width: 17px; height: 17px; fill: currentColor; }

/* Comentários e formulários */
.comment-list { margin-bottom: 32px; display: grid; gap: 12px; }

.comment {
    padding: 20px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    font-weight: 700;
}

.comment-meta { margin-bottom: 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.comment-meta time { color: var(--text-3); font-size: 13.5px; }
.comment p { color: var(--text-2); }

.form-card {
    padding: 32px;
    display: grid;
    gap: 20px;
    justify-items: start;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field { display: grid; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14.5px; font-weight: 650; }
.form-field label span { color: #d92d20; }

.form-field input,
.form-field textarea,
.catalog-search input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field textarea { resize: vertical; }

.form-field input:focus,
.form-field textarea:focus,
.catalog-search input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}

.comment-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Catálogo de integrações */
.catalog-tools {
    position: sticky;
    z-index: 5;
    top: calc(var(--header-h) + 12px);
    margin-bottom: 48px;
    padding: 14px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
}

.catalog-tools[hidden] { display: none; }
.catalog-tools .chip-nav { margin: 0; }
.catalog-tools-row { display: flex; align-items: center; gap: 14px; }
.catalog-search { position: relative; flex: 1 1 auto; min-width: 0; }

.catalog-search svg {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--text-4);
    stroke-width: 2;
    stroke-linecap: round;
    transform: translateY(-50%);
    pointer-events: none;
}

.catalog-search input { padding-left: 46px; padding-right: 44px; background: var(--muted-bg); }

.catalog-search-clear {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-3);
    font-size: 20px;
    cursor: pointer;
    transform: translateY(-50%);
}

.catalog-search-clear:hover { background: var(--muted-bg-2); color: var(--ink); }
.catalog-search-clear[hidden] { display: none; }
.catalog-count { flex: 0 0 auto; color: var(--text-3); font-size: 14px; font-weight: 600; }

.integration-groups { display: grid; gap: 56px; }

.integration-group-title {
    margin-bottom: 20px;
    padding-bottom: 12px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.integration-group-title h3 { font-size: 20px; }
.integration-group-title span { color: var(--text-3); font-size: 14px; font-weight: 600; }

.integration-card,
.integration-group { scroll-margin-top: 200px; }
.integration-card.is-filtered-out,
.integration-group.is-filtered-out { display: none !important; }

.integration-card { padding: 22px; }

.integration-card-top {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.integration-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    padding: 8px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--brand-ink);
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.integration-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

.integration-badges { display: grid; justify-items: end; gap: 6px; }

.tag--hot { background: #fff4e5; color: #c4320a; text-transform: uppercase; }

.integration-card .card-title { font-size: 17px; }
.integration-card .card-text { font-size: 14.5px; }
.integration-card .card-footer { padding-top: 18px; }

/* Passos numerados (como funciona) */
.step-list { display: grid; gap: 14px; counter-reset: none; }

.step-list-item {
    padding: 22px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04);
}

.step-list-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.step-list-item strong { display: block; color: #fff; font-size: 17px; }
.step-list-item p { margin-top: 4px; color: var(--on-dark-2); font-size: 15px; }

/* Detalhe da integração: conexão visual */
.connect-visual {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.connect-node {
    width: 120px;
    height: 120px;
    flex: 0 0 120px;
    padding: 18px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
}

.connect-node--brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    color: #fff;
    font-size: 44px;
    font-weight: 800;
}

.connect-node--partner { background: #fff; color: var(--brand-ink); font-size: 30px; font-weight: 800; text-transform: uppercase; }
.connect-node--partner img { max-width: 100%; max-height: 100%; object-fit: contain; }

.connect-line {
    position: relative;
    width: min(160px, 20vw);
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(140, 200, 255, .5) 0 8px, transparent 8px 14px);
}

.connect-line i {
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-light);
    box-shadow: 0 0 16px var(--brand-light);
    transform: translate(-50%, -50%);
    animation: ds-travel 2.4s var(--ease) infinite;
}

@keyframes ds-travel {
    0% { left: 0; opacity: 0; }
    15%, 85% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.hero-stat {
    padding: 8px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--on-dark-2);
}

.hero-stat strong { color: #fff; }

.split--top { align-items: start; }

/* Módulos e segmentos */
.module-card { gap: 0; }

.module-card-index {
    margin-bottom: 18px;
    color: var(--brand-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    font-variant-numeric: tabular-nums;
}

.module-card .tags { margin-top: 18px; }

.module-stack {
    padding: 20px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%),
        var(--muted-bg);
}

.module-stack-item {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-xs);
}

.module-stack-item span:last-child { display: grid; }
.module-stack-item small { color: var(--text-2); font-size: 14px; }

.media-frame {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.media-frame img { width: 100%; }

/* Documentos legais */
.doc-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.doc-toc {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--muted-bg);
}

.doc-toc strong {
    display: block;
    margin-bottom: 12px;
    color: var(--text-3);
    font-size: 12.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.doc-toc nav { display: grid; gap: 2px; }

.doc-toc a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--text-2);
    font-size: 14.5px;
    line-height: 1.35;
    transition: background-color .15s ease, color .15s ease;
}

.doc-toc a:hover { background: var(--surface); color: var(--ink); }
.doc-toc a.is-active { background: var(--surface); color: var(--brand-ink); font-weight: 650; box-shadow: var(--shadow-xs); }

.doc-body { display: grid; gap: 8px; max-width: 760px; }

.doc-section {
    padding: 28px 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.doc-section:last-child { border-bottom: 0; }

.doc-section-index {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--muted-bg-2);
    color: var(--brand-ink);
    font-size: 14px;
    font-weight: 800;
}

.doc-section .prose { font-size: 16.5px; }
.doc-section .prose h2 { margin: 6px 0 0; font-size: 22px; }

@media (max-width: 1050px) {
    .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .doc-toc { position: static; }
    .article-card--row { flex-direction: column; }
    .article-card--row .article-card-media { width: 100%; flex-basis: auto; aspect-ratio: 16 / 9; }
    .connect-visual { padding: 0; justify-content: flex-start; }
}

@media (max-width: 760px) {
    .catalog-tools { top: calc(var(--header-h) + 8px); padding: 10px; margin-bottom: 32px; }
    .catalog-count { display: none; }
    .chip-nav--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -10px; padding-inline: 10px; }
    .chip-nav--scroll::-webkit-scrollbar { display: none; }
    .chip-nav--scroll .chip { flex: 0 0 auto; }

    .integration-grid { gap: 10px; }
    .integration-card { padding: 16px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; }
    .integration-card-top { display: contents; }
    .integration-logo { grid-row: 1 / span 3; width: 56px; height: 56px; border-radius: 14px; }
    .integration-badges { grid-column: 2; grid-row: 3; justify-items: start; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
    .integration-card .card-title { grid-column: 2; grid-row: 1; font-size: 16px; }
    .integration-card .card-text { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 14px; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .integration-card .card-footer { position: absolute; inset: 0; padding: 0; opacity: 0; }
    .integration-card .card-footer .text-link { position: absolute; inset: 0; font-size: 0; }

    .check-panel { padding: 24px; }
    .form-card { padding: 22px; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .prose { font-size: 17px; }
    .prose h2 { font-size: 24px; }
    .doc-section { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .connect-node { width: 88px; height: 88px; flex-basis: 88px; border-radius: 24px; font-size: 32px; }
    .notice { margin-top: 28px; }
}

/* ---------------------------------------------------------------
   15. Responsivo
   --------------------------------------------------------------- */
@media (max-width: 1200px) {
    .grid--5,
    .logo-wall--5 { --cols: 4; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .showcase-float--slot-1,
    .showcase-float--slot-4 { left: 0; }
    .showcase-float--slot-2,
    .showcase-float--slot-3 { right: 0; }
}

@media (max-width: 1050px) {
    :root { --header-h: 68px; --section-y: 88px; }

    .main-nav,
    .header-actions { display: none; }
    .mobile-menu { display: grid; }

    .grid--4,
    .grid--5,
    .logo-wall--4,
    .logo-wall--5 { --cols: 3; }

    .hero--split .hero-inner,
    .split,
    .ecosystem--split .ecosystem-inner,
    .page-hero--with-aside .page-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }

    .hero--split .hero-copy { order: 0 !important; }
    .split--media-left .split-media { order: 0; }

    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento-card,
    .bento--showcase .bento-card,
    .bento--editorial .bento-card { grid-column: span 1 !important; grid-row: auto !important; min-height: 180px; }
    .bento--uniform { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
    .highlight:nth-child(3) { padding-left: 0; border-left: 0; }

    .app-mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .steps--timeline::before { display: none; }

    .insights { grid-template-columns: minmax(0, 1fr); }
    .insights--featured-right .insight-feature { order: 0; }
    .insights--columns .insight-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    :root { --gutter: 20px; --section-y: 72px; }

    .section--tight { padding-block: 48px; }
    .section-head { margin-bottom: 40px; }
    .section-actions { margin-top: 36px; }

    .grid,
    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5 { --cols: 1; gap: 14px; }

    .logo-wall { --cols: 2 !important; gap: 10px; }
    .logo-tile { min-height: 88px; padding: 14px; }

    .card { padding: 22px; }
    .card--row { gap: 14px; }

    .hero { padding-top: calc(var(--header-h) + 44px); }
    .hero-actions { width: 100%; flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .hero-trust {
        width: fit-content;
        margin-inline: auto;
        display: grid;
        justify-items: start;
        text-align: left;
        font-size: 14px;
    }

    .hero-showcase { width: calc(100% + 8px); margin: 44px -4px -90px; }
    .app-window { border-radius: 12px; --showcase-tilt: 0deg; }
    .app-window-url { font-size: 10.5px; }
    .app-window-spacer { display: none; }
    .app-mock { grid-template-columns: minmax(0, 1fr); font-size: 12px; }
    .app-mock-side { display: none; }
    .app-mock-main { padding: 12px; gap: 10px; }
    .app-mock-kpis { gap: 8px; }
    .app-mock-kpi { padding: 10px; }
    .app-mock-kpi strong { font-size: 16px; }
    .app-mock-body,
    .app-mock-split { grid-template-columns: minmax(0, 1fr); }
    .app-mock-list { display: none; }
    .app-mock-bars,
    .app-mock-line { height: 110px; }
    .app-mock-bars { gap: 5px; }
    .app-mock--reports .app-mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-mock--reports .app-mock-kpi:nth-child(3) { display: none; }
    .showcase-float { display: none; }

    .logo-marquee { padding: 130px 0 40px; }
    .logo-marquee-track { gap: 40px; animation-duration: 36s; }
    .logo-marquee-item img { max-width: 100px; max-height: 30px; }

    .highlights { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .highlight,
    .highlight:nth-child(3) { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
    .highlight:first-child { border-top: 0; padding-top: 0; }

    .bento,
    .bento--uniform { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .bento-card { min-height: 0; }
    .bento-card .card-title { margin-top: 0; }

    .orbit { --size: min(400px, 92vw); --radius: calc(var(--size) * .38); }
    .orbit-core { width: 92px; height: 92px; font-size: 16px; }
    .orbit-node-inner { width: 84px; margin: -28px 0 0 -42px; gap: 6px; }
    .orbit-node-icon { width: 42px; height: 42px; border-radius: 13px; }
    .orbit-node-icon svg { width: 18px; height: 18px; }
    .orbit-node-label { font-size: 11.5px; }

    .feature-list { grid-template-columns: minmax(0, 1fr) !important; }

    .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .steps--timeline .step { padding: 0 0 28px 72px; text-align: left; }
    .steps--timeline .step::before {
        content: "";
        position: absolute;
        top: 56px;
        bottom: 0;
        left: 27px;
        width: 2px;
        background: color-mix(in srgb, var(--brand) 25%, transparent);
    }
    .steps--timeline .step:last-child::before { display: none; }
    .steps--timeline .step-marker { position: absolute; top: 0; left: 0; margin: 0; }
    .steps--cards { gap: 12px; }

    .insight-feature { min-height: 340px; }
    .insight-feature-copy { padding: 24px; }
    .insight-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
    .insights--columns .insight-list { grid-template-columns: minmax(0, 1fr); }

    .faq--two,
    .faq--cards { grid-template-columns: minmax(0, 1fr); }
    .faq-item summary { padding: 16px 18px; font-size: 16px; }
    .faq-answer { padding: 0 18px 18px; }

    .section--cta { padding-block: 16px 72px; }
    .cta-band { padding: 48px 24px; border-radius: var(--radius-lg); }
    .cta-band-benefits { grid-template-columns: minmax(0, 1fr); gap: 14px; }

    .page-hero { padding: calc(var(--header-h) + 52px) 0 64px; }

    .footer-inner { padding-top: 56px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .mobile-sticky-cta {
        position: fixed;
        z-index: 90;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 10px;
        border-top: 1px solid var(--line-dark);
        background: color-mix(in srgb, var(--paint-header-bg, #011022) 94%, transparent);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        transform: translateY(110%);
        transition: transform .3s var(--ease);
    }

    .mobile-sticky-cta.is-visible { transform: translateY(0); }
    .mobile-sticky-cta--with-chat { padding-right: 84px; }
    .mobile-sticky-cta .btn { width: 100%; min-height: 48px; padding-inline: 12px; }
    .mobile-sticky-cta .btn-outline { border-color: rgba(190, 215, 245, .22); color: #fff; }
    html.mobile-nav-open .mobile-sticky-cta { transform: translateY(110%); }
    body.has-sticky-cta .site-footer { padding-bottom: 72px; }
}

@media (max-width: 760px) {
    /* Grades compactas: duas colunas em vez de listas longas. */
    .bento,
    .bento--uniform { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .bento-card { padding: 16px; }
    .bento-card .icon-badge { width: 38px; height: 38px; flex-basis: 38px; margin-bottom: 14px; border-radius: 11px; }
    .bento-card .icon-badge svg { width: 18px; height: 18px; }
    .bento-card .card-title { font-size: 15.5px; }
    .bento-card .card-text { margin-top: 4px; font-size: 13.5px; line-height: 1.45; }

    .doc-grid { --cols: 2 !important; gap: 10px; }
    .doc-card { padding: 16px; }
    .doc-card-icon { width: 34px; height: 34px; margin-bottom: 12px; }
    .doc-card-title { font-size: 20px; }
    .doc-card .card-text { margin-top: 4px; font-size: 13.5px; }
}

@media (max-width: 420px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

html,
body { overflow-x: clip; }

/* ---------------------------------------------------------------
   16. Movimento reduzido e impressão
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .logo-marquee-track { width: auto; flex-wrap: wrap; justify-content: center; animation: none !important; }
    .logo-marquee-item[aria-hidden="true"] { display: none; }
    .logo-marquee-viewport { -webkit-mask-image: none; mask-image: none; }
    .app-window { transform: none; }
}

@media print {
    .site-header,
    .mobile-navigation,
    .mobile-sticky-cta,
    .skip-link,
    .hero-bg { display: none !important; }
}
