/* ════════════════════════════════════════════════════════════
   DUBY · Nova LP (light) · design system
   ════════════════════════════════════════════════════════════ */
:root {
    --bg: #FFFFFF;
    --bg-soft: #F7F5FF;
    --bg-lilac: #EFEAFE;
    --line: #ECE8F8;
    --ink: #1A1033;
    --ink-2: #5B5675;
    --ink-3: #8B86A3;
    --purple: #6D28D9;
    --purple-600: #7C3AED;
    --purple-800: #4C1D95;
    --brand: #412884;
    --lilac: #EDE9FE;
    --grad: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 55%, #5B21B6 100%);
    --grad-text: linear-gradient(100deg, #7C3AED 0%, #6D28D9 45%, #A855F7 100%);
    --shadow-sm: 0 1px 2px rgba(26, 16, 51, .04), 0 4px 16px rgba(76, 29, 149, .05);
    --shadow-md: 0 2px 6px rgba(26, 16, 51, .04), 0 18px 40px -12px rgba(76, 29, 149, .16);
    --shadow-lg: 0 30px 80px -20px rgba(76, 29, 149, .32);
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --nav-h: 76px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--purple-600);
    outline-offset: 3px;
    border-radius: 8px;
}

[hidden] {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 64px;
}

.eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 14px;
}

h2 {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
}

.section-sub {
    margin-top: 16px;
    font-size: 18px;
    color: var(--ink-2);
}

.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--lilac);
    border: 1px solid #DDD3FD;
    color: var(--purple-800);
    font-size: 14px;
    font-weight: 600;
}

.pill-dark {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}

/* ─── Botões ─── */
.btn {
    --h: 52px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: var(--h);
    padding: 0 26px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.01em;
    white-space: nowrap;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
    -webkit-tap-highlight-color: transparent;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform .4s var(--ease);
}

.btn:hover svg:last-child {
    transform: translateX(3px);
}

.btn:active {
    transform: scale(.98);
}

.btn-primary {
    color: #fff;
    background: var(--grad);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -8px rgba(109, 40, 217, .55);
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .9s var(--ease);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 18px 36px -10px rgba(109, 40, 217, .6);
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

.btn-primary:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-ghost {
    color: var(--purple-800);
    background: #fff;
    border: 1.5px solid #D9CCFB;
}

.btn-ghost:hover {
    border-color: var(--purple-600);
    background: var(--bg-soft);
    transform: translateY(-2px);
}

.btn-ghost svg:first-child {
    width: 16px;
    height: 16px;
}

.btn-light {
    color: var(--purple-800);
    background: #fff;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35);
}

.btn-light:hover {
    transform: translateY(-2px);
}

.btn-sm {
    --h: 44px;
    padding: 0 18px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-block {
    width: 100%;
}

/* ════════════════ MENU ════════════════ */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 14px 0;
    transition: padding .5s var(--ease);
}

.nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 18px;
    transition: background .5s var(--ease), box-shadow .5s var(--ease), max-width .5s var(--ease), padding .5s var(--ease);
}

.nav.is-scrolled {
    padding: 10px 16px;
}

.nav.is-scrolled .nav-inner {
    max-width: 1180px;
    padding: 0 10px 0 22px;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 0 0 1px rgba(76, 29, 149, .07), 0 12px 32px -14px rgba(76, 29, 149, .22);
}

.nav-logo img {
    width: 105px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 34px;
}

.nav-links a {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    transition: color .3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--purple);
    transform: scaleX(0);
    transition: transform .4s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--purple);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .4s var(--ease), top .4s var(--ease);
}

.nav-toggle span:first-child {
    top: 17px;
}

.nav-toggle span:last-child {
    top: 25px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    top: 21px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    top: 21px;
    transform: rotate(-45deg);
}

.menu-mobile {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 110px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
}

.menu-mobile.is-open {
    opacity: 1;
    visibility: visible;
}

.menu-mobile nav {
    display: flex;
    flex-direction: column;
}

.menu-mobile nav a {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

/* ════════════════ HERO ════════════════ */
.hero {
    position: relative;
    padding: calc(var(--nav-h) + 72px) 0 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    top: -12%;
    right: -14%;
    width: 64%;
    height: 112%;
    border-radius: 0 0 0 260px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(0deg, transparent 0%, #000 18%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 26%), linear-gradient(0deg, transparent 0%, #000 18%);
    mask-composite: intersect;
    background:
        radial-gradient(60% 60% at 70% 30%, rgba(167, 139, 250, .55) 0%, transparent 70%),
        radial-gradient(50% 50% at 30% 80%, rgba(196, 181, 253, .55) 0%, transparent 70%),
        linear-gradient(160deg, #F3EEFF 0%, #E9E1FF 50%, #F5F1FF 100%);
    transform: translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform 1.2s var(--ease);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(109, 40, 217, .12) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(70% 60% at 75% 40%, #000 0%, transparent 70%);
    mask-image: radial-gradient(70% 60% at 75% 40%, #000 0%, transparent 70%);
    opacity: .55;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: 40px 56px;
    align-items: center;
}

.hero-copy .pill {
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 4.7vw, 62px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ink);
}

.hero-sub {
    margin-top: 24px;
    max-width: 520px;
    font-size: 19px;
    color: var(--ink-2);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.hero-proofs {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    gap: 28px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(109, 40, 217, .1);
}

.hero-proofs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.hero-proofs svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: var(--purple);
    stroke-width: 1.6;
}

/* ─── Motion graphic ─── */
.hero-visual {
    position: relative;
    perspective: 1600px;
}

.mg-frame {
    position: relative;
    width: 100%;
    padding: 10px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset, 0 0 0 1px rgba(76, 29, 149, .08), var(--shadow-lg), 0 0 120px -30px rgba(124, 58, 237, .45);
    transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg));
    transform-style: preserve-3d;
    transition: transform 1s var(--ease);
    will-change: transform;
}

/* stage is authored at 760×520 and scaled to fit (JS sets --mg-scale) */
.mg-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 760 / 520;
    border-radius: 18px;
    overflow: hidden;
    background: #0B0D1A;
}

.mg-window {
    position: absolute;
    top: 0;
    left: 0;
    width: 760px;
    height: 520px;
    transform: scale(var(--mg-scale, 1));
    transform-origin: 0 0;
    font-family: var(--font);
    color: #E8E9F3;
    background: radial-gradient(120% 80% at 80% 0%, rgba(109, 40, 217, .18), transparent 60%), #0B0D1A;
}

.mg-top {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mg-dots {
    display: flex;
    gap: 6px;
}

.mg-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FF5F57;
}

.mg-dots i:nth-child(2) {
    background: #FEBC2E;
}

.mg-dots i:nth-child(3) {
    background: #28C840;
}

.mg-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #9AA0BF;
}

.mg-brand img {
    width: 52px;
    height: auto;
}

.mg-period {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 11px;
    font-weight: 600;
    color: #C9CCE0;
}

.mg-period svg {
    width: 12px;
    height: 12px;
}

.mg-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mg-card {
    background: #12152A;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
}

.mg-kpi {
    padding: 11px 12px;
}

.mg-kpi small {
    display: block;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8D93B3;
}

.mg-kpi strong {
    display: block;
    margin-top: 6px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #7DD3FC;
    font-variant-numeric: tabular-nums;
}

.mg-kpi em {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-style: normal;
    color: #8D93B3;
}

.mg-kpi em b {
    font-weight: 700;
}

.mg-kpi em b.up {
    color: #34D399;
}

.mg-kpi em b.down {
    color: #F87171;
}

.mg-row {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 10px;
}

.mg-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 12px 0;
}

.mg-card-head strong {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.mg-legend {
    display: flex;
    gap: 10px;
    font-size: 9px;
    color: #8D93B3;
}

.mg-legend span::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: -1px;
}

.lg-in::before {
    background: #38BDF8;
}

.lg-out::before {
    background: #A78BFA;
}

.mg-svg {
    width: 100%;
    height: auto;
    padding: 4px 6px 6px;
}

.mg-svg text {
    font-family: var(--font);
}

.mg-alerts ul {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mg-alerts li {
    padding: 9px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    font-size: 10px;
    color: #9AA0BF;
    line-height: 1.4;
}

.mg-alerts li strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #fff;
}

.mg-alerts li strong::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FBBF24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, .15);
}

.mg-alerts li.ok strong::before {
    background: #34D399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, .15);
}

.mg-table {
    padding-bottom: 6px;
}

.mg-tr {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr .8fr;
    align-items: center;
    padding: 7px 12px;
    font-size: 10.5px;
    color: #D7D9EA;
    font-variant-numeric: tabular-nums;
}

.mg-th {
    padding-top: 9px;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8D93B3;
}

.mg-tr+.mg-tr {
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.mg-tr .tag {
    justify-self: start;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    color: #38BDF8;
    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .25);
}

.mg-tr .tag.neg {
    color: #F87171;
    background: rgba(248, 113, 113, .1);
    border-color: rgba(248, 113, 113, .25);
}

/* agent bubble over the dashboard */
.mg-agent {
    position: absolute;
    left: -40px;
    bottom: -30px;
    width: 284px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 0 0 1px rgba(76, 29, 149, .08), 0 24px 48px -16px rgba(76, 29, 149, .35);
    transform: translateZ(60px);
}

.mg-agent-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
}

.mg-agent-head .avatar-sm {
    grid-row: span 2;
}

.mg-agent-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.mg-agent-name strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.mg-agent-head small {
    font-size: 11.5px;
    line-height: 1.25;
    color: var(--ink-3);
    white-space: nowrap;
}

.mg-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
}

.mg-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    animation: live 1.6s ease-in-out infinite;
}

@keyframes live {
    50% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, .18);
    }
}

.mg-agent p {
    margin-top: 10px;
    min-height: calc(1.45em * 3);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.mg-agent p::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 14px;
    margin-left: 2px;
    vertical-align: -2px;
    background: var(--purple);
    animation: caret 1s steps(1) infinite;
}

@keyframes caret {
    50% {
        opacity: 0;
    }
}

/* ─── Avatares dos agentes ─── */
.avatar {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(140deg, #C4B5FD, #7C3AED);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 5px rgba(167, 139, 250, .5);
}

.avatar b {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-sm {
    width: 36px;
    height: 36px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(167, 139, 250, .6);
}

.avatar-sm b {
    font-size: 13px;
}

/* ════════════════ PARCEIROS ════════════════ */
.partners {
    padding: 40px 0 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.partners-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 24px;
}

.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 45s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 64px;
    padding-right: 64px;
}

.marquee-group img {
    height: 44px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    opacity: .6;
    transition: opacity .45s var(--ease), filter .45s var(--ease), transform .5s var(--ease);
}

/* hover: cor original da logo */
.marquee-group img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.06);
}

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

/* ════════════════ MÓDULOS ════════════════ */
.modules {
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 40%);
}

.modules .section-head {
    max-width: 1080px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.module-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 24px;
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}

.module-card::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    left: var(--mx, -999px);
    top: var(--my, -999px);
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(167, 139, 250, .18), transparent 65%);
    pointer-events: none;
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #DCD1FC;
}

.module-card.is-selected {
    border-color: var(--purple-600);
    box-shadow: 0 0 0 1px var(--purple-600), var(--shadow-md);
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 10px 20px -8px rgba(109, 40, 217, .6), 0 1px 0 rgba(255, 255, 255, .3) inset;
    margin-bottom: 22px;
}

.module-icon svg {
    width: 24px;
    height: 24px;
}

.module-card h3 {
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.025em;
    min-height: 2.3em;
}

.module-card>p {
    margin-top: 12px;
    font-size: 15px;
    color: var(--ink-2);
    min-height: 4.8em;
}

.checks {
    margin: 18px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.checks li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
}

.checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.module-price {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bg-lilac);
    color: var(--purple-800);
    transition: background .4s var(--ease), color .4s;
}

.mp-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.mp-value small {
    font-size: 14px;
    font-weight: 600;
}

.mp-action {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease);
}

.mp-action svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.6;
}

.module-price:hover .mp-action {
    transform: scale(1.05);
}

.module-card.is-selected .module-price {
    background: var(--grad);
    color: #fff;
}

.module-card.is-selected .mp-action {
    color: var(--purple-800);
}

/* ════════════════ AGENTES + SIMULADOR ════════════════ */
.build {
    padding-top: 40px;
}

.build-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.agents-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 40px 36px 36px;
    border-radius: var(--r-lg);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(80% 60% at 0% 0%, rgba(167, 139, 250, .45), transparent 60%),
        radial-gradient(70% 70% at 100% 100%, rgba(124, 58, 237, .6), transparent 60%),
        linear-gradient(150deg, #3B1580 0%, #4C1D95 45%, #2E1065 100%);
    box-shadow: var(--shadow-lg);
}

.agents-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
    mask-image: linear-gradient(180deg, #000, transparent 70%);
    pointer-events: none;
}

.agents-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: end;
}

.agents-copy h2 {
    margin-top: 18px;
    color: #fff;
    font-size: clamp(28px, 2.6vw, 36px);
}

.agents-aside p {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .78);
}

.agents-aside .btn {
    margin-top: 16px;
}

/* ─── Cards de retrato ─── */
.agents-grid {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.agent-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #fff;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    transition: transform .7s var(--ease), background .4s, border-color .4s, box-shadow .7s var(--ease);
}

.agent-photo {
    position: relative;
    display: block;
    flex: 1;
    min-height: 270px;
    overflow: hidden;
}

.agent-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    filter: saturate(.75) brightness(.92);
    transform: scale(1.02);
    transition: transform 1.1s var(--ease), filter .6s;
}

.agent-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 8, 60, 0) 42%, rgba(24, 8, 60, .55) 66%, rgba(24, 8, 60, .92) 100%);
}

.agent-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 0 14px 14px;
}

.agent-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.agent-icon svg {
    width: 17px;
    height: 17px;
}

.agent-info strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.agent-info small {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .72);
}

.agent-card:hover .agent-photo img,
.agent-card.is-active .agent-photo img {
    filter: none;
    transform: scale(1.07);
}

.agent-card:hover {
    border-color: rgba(255, 255, 255, .32);
}

.agent-card.is-active {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .6);
    box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .25) inset;
    transform: translateY(-4px);
}

.agent-progress {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    height: 3px;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .28);
    opacity: 0;
    transition: opacity .4s;
}

.agent-progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

.agent-card.is-active .agent-progress {
    opacity: 1;
}

/* ─── Console do agente ─── */
.agent-console {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset;
}

.ac-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ac-head .avatar-sm {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .5);
}

.ac-who strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.ac-who small {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, .68);
}

.ac-status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #A7F3D0;
    white-space: nowrap;
}

.ac-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    animation: live 1.6s ease-in-out infinite;
}

.ac-msg {
    margin-top: 12px;
    min-height: calc(1.55em * 3);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #fff;
}

.agent-console.is-typing .ac-msg::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 15px;
    margin-left: 2px;
    vertical-align: -2px;
    background: #C4B5FD;
    animation: caret 1s steps(1) infinite;
}

.ac-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.ac-chips span {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .24);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.agent-console.is-typing .ac-chips span {
    opacity: 0;
    transform: translateY(6px);
}

/* ─── Simulador ─── */
.sim {
    padding: 32px 28px 26px;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.sim-title {
    font-size: 30px;
    color: var(--purple-800);
}

.sim-sub {
    margin-top: 8px;
    font-size: 15px;
    color: var(--ink-2);
}

.sim-modules {
    margin: 22px 0 0;
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sim-opt {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background .3s;
}

.sim-opt:hover {
    background: var(--bg-soft);
}

.sim-opt input,
.sim-ai input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.box {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 1.5px solid #C9BDF5;
    display: grid;
    place-items: center;
    color: #fff;
    transition: background .3s var(--ease), border-color .3s, transform .3s var(--ease);
}

.box svg {
    width: 14px;
    height: 14px;
    stroke-width: 3.2;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .25s, transform .35s var(--ease);
}

.sim-opt input:checked+.box {
    background: var(--purple);
    border-color: var(--purple);
}

.sim-opt input:checked+.box svg {
    opacity: 1;
    transform: scale(1);
}

.sim-opt input:focus-visible+.box {
    outline: 2px solid var(--purple-600);
    outline-offset: 2px;
}

.sim-opt .name {
    font-size: 15px;
    font-weight: 600;
}

.sim-opt .price,
.sim-ai .price {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.sim-period {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 16px;
    padding: 4px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.sim-period button {
    position: relative;
    z-index: 1;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-2);
    transition: color .3s;
}

.sim-period button em {
    font-style: normal;
    font-size: 12px;
    color: #059669;
}

.sim-period button[aria-checked="true"] {
    color: var(--purple-800);
}

.seg-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc((100% - 8px) / 3);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(26, 16, 51, .06), 0 6px 14px -6px rgba(76, 29, 149, .25);
    transform: translateX(calc(var(--seg, 0) * 100%));
    transition: transform .5s var(--ease);
}

.sim-ai {
    position: relative;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    background: linear-gradient(180deg, #fff, var(--bg-soft));
    cursor: pointer;
    transition: border-color .3s;
}

.sim-ai:has(input:checked) {
    border-color: #C4B5FD;
}

.switch {
    width: 40px;
    height: 24px;
    border-radius: 999px;
    background: #DCD6EE;
    position: relative;
    transition: background .3s;
}

.switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(26, 16, 51, .2);
    transition: transform .45s var(--ease);
}

.sim-ai input:checked~.switch {
    background: var(--purple);
}

.sim-ai input:checked~.switch::after {
    transform: translateX(16px);
}

.sim-ai input:focus-visible~.switch {
    outline: 2px solid var(--purple-600);
    outline-offset: 2px;
}

.ai-name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 6px;
    font-size: 14px;
    font-weight: 700;
}

.ai-name svg {
    width: 16px;
    height: 16px;
    color: var(--purple);
}

.ai-name small {
    flex-basis: 100%;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-3);
}

.sim-summary {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}

.sim-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #D9D1F3;
}

.sim-line {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}

.sim-line.is-discount span:last-child {
    color: #059669;
    font-weight: 700;
}

.sim-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
}

.sim-total-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

.sim-total-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
    color: var(--purple-800);
    font-variant-numeric: tabular-nums;
}

.sim-total-per {
    font-size: 16px;
    font-weight: 700;
    color: var(--purple-800);
}

.sim-total-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
    font-size: 13px;
    color: var(--ink-2);
    padding-left: 14px;
    border-left: 1px solid #D9D1F3;
}

.sim-total-meta #simCobranca {
    font-weight: 700;
    color: var(--ink);
}

.sim-saving {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #ECFDF5;
    color: #047857;
    font-size: 13px;
    font-weight: 700;
}

.sim-saving svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sim-tip {
    margin-top: 10px;
    font-size: 13px;
    color: var(--purple);
    font-weight: 600;
}

.sim-tip:empty,
.sim-saving[hidden] {
    display: none;
}

.sim-empty {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #B45309;
}

.sim .btn-block {
    margin-top: 18px;
}

/* Implementação: só informa que existe, sem valor (definida na reunião) */
.sim-impl,
.lead-summary .ls-impl {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    line-height: 1.45;
    color: var(--ink-3);
}

.lead-summary .ls-impl {
    margin-top: 10px;
    padding-top: 10px;
    font-size: 12.5px;
}

.sim.is-empty .sim-impl {
    display: none;
}

.sim.is-empty .sim-total-value {
    color: var(--ink-3);
}

/* ════════════════ COMO FUNCIONA ════════════════ */
.how {
    padding-top: 80px;
}

.how-grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr);
    gap: 48px;
    align-items: start;
}

.how-head h2 {
    font-size: clamp(32px, 3.4vw, 42px);
}

.steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.steps-line {
    position: absolute;
    top: 34px;
    left: 34px;
    right: 12%;
    height: 2px;
    border-radius: 2px;
    background: var(--line);
}

.steps-line-fill {
    position: absolute;
    inset: 0;
    border-radius: 2px;
    background: var(--grad);
    transform: scaleX(var(--fill, 0));
    transform-origin: left;
}

.step {
    position: relative;
}

.step-icon {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--purple);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: background .6s var(--ease), color .6s, box-shadow .6s var(--ease), transform .6s var(--ease);
}

.step-icon svg {
    width: 26px;
    height: 26px;
}

.step.is-lit .step-icon {
    color: #fff;
    background: var(--grad);
    border-color: transparent;
    box-shadow: 0 14px 30px -10px rgba(109, 40, 217, .6);
    transform: scale(1.04);
}

.step h3 {
    margin-top: 22px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.step p {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--ink-2);
}

/* ════════════════ DEPOIMENTOS ════════════════ */
.testimonials {
    background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.videos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.video-card {
    margin: 0;
    width: 320px;
    max-width: 100%;
}

.video-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: 26px;
    overflow: hidden;
    background: var(--lilac);
    box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line), var(--shadow-lg);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(109, 40, 217, .78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, .35), 0 16px 40px -10px rgba(76, 29, 149, .7);
    transition: transform .5s var(--ease), opacity .3s;
}

.video-play:hover {
    transform: scale(1.08);
}

.video-play svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    fill: currentColor;
}

.video-card.is-playing .video-play {
    opacity: 0;
    pointer-events: none;
}

.video-card figcaption {
    margin-top: 22px;
    text-align: center;
}

.video-card figcaption strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
}

.video-card figcaption span {
    font-size: 14px;
    color: var(--ink-2);
}

/* ════════════════ RODAPÉ ════════════════ */
.footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand img {
    width: 110px;
    height: auto;
}

.footer-brand p {
    margin-top: 18px;
    max-width: 320px;
    font-size: 15px;
    color: var(--ink-2);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--purple-800);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    transition: background .3s, color .3s, transform .4s var(--ease);
}

.footer-social a:hover {
    color: #fff;
    background: var(--purple);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.footer-col a,
.footer-col button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--ink-2);
    transition: color .3s;
}

.footer-col a:hover,
.footer-col button:hover {
    color: var(--purple);
}

.footer-col svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-3);
}

.footer-dev {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-dev img {
    height: 18px;
    width: auto;
    opacity: .7;
    transition: opacity .3s;
}

.footer-dev:hover img {
    opacity: 1;
}

/* ════════════════ POP-UP ════════════════ */
.lead {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
}

.lead[hidden] {
    display: none;
}

.lead-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 16, 51, .38);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.lead-dialog {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 36px 32px 28px;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: 0 40px 100px -20px rgba(26, 16, 51, .45);
}

.lead-dialog:focus {
    outline: none;
}

.lead-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--ink-2);
    background: var(--bg-soft);
    transition: background .3s, transform .4s var(--ease);
}

.lead-close:hover {
    background: var(--lilac);
    transform: rotate(90deg);
}

.lead-close svg {
    width: 18px;
    height: 18px;
}

.lead-content h2 {
    margin-top: 14px;
    font-size: 30px;
}

.lead-summary {
    margin: 18px 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink-2);
}

.lead-summary .ls-mods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.lead-summary .ls-mods span {
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #DDD3FD;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--purple-800);
}

.lead-summary .ls-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.lead-summary .ls-total strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--purple-800);
    font-variant-numeric: tabular-nums;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.field label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
}

.field label span {
    color: var(--purple);
}

.field input {
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #FCFBFF;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.field input::placeholder {
    color: #A8A3BD;
}

.field input:focus {
    outline: none;
    border-color: var(--purple-600);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}

.field-error {
    display: none;
    font-size: 12px;
    font-weight: 600;
    color: #DC2626;
}

.field.has-error input {
    border-color: #F87171;
    background: #FEF2F2;
}

.field.has-error .field-error {
    display: block;
}

/* Campo invisível contra robôs (fora da tela, não some do DOM) */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #FEF2F2;
    color: #B91C1C;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

#leadSubmit:disabled {
    opacity: .7;
    cursor: wait;
}

.lead-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--ink-3);
}

.lead-privacy svg {
    width: 13px;
    height: 13px;
}

.lead-success {
    text-align: center;
    padding: 20px 8px 8px;
}

.lead-success h2 {
    margin-top: 22px;
    font-size: 28px;
}

.lead-success p {
    margin: 10px auto 26px;
    max-width: 360px;
    color: var(--ink-2);
}

.success-check {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 0 0 10px var(--lilac), 0 20px 40px -12px rgba(109, 40, 217, .6);
    animation: pop .7s var(--ease) both;
}

.success-check svg {
    width: 34px;
    height: 34px;
    stroke-width: 3;
}

@keyframes pop {
    from {
        transform: scale(.4);
        opacity: 0;
    }
}

body.is-locked {
    overflow: hidden;
}

/* ════════════════ RESPONSIVO ════════════════ */
@media (max-width: 1180px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .module-card h3,
    .module-card>p {
        min-height: 0;
    }

    .build-grid {
        grid-template-columns: 1fr;
    }

    .hero-proofs {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding-top: calc(var(--nav-h) + 40px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-proofs {
        justify-content: center;
        text-align: left;
    }

    .hero-blob {
        top: 38%;
        right: -30%;
        width: 120%;
        height: 70%;
        border-radius: 220px 0 0 0;
    }

    .mg-frame {
        transform: none;
    }

    .mg-agent {
        left: 12px;
        bottom: -48px;
    }

    /* tópicos centralizados entre a linha de cima e a faixa de logos */
    .hero {
        padding-bottom: 0;
    }

    .hero-proofs {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }

    .how-head {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 88px 0;
    }

    .section-head {
        margin-bottom: 44px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-sub {
        font-size: 17px;
    }

    .hero-ctas .btn {
        flex: 1 1 100%;
    }

    .hero-inner {
        row-gap: 52px;
    }

    .hero-proofs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
        margin-top: -12px;
        text-align: center;
    }

    .hero-proofs li {
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
        font-size: 13px;
    }

    .partners {
        padding-top: 32px;
    }

    .mg-frame {
        padding: 6px;
        border-radius: 18px;
    }

    .mg-stage {
        border-radius: 13px;
    }

    .mg-agent {
        position: relative;
        left: auto;
        bottom: auto;
        width: calc(100% - 24px);
        margin: -28px auto 0;
        transform: none;
    }

    .marquee-group {
        gap: 44px;
        padding-right: 44px;
    }

    .marquee-group img {
        height: 34px;
        max-width: 120px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .agents-panel {
        padding: 30px 20px 22px;
        gap: 22px;
    }

    .agents-head {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* cards em carrossel horizontal com snap */
    .agents-grid {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 62%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin: 0 -20px;
        padding: 6px 20px 8px;
        scroll-padding: 0 20px;
    }

    .agents-grid::-webkit-scrollbar {
        display: none;
    }

    .agent-card {
        scroll-snap-align: start;
    }

    .agent-photo {
        flex: none;
        height: 300px;
    }

    .ac-msg {
        font-size: 14.5px;
        min-height: calc(1.55em * 4);
    }

    .sim {
        padding: 26px 18px 22px;
    }

    .sim-opt .name {
        font-size: 14px;
    }

    .sim-total {
        flex-direction: column;
        align-items: flex-start;
    }

    .sim-total-meta {
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
        border-left: 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-left: 4px;
    }

    .steps-line {
        top: 34px;
        bottom: 60px;
        left: 37px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .steps-line-fill {
        transform: scaleY(var(--fill, 0));
        transform-origin: top;
    }

    .step {
        display: grid;
        grid-template-columns: 68px 1fr;
        column-gap: 18px;
    }

    .step-icon {
        grid-row: span 2;
    }

    .step h3 {
        margin-top: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .lead {
        padding: 0;
        align-items: end;
    }

    .lead-dialog {
        max-height: 92dvh;
        border-radius: 24px 24px 0 0;
        padding: 30px 20px 24px;
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ════════════════ MOVIMENTO REDUZIDO ════════════════ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .marquee-track {
        animation: none;
    }

    .mg-frame {
        transform: none;
    }
}

/* ─── Resumo flutuante do simulador ─── */
.sim-float {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 10px 10px 18px;
    border-radius: 16px;
    color: #fff;
    background: rgba(26, 16, 51, .92);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px -14px rgba(26, 16, 51, .55);
    font-size: 14px;
    transform: translate(-50%, 140%);
    opacity: 0;
    transition: transform .6s var(--ease), opacity .4s;
}

.sim-float.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
}

.sf-count {
    color: rgba(255, 255, 255, .7);
}

.sf-total {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.sf-go {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 11px;
    background: var(--grad);
    font-weight: 700;
}

.sf-go svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 720px) {
    .sim-float {
        width: calc(100% - 24px);
        justify-content: space-between;
        bottom: 12px;
    }
}

@media (max-width: 720px) {
    .ac-status span {
        display: none;
    }
}
