:root {
    --bg: #071226;
    --bg-soft: #0d1a33;
    --bg-panel: rgba(255, 255, 255, 0.06);
    --bg-panel-strong: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.15);
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f4f7ff;
    --text-soft: #c7d1e7;
    --text-dim: #95a5c9;
    --brand: #4ce4a1;
    --brand-strong: #30cb88;
    --warn: #ff9b5c;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --shadow: 0 18px 48px rgba(2, 7, 20, 0.45);
    --font-body: "Manrope", sans-serif;
    --font-display: "Sora", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at 8% -5%, #244a8b 0%, transparent 36%),
        radial-gradient(circle at 100% 20%, #1f7a5e 0%, transparent 42%),
        linear-gradient(180deg, #060f20 0%, var(--bg) 52%, #060d19 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    z-index: 50;
    background: linear-gradient(90deg, #6ef9bf, #4ca2ff);
    box-shadow: 0 0 20px rgba(110, 249, 191, 0.7);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.section-padding {
    padding: 5.5rem 0;
}

.section-padding-sm {
    padding: 8.7rem 0 5rem;
}

.section-title {
    font-size: clamp(1.8rem, 3.6vw, 2.85rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 760px;
    color: var(--text-dim);
    font-size: 1.04rem;
    line-height: 1.75;
    margin-bottom: 2.3rem;
}

.alt-section {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 95%);
    pointer-events: none;
    z-index: -3;
}

.bg-light {
    position: fixed;
    border-radius: 999px;
    filter: blur(72px);
    pointer-events: none;
    z-index: -2;
}

.bg-light-one {
    width: 360px;
    height: 360px;
    top: 10%;
    left: -120px;
    background: rgba(67, 170, 255, 0.22);
}

.bg-light-two {
    width: 420px;
    height: 420px;
    top: 58%;
    right: -120px;
    background: rgba(76, 228, 161, 0.18);
}

.marketing-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 20;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(7, 14, 29, 0.78);
    backdrop-filter: blur(14px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 0;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
}

.nav-logo i {
    color: var(--brand);
}

.nav-actions {
    display: flex;
    gap: 0.65rem;
}

.nav-cta,
.nav-cta-outline,
.btn-primary-huge,
.btn-secondary-huge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: 220ms ease;
}

.nav-cta,
.nav-cta-outline {
    padding: 0.62rem 1.2rem;
    font-size: 0.92rem;
}

.nav-cta {
    color: #032214;
    background: var(--brand);
}

.nav-cta:hover {
    background: var(--brand-strong);
    transform: translateY(-1px);
}

.nav-cta-outline {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.nav-cta-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 5.3vw, 4.2rem);
    max-width: 920px;
    margin: 0 auto 1.1rem;
    background: linear-gradient(180deg, #ffffff 20%, #b9c9f3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.badge-marketing {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    border: 1px solid rgba(76, 228, 161, 0.5);
    background: rgba(76, 228, 161, 0.12);
    color: #93f6cc;
    text-transform: uppercase;
    font-size: 0.77rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.1rem;
}

.hero-subheadline {
    max-width: 760px;
    margin: 0 auto 1.8rem;
    color: var(--text-soft);
    font-size: 1.11rem;
    line-height: 1.72;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn-primary-huge,
.btn-secondary-huge {
    gap: 0.5rem;
    padding: 0.98rem 1.5rem;
    font-size: 1rem;
}

.btn-primary-huge {
    color: #032214;
    background: linear-gradient(130deg, #62f4b6, #34ce8d);
    box-shadow: 0 16px 40px rgba(52, 206, 141, 0.35);
    border: none;
    cursor: pointer;
}

.btn-primary-huge:hover {
    transform: translateY(-3px);
}

.btn-secondary-huge {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.btn-secondary-huge:hover {
    background: rgba(255, 255, 255, 0.09);
}

.hero-bullets {
    margin: 1.8rem auto 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: 980px;
}

.hero-bullets li {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(13, 24, 44, 0.8);
    padding: 0.92rem 1rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

.hero-product {
    margin: 2.2rem auto 0;
    width: min(880px, 100%);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 240ms ease;
}

.hero-product-main {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    padding: 0.8rem;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 28px 70px rgba(2, 7, 20, 0.62);
    backdrop-filter: blur(6px);
}

.hero-product-main img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
}

.hero-floating-card {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-soft);
    background: rgba(7, 15, 29, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 26px rgba(3, 7, 20, 0.5);
    animation: floatTag 6s ease-in-out infinite;
}

.hero-floating-card i {
    color: #8cf5cf;
}

.card-one {
    top: -12px;
    left: 3%;
}

.card-two {
    top: 18%;
    right: -10px;
    animation-delay: 1.2s;
}

.card-three {
    bottom: -12px;
    left: 14%;
    animation-delay: 2s;
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pain-grid,
.solution-grid,
.modules-grid,
.kpi-grid,
.proof-grid,
.plans-grid {
    display: grid;
    gap: 0.95rem;
}

.pain-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pain-card,
.solution-card,
.module-card,
.kpi-card,
.proof-panel,
.plan-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel);
    box-shadow: var(--shadow);
}

.pain-card {
    padding: 1.15rem;
}

.pain-icon {
    color: var(--warn);
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
}

.pain-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.38rem;
}

.pain-card p {
    color: var(--text-dim);
    line-height: 1.55;
    font-size: 0.9rem;
}

.solution-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-card {
    padding: 1.5rem;
}

.solution-card i {
    color: var(--brand);
    font-size: 1.4rem;
    margin-bottom: 0.55rem;
}

.solution-card h3 {
    font-size: 1.07rem;
    margin-bottom: 0.42rem;
}

.solution-card p {
    color: var(--text-dim);
    line-height: 1.6;
}

.modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-card {
    padding: 1.5rem;
}

.module-card h3 {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 1.15rem;
    margin-bottom: 0.72rem;
}

.module-card h3 i {
    color: var(--brand);
}

.module-card ul {
    list-style: none;
}

.module-card li {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.65;
    padding-left: 1.15rem;
    position: relative;
}

.module-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.64rem;
    background: var(--brand);
}

.kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-card {
    padding: 1.3rem;
    text-align: center;
}

.kpi-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.28rem;
    margin-bottom: 0.36rem;
}

.kpi-card p {
    color: var(--text-dim);
    line-height: 1.55;
    font-size: 0.92rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 0.76rem;
    max-width: 920px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--bg-panel);
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(76, 228, 161, 0.55);
    background: rgba(76, 228, 161, 0.17);
    color: #99f7d0;
    font-family: var(--font-display);
}

.step-content h3 {
    font-size: 1.08rem;
    margin-bottom: 0.34rem;
}

.step-content p {
    color: var(--text-dim);
    line-height: 1.65;
}

.proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-panel {
    padding: 1rem;
}

.proof-screen {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(145deg, rgba(22, 38, 68, 0.9), rgba(16, 29, 54, 0.9));
    border-radius: 14px;
    height: 280px;
    overflow: hidden;
    margin-bottom: 0.68rem;
}

.proof-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proof-panel p {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.96rem;
}

.platform-showcase {
    position: relative;
    overflow: hidden;
}

.product-carousel {
    margin-top: 0.4rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 1rem 1rem 1.15rem;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
    box-shadow: 0 26px 62px rgba(1, 5, 14, 0.58);
}

.carousel-track {
    position: relative;
    min-height: 530px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(20px) scale(0.985);
    transition: opacity 320ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.carousel-slide.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.99);
    transition: opacity 600ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.carousel-figure {
    height: 460px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(76, 228, 161, 0.22), rgba(9, 17, 32, 0.95) 62%);
}

.carousel-figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.carousel-caption {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.carousel-caption span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a9fad8;
    display: inline-block;
    width: fit-content;
    border: 1px solid rgba(76, 228, 161, 0.5);
    border-radius: 999px;
    padding: 0.2rem 0.64rem;
}

.carousel-caption h3 {
    color: var(--text-soft);
    font-size: 1.06rem;
}

.carousel-nav {
    position: absolute;
    top: calc(50% - 50px);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(5, 11, 22, 0.75);
    color: #eff4ff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 220ms ease;
    z-index: 3;
}

.carousel-nav:hover {
    background: rgba(14, 25, 44, 0.95);
    border-color: rgba(76, 228, 161, 0.58);
}

.carousel-nav.prev {
    left: 1.4rem;
}

.carousel-nav.next {
    right: 1.4rem;
}

.carousel-dots {
    margin-top: 0.88rem;
    display: flex;
    justify-content: center;
    gap: 0.42rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}

.carousel-dot.is-active {
    background: var(--brand);
    transform: scale(1.2);
}

.plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-card {
    padding: 1.5rem;
}

.plan-card h3 {
    font-size: 1.16rem;
    margin-bottom: 0.42rem;
}

.plan-card p {
    color: var(--text-dim);
    margin-bottom: 0.74rem;
    line-height: 1.6;
}

.plan-card ul {
    list-style: none;
}

.plan-card li {
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.6;
    padding-left: 1rem;
    position: relative;
}

.plan-card li::before {
    content: "•";
    color: var(--brand);
    position: absolute;
    left: 0;
}

.plan-card.featured {
    border-color: rgba(76, 228, 161, 0.45);
    background: linear-gradient(160deg, rgba(76, 228, 161, 0.14), rgba(255, 255, 255, 0.06));
}

.faq-wrap details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-panel);
    padding: 0.95rem 1rem;
    margin-bottom: 0.55rem;
}

.faq-wrap summary {
    cursor: pointer;
    font-family: var(--font-display);
}

.faq-wrap p {
    color: var(--text-dim);
    margin-top: 0.55rem;
    line-height: 1.65;
}

.final-cta-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
}

.cta-copy .section-subtitle {
    margin-bottom: 1.4rem;
}

.lead-form {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(12, 24, 46, 0.86);
    box-shadow: var(--shadow);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.44rem;
}

.lead-form label {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.2rem;
}

.lead-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.8rem;
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    font: inherit;
}

.lead-form input:focus {
    outline: none;
    border-color: rgba(76, 228, 161, 0.7);
    box-shadow: 0 0 0 3px rgba(76, 228, 161, 0.2);
}

.lead-form button {
    width: 100%;
    margin-top: 0.52rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2fd36a, #12a447);
    box-shadow: 0 14px 32px rgba(18, 164, 71, 0.45);
    font-size: 1.7rem;
    text-decoration: none;
    z-index: 30;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
}

.dev-signature-footer {
    border-top: 1px solid var(--line-soft);
    margin-top: 1rem;
    padding: 1.2rem 1rem 2.2rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.dev-signature-footer strong {
    color: #b8c9ef;
    font-family: var(--font-display);
    font-size: 0.92rem;
}

@media (max-width: 1080px) {
    .hero-bullets,
    .pain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-grid,
    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carousel-track {
        min-height: 470px;
    }

    .carousel-figure {
        height: 400px;
    }
}

@media (max-width: 760px) {
    .marketing-nav {
        position: sticky;
    }

    .nav-cta-outline {
        display: none;
    }

    .section-padding-sm {
        padding-top: 6.4rem;
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .hero-product {
        margin-top: 1.6rem;
    }

    .hero-product-main img {
        max-height: 240px;
    }

    .hero-floating-card {
        font-size: 0.72rem;
        padding: 0.36rem 0.6rem;
    }

    .card-one {
        top: -10px;
        left: 2%;
    }

    .card-two {
        top: auto;
        right: 2%;
        bottom: 52px;
    }

    .card-three {
        bottom: -12px;
        left: 4%;
    }

    .btn-primary-huge,
    .btn-secondary-huge {
        width: 100%;
    }

    .hero-bullets,
    .pain-grid,
    .solution-grid,
    .modules-grid,
    .kpi-grid,
    .proof-grid,
    .plans-grid,
    .final-cta-grid {
        grid-template-columns: 1fr;
    }

    .product-carousel {
        padding: 0.85rem 0.85rem 1rem;
    }

    .carousel-track {
        min-height: 350px;
    }

    .carousel-figure {
        height: 280px;
    }

    .carousel-caption h3 {
        font-size: 0.96rem;
    }

    .carousel-nav {
        top: calc(50% - 74px);
        width: 38px;
        height: 38px;
    }

    .carousel-nav.prev {
        left: 0.8rem;
    }

    .carousel-nav.next {
        right: 0.8rem;
    }

    .proof-screen {
        height: 240px;
    }

    .step-card {
        align-items: flex-start;
    }
}

/* Cadastro compatibility */
.reg-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

.reg-card {
    width: min(520px, 100%);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(12, 24, 46, 0.86);
    padding: 1.6rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.72rem 0.8rem;
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    font: inherit;
}

.form-control:focus {
    outline: none;
    border-color: rgba(76, 228, 161, 0.7);
    box-shadow: 0 0 0 3px rgba(76, 228, 161, 0.2);
}

.btn-primary {
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(130deg, #62f4b6, #34ce8d);
    color: #032214;
    font-weight: 800;
    padding: 0.85rem 1rem;
    cursor: pointer;
    width: 100%;
}

.full-width {
    width: 100%;
}
