/* =========================================================
   DSIX Tecnologia — SAP-inspired Corporate Stylesheet
   ========================================================= */

:root {
    /* SAP-inspired corporate palette */
    --sap-blue: #0070f2;
    --sap-blue-dark: #0040b0;
    --sap-blue-light: #4a90ff;
    --sap-gold: #f0ab00;
    --sap-navy: #0a1f44;
    --sap-text: #1d2d3e;
    --sap-text-soft: #515559;
    --sap-text-mute: #76787c;
    --sap-bg: #ffffff;
    --sap-bg-alt: #f5f6f7;
    --sap-bg-hover: #ebf0f5;
    --sap-border: #e4e7eb;
    --sap-border-strong: #cdd2d6;
    --sap-dark: #1d2d3e;
    --sap-darker: #0a1929;

    --primary: var(--sap-blue);
    --primary-dark: var(--sap-blue-dark);
    --accent: var(--sap-gold);
    --text: var(--sap-text);
    --text-soft: var(--sap-text-soft);

    --radius-xs: 4px;
    --radius: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(10, 31, 68, .06);
    --shadow: 0 4px 12px rgba(10, 31, 68, .08);
    --shadow-lg: 0 16px 40px rgba(10, 31, 68, .12);

    --container: 1280px;
    --header-h: 104px;
    --topbar-h: 36px;

    --font-sans: '72', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.5;
    background: var(--sap-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-size: 16px;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color .2s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
}

ul {
    list-style: none;
}

/* ====== VIEW TRANSITIONS (entre páginas) ====== */
@view-transition {
    navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 280ms;
    animation-timing-function: cubic-bezier(.4, 0, .2, 1);
}

/* ====== SCROLL PROGRESS BAR ====== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sap-blue) 0%, var(--sap-blue-light) 50%, var(--sap-gold) 100%);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 1000;
    transition: transform 100ms linear;
    pointer-events: none;
}

/* ====== TILT (cards 3D leves no hover) ====== */
.tilt {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

/* ====== MAGNETIC (float WhatsApp segue cursor) ====== */
.float-whatsapp {
    will-change: transform;
}

/* Reduz movimento se o usuário preferir */
@media (prefers-reduced-motion: reduce) {

    .scroll-progress,
    .tilt,
    .float-whatsapp,
    .hero-product,
    .pulse-dot,
    .hp-dot,
    .orb,
    .grid-overlay {
        animation: none !important;
        transition: none !important;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }
}

/* ====== ACCESSIBILITY ====== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 999;
    background: var(--sap-blue);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius-xs) 0;
    font-weight: 700;
    text-decoration: none;
    transition: top .2s ease;
}

.skip-link:focus {
    top: 0;
    color: #fff;
    text-decoration: none;
}

/* Focus visible — destaca elemento focado via teclado */
:focus-visible {
    outline: 3px solid var(--sap-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.btn:focus-visible {
    outline-offset: 4px;
}

/* ====== UTILITIES ====== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.section-head {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-head.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--sap-navy);
    margin-bottom: 20px;
}

.section-head h2 strong {
    font-weight: 700;
}

.section-head p {
    font-size: 18px;
    color: var(--text-soft);
    line-height: 1.6;
    max-width: 640px;
}

.section-head.center p {
    margin-left: auto;
    margin-right: auto;
}

/* ====== BUTTONS (SAP-style retangular) ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 15px;
    transition: all .2s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.2;
    text-decoration: none !important;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(120deg, var(--sap-blue) 0%, var(--sap-blue-dark) 50%, var(--sap-blue) 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    color: #fff;
    border-color: var(--sap-blue);
    transition: background-position .6s ease, transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
    transition: left .8s ease;
    pointer-events: none;
}

.btn-primary:hover {
    background-position: 100% 50%;
    border-color: var(--sap-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 64, 176, .25);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    color: var(--sap-blue);
    border-color: var(--sap-blue);
}

.btn-outline:hover {
    background: var(--sap-blue);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--sap-blue);
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.btn-ghost:hover {
    color: var(--sap-blue-dark);
    border-bottom-color: var(--sap-blue-dark);
    background: transparent;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    padding: 16px 28px;
}

/* ====== TOPBAR ====== */
.topbar {
    background: var(--sap-darker);
    color: rgba(255, 255, 255, .8);
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    font-size: 13px;
}

.topbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.topbar a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color .2s ease;
}

.topbar a:hover {
    color: #fff;
}

.topbar svg {
    width: 14px;
    height: 14px;
}

.topbar-divider {
    color: rgba(255, 255, 255, .25);
}

/* ====== HEADER ====== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--sap-border);
    transition: box-shadow .2s ease;
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--sap-border), 0 4px 20px rgba(10, 31, 68, .06);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    background: var(--sap-gold);
    color: var(--sap-navy);
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: 2px;
    line-height: 1;
}

.brand img {
    height: 76px;
    width: auto;
    display: block;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--sap-text);
    padding: 12px 16px;
    border-radius: var(--radius-xs);
    transition: all .15s ease;
    text-decoration: none !important;
}

.nav-link:hover {
    background: var(--sap-bg-hover);
    color: var(--sap-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sap-text);
    background: transparent;
    transition: background .15s ease;
}

.icon-btn:hover {
    background: var(--sap-bg-hover);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sap-text);
    border-radius: 1px;
    transition: all .25s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ====== HERO (SAP-style, white, editorial) ====== */
.hero {
    position: relative;
    background: #fff;
    padding: 80px 0 40px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 580px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--sap-blue);
    margin-bottom: 24px;
}

/* Launch badge — destaca o lançamento do SaaS */
.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 112, 242, .1) 0%, rgba(240, 171, 0, .15) 100%);
    border: 1px solid rgba(0, 112, 242, .25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--sap-blue);
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sap-blue);
    box-shadow: 0 0 0 0 rgba(0, 112, 242, .55);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 112, 242, .55);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 112, 242, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 112, 242, 0);
    }
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--sap-navy);
    margin-bottom: 28px;
}

.hero-title strong {
    font-weight: 700;
    color: var(--sap-blue);
}

.hero-sub {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--text-soft);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--sap-border);
}

/* Trust checks (✓ +25 anos · ✓ +150 clientes...) */
.hero-checks {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--sap-border);
}

.hero-checks li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sap-text);
}

.hero-checks svg {
    width: 16px;
    height: 16px;
    color: #fff;
    background: var(--sap-blue);
    border-radius: 50%;
    padding: 3px;
    flex-shrink: 0;
}

.stat strong {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--sap-navy);
    margin-bottom: 4px;
    line-height: 1;
}

.stat span {
    font-size: 13px;
    color: var(--text-soft);
    letter-spacing: .3px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Hero visual editorial */
.hero-visual {
    position: relative;
    height: 580px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, #0070f2 0%, #00284f 100%);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(74, 144, 255, .35) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(240, 171, 0, .25) 0%, transparent 45%);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

/* Cards de produto SaaS no hero (FacilNF + CRM DSIX) */
.hero-product {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 1;
    width: 320px;
    border: 1px solid var(--sap-border);
}

.hero-product-1 {
    top: 50px;
    left: 30px;
    animation: float 6s ease-in-out infinite;
}

.hero-product-2 {
    bottom: 50px;
    right: 30px;
    animation: float 6s ease-in-out infinite 3s;
}

.hp-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: var(--sap-bg-alt);
    border-bottom: 1px solid var(--sap-border);
}

.hp-logo {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .5px;
}

.hp-logo-blue {
    background: linear-gradient(135deg, var(--sap-blue) 0%, var(--sap-blue-dark) 100%);
}

.hp-logo-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, var(--sap-blue) 100%);
}

.hp-head h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sap-navy);
    line-height: 1.1;
    margin: 0 0 2px 0;
}

.hp-head small {
    font-size: 11px;
    color: var(--text-soft);
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.hp-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, .08);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, .25);
    padding: 8px 12px;
    border-radius: var(--radius-xs);
    font-size: 12px;
    font-weight: 600;
}

.hp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: pulseDotGreen 2s infinite;
}

@keyframes pulseDotGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-soft);
}

.hp-row strong {
    color: var(--sap-navy);
    font-weight: 700;
    font-size: 14px;
}

.hp-green {
    color: #047857 !important;
}

.hp-orange {
    color: #d97706 !important;
}

.hp-funnel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.hp-stage {
    background: var(--sap-bg-alt);
    border: 1px solid var(--sap-border);
    border-radius: var(--radius-xs);
    padding: 10px 8px;
    text-align: center;
}

.hp-stage em {
    font-style: normal;
    display: block;
    font-size: 10px;
    color: var(--text-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 4px;
}

.hp-stage strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--sap-navy);
}

.hp-stage-won {
    background: rgba(16, 185, 129, .08);
    border-color: rgba(16, 185, 129, .3);
}

.hp-stage-won strong {
    color: #047857;
}

.hero-card-1 {
    top: 60px;
    left: 40px;
    width: 260px;
    animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
    bottom: 60px;
    right: 40px;
    width: 280px;
    animation: float 6s ease-in-out infinite 2s;
}

.hero-card-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    animation: float 6s ease-in-out infinite 4s;
}

.hero-card .hc-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    background: rgba(0, 112, 242, .1);
    color: var(--sap-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.hero-card .hc-icon svg {
    width: 22px;
    height: 22px;
}

.hero-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--sap-navy);
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
}

.hero-card .hc-bar {
    margin-top: 14px;
    height: 6px;
    background: var(--sap-bg-alt);
    border-radius: 3px;
    overflow: hidden;
}

.hero-card .hc-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--sap-blue) 0%, var(--sap-blue-light) 100%);
    border-radius: 3px;
    width: 78%;
    animation: barGrow 2s ease-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-card-3 {
    animation: floatCenter 6s ease-in-out infinite 4s;
}

@keyframes floatCenter {

    0%,
    100% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -62%);
    }
}

@keyframes barGrow {
    from {
        width: 0;
    }
}

/* ====== TRUST BAR ====== */
.trust-bar {
    background: var(--sap-bg-alt);
    padding: 48px 0;
    border-top: 1px solid var(--sap-border);
    border-bottom: 1px solid var(--sap-border);
}

.trust-bar .trust-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 28px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 56px;
}

.trust-logos img {
    max-height: 44px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%) opacity(.55);
    transition: all .25s ease;
}

.trust-logos img:hover {
    filter: grayscale(0%) opacity(1);
}

/* ====== PRODUTOS (SAP-style feature rows) ====== */
.produtos {
    padding: 100px 0;
    background: #fff;
}

.produto-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--sap-border);
}

.produto-row:last-child {
    border-bottom: 0;
}

.produto-row.reverse .produto-media {
    order: 2;
}

.produto-row.reverse .produto-info {
    order: 1;
}

.produto-media {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, #0070f2 0%, #00284f 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.produto-facilnf .produto-media {
    background: #fff;
    border: 1px solid var(--sap-border);
    aspect-ratio: 4/3;
}

.produto-facilnf .produto-media img {
    width: auto;
    max-height: 100%;
    object-fit: contain;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    background: var(--sap-bg-hover);
    color: var(--sap-blue);
    border: 1px solid rgba(0, 112, 242, .25);
}

.badge-blue {
    background: rgba(0, 112, 242, .08);
    color: var(--sap-blue);
}

.badge-sky {
    background: rgba(14, 165, 233, .08);
    color: #0284c7;
    border-color: rgba(14, 165, 233, .25);
}

.produto-info h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--sap-navy);
    margin-bottom: 12px;
}

.produto-info h3 strong {
    font-weight: 700;
    color: var(--sap-blue);
}

.produto-tagline {
    font-size: 19px;
    font-weight: 600;
    color: var(--sap-navy);
    margin-bottom: 16px;
    line-height: 1.4;
}

.produto-desc {
    color: var(--text-soft);
    margin-bottom: 28px;
    line-height: 1.65;
    font-size: 16px;
}

.produto-features {
    margin-bottom: 36px;
}

.produto-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    color: var(--sap-text);
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid var(--sap-border);
}

.produto-features li:last-child {
    border-bottom: 0;
}

.produto-features svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--sap-blue);
    margin-top: 1px;
}

.produto-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ====== CRM Mock ====== */
.crm-mock {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset;
}

.mock-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--sap-bg-alt);
    border-radius: var(--radius-xs);
    padding: 10px 14px;
}

.mock-brand {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--sap-blue);
    font-weight: 500;
    letter-spacing: .3px;
}

.mock-brand strong {
    font-weight: 800;
    color: var(--sap-navy);
}

.mock-userchip .avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sap-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.mock-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.metric-card {
    background: var(--sap-bg-alt);
    border-radius: var(--radius-xs);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--sap-border);
}

.metric-card em {
    font-style: normal;
    font-size: 10px;
    color: var(--text-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 6px;
}

.metric-card strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--sap-navy);
    letter-spacing: -.02em;
}

.m-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-icon svg {
    width: 16px;
    height: 16px;
}

.m-blue {
    background: rgba(0, 112, 242, .12);
    color: var(--sap-blue);
}

.m-orange {
    background: rgba(240, 171, 0, .15);
    color: #b87900;
}

.m-green {
    background: rgba(16, 185, 129, .12);
    color: #059669;
}

.mock-pipeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    flex: 1;
    min-height: 0;
}

.mock-col {
    background: var(--sap-bg-alt);
    border-radius: var(--radius-xs);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--sap-border);
}

.mock-col h6 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--sap-text);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.mock-col h6 em {
    margin-left: auto;
    font-style: normal;
    background: #fff;
    color: var(--text-soft);
    border: 1px solid var(--sap-border);
    border-radius: 2px;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 700;
}

.dot-stage {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-card {
    background: #fff;
    border-radius: var(--radius-xs);
    padding: 8px 10px;
    border: 1px solid var(--sap-border);
    border-left: 3px solid var(--sap-blue);
    animation: slideIn .6s ease-out backwards;
    cursor: grab;
    transition: transform .2s ease;
}

.mock-card:nth-child(2) {
    animation-delay: .1s;
}

.mock-card:nth-child(3) {
    animation-delay: .2s;
}

.mock-card.dragging {
    transform: rotate(-1.5deg) translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 112, 242, .2);
}

.mock-card.won {
    background: #ecfdf5;
    border-left-color: #10b981;
}

.mock-card strong {
    display: block;
    color: var(--sap-navy);
    font-size: 11px;
    font-weight: 700;
    margin: 4px 0 2px;
    line-height: 1.3;
}

.mock-card small {
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 600;
}

.temp-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 2px 7px;
    border-radius: 2px;
}

.tag-hot {
    background: #fee2e2;
    color: #dc2626;
}

.tag-warm {
    background: #fef3c7;
    color: #b87900;
}

.tag-won {
    background: #d1fae5;
    color: #059669;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====== SOFTWARE SOB DEMANDA ====== */
.sob-demanda {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid var(--sap-border);
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.cap-card {
    background: #fff;
    border: 1px solid var(--sap-border);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.cap-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sap-blue) 0%, var(--sap-blue-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.cap-card:hover {
    border-color: var(--sap-blue);
    box-shadow: var(--shadow-lg);
}

.cap-card:hover::before {
    transform: scaleX(1);
}

.cap-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xs);
    background: linear-gradient(135deg, rgba(0, 112, 242, .1) 0%, rgba(74, 144, 255, .15) 100%);
    color: var(--sap-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all .25s ease;
}

.cap-card:hover .cap-icon {
    background: var(--sap-blue);
    color: #fff;
}

.cap-icon svg {
    width: 28px;
    height: 28px;
}

.cap-card h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--sap-navy);
    margin-bottom: 12px;
    line-height: 1.25;
}

.cap-card p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 72px;
}

.cap-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--sap-border);
}

.cap-stack li {
    background: var(--sap-bg-alt);
    color: var(--sap-text);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--sap-border);
    letter-spacing: .2px;
    transition: all .2s ease;
}

.cap-card:hover .cap-stack li {
    background: rgba(0, 112, 242, .08);
    color: var(--sap-blue);
    border-color: rgba(0, 112, 242, .25);
}

.sob-demanda-cta {
    text-align: center;
    background: var(--sap-bg-alt);
    border: 1px solid var(--sap-border);
    border-radius: var(--radius-md);
    padding: 56px 32px;
}

.sob-demanda-cta h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--sap-navy);
    margin-bottom: 12px;
    line-height: 1.2;
}

.sob-demanda-cta p {
    color: var(--text-soft);
    font-size: 17px;
    margin-bottom: 28px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== DIFERENCIAIS ====== */
.diferenciais {
    padding: 100px 0;
    background: var(--sap-bg-alt);
}

.dif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-top: 1px solid var(--sap-border);
    border-left: 1px solid var(--sap-border);
}

.dif-card {
    padding: 40px 32px;
    background: #fff;
    border-right: 1px solid var(--sap-border);
    border-bottom: 1px solid var(--sap-border);
    transition: all .25s ease;
    position: relative;
}

.dif-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sap-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.dif-card:hover {
    background: var(--sap-bg-hover);
}

.dif-card:hover::before {
    transform: scaleX(1);
}

.dif-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xs);
    background: rgba(0, 112, 242, .08);
    color: var(--sap-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.dif-icon svg {
    width: 28px;
    height: 28px;
}

.dif-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--sap-navy);
    line-height: 1.25;
}

.dif-card p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* ====== SOBRE ====== */
.sobre {
    padding: 100px 0;
    background: #fff;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-text h2 {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--sap-navy);
    margin-bottom: 24px;
}

.sobre-text h2 strong {
    font-weight: 700;
    color: var(--sap-blue);
}

.sobre-text p {
    color: var(--text-soft);
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.7;
}

.sobre-text blockquote {
    margin-top: 32px;
    padding: 24px 28px;
    background: var(--sap-bg-alt);
    border-left: 4px solid var(--sap-blue);
    font-size: 17px;
    color: var(--sap-navy);
    line-height: 1.5;
}

.sobre-text blockquote strong {
    font-weight: 700;
}

.sobre-img {
    position: relative;
    border-radius: var(--radius-md);
    overflow: visible;
}

.sobre-img img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--sap-gold);
    padding: 20px 28px;
    border-radius: var(--radius-xs);
    box-shadow: var(--shadow-lg);
}

.floating-badge strong {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--sap-navy);
    line-height: 1;
    margin-bottom: 4px;
}

.floating-badge span {
    font-size: 12px;
    color: var(--sap-navy);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ====== CLIENTES ====== */
.clientes {
    padding: 80px 0;
    background: var(--sap-bg-alt);
    border-top: 1px solid var(--sap-border);
    border-bottom: 1px solid var(--sap-border);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    border-top: 1px solid var(--sap-border);
    border-left: 1px solid var(--sap-border);
    background: #fff;
}

.cliente-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 20px;
    background: #fff;
    border-right: 1px solid var(--sap-border);
    border-bottom: 1px solid var(--sap-border);
    transition: all .25s ease;
    height: 120px;
}

.cliente-logo img {
    max-height: 56px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(.6);
    transition: all .25s ease;
}

.cliente-logo:hover {
    background: var(--sap-bg-hover);
}

.cliente-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* ====== CTA STRIP ====== */
.cta-strip {
    background: linear-gradient(135deg, var(--sap-blue) 0%, var(--sap-navy) 100%);
    padding: 80px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .5;
}

.cta-strip .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr auto;
    align-items: center;
    gap: 40px;
}

.cta-strip h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.cta-strip h2 strong {
    font-weight: 700;
}

.cta-strip p {
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    max-width: 640px;
}

.cta-strip .btn-primary {
    background: var(--sap-gold);
    border-color: var(--sap-gold);
    color: var(--sap-navy);
}

.cta-strip .btn-primary:hover {
    background: #d99700;
    border-color: #d99700;
    color: var(--sap-navy);
}

/* ====== CONTATO ====== */
.contato {
    padding: 100px 0;
    background: #fff;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contato-info h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--sap-navy);
    margin-bottom: 20px;
}

.contato-info h2 strong {
    font-weight: 700;
    color: var(--sap-blue);
}

.contato-info>p {
    color: var(--text-soft);
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}

.contato-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--sap-border);
}

.ci-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    background: rgba(0, 112, 242, .08);
    color: var(--sap-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-icon svg {
    width: 22px;
    height: 22px;
}

.contato-list strong {
    display: block;
    color: var(--sap-navy);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 4px;
}

.contato-list span,
.contato-list a {
    color: var(--text-soft);
    font-size: 16px;
    text-decoration: none;
}

.contato-list a:hover {
    color: var(--sap-blue);
    text-decoration: underline;
}

/* Form */
.contato-form {
    background: var(--sap-bg-alt);
    border: 1px solid var(--sap-border);
    border-radius: var(--radius-md);
    padding: 48px;
}

.contato-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--sap-navy);
}

.contato-form .form-sub {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 28px;
}

.field {
    margin-bottom: 20px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    padding: 14px 18px;
    border-radius: var(--radius-xs);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.5;
}

.form-alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--sap-text);
    margin-bottom: 8px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.field input,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--sap-border-strong);
    border-radius: var(--radius-xs);
    color: var(--sap-text);
    font-family: inherit;
    font-size: 15px;
    transition: all .15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: var(--sap-text-mute);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sap-blue);
    box-shadow: 0 0 0 3px rgba(0, 112, 242, .15);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

/* ====== LEGAL PAGE (Política de Privacidade / Termos) ====== */
.legal-page {
    background: var(--sap-bg-alt);
    padding: 64px 0 96px;
    min-height: 60vh;
}

.legal-container {
    max-width: 880px;
    background: #fff;
    border: 1px solid var(--sap-border);
    border-radius: var(--radius-md);
    padding: 56px 64px;
    box-shadow: var(--shadow-sm);
}

.legal-header {
    border-bottom: 1px solid var(--sap-border);
    padding-bottom: 32px;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--sap-navy);
    margin: 8px 0 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.legal-meta {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.legal-toc {
    background: var(--sap-bg-alt);
    border: 1px solid var(--sap-border);
    border-radius: var(--radius-xs);
    padding: 28px 32px;
    margin-bottom: 48px;
}

.legal-toc h2 {
    font-size: 14px !important;
    font-weight: 700;
    color: var(--sap-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px !important;
    padding: 0 !important;
    border: 0 !important;
}

.legal-toc ol {
    list-style: decimal;
    padding-left: 20px;
    columns: 2;
    column-gap: 32px;
}

.legal-toc li {
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-soft);
}

.legal-toc a {
    color: var(--sap-blue);
    text-decoration: none;
}

.legal-toc a:hover {
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--sap-navy);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--sap-blue);
    display: inline-block;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sap-navy);
    margin: 24px 0 10px;
}

.legal-section p {
    color: var(--sap-text);
    line-height: 1.7;
    margin-bottom: 14px;
    font-size: 16px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}

.legal-section li {
    color: var(--sap-text);
    line-height: 1.7;
    margin-bottom: 8px;
    font-size: 16px;
}

.legal-section a {
    color: var(--sap-blue);
    text-decoration: underline;
    font-weight: 600;
}

.legal-section a:hover {
    color: var(--sap-blue-dark);
}

.legal-contact-card {
    background: var(--sap-bg-alt);
    border-left: 4px solid var(--sap-blue);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    padding: 24px 28px;
    margin-top: 16px;
}

.legal-contact-card p {
    margin-bottom: 8px !important;
}

.legal-back {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--sap-border);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 32px 0 48px;
    }

    .legal-container {
        padding: 28px 20px;
        border-radius: var(--radius-xs);
    }

    .legal-header h1 {
        font-size: clamp(26px, 6vw, 32px);
    }

    .legal-toc {
        padding: 20px 22px;
    }

    .legal-toc ol {
        columns: 1;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }
}

/* Linha de consentimento do formulário */
.consent-line {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 4px;
    text-align: center;
}

.consent-line a {
    color: var(--sap-blue);
    text-decoration: underline;
    font-weight: 600;
}

/* ====== FOOTER ====== */
.site-footer {
    background: var(--sap-darker);
    color: rgba(255, 255, 255, .65);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 56px;
    padding-bottom: 56px;
}

.footer-brand img {
    height: 88px;
    width: auto;
    margin-bottom: 24px;
    display: block;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--sap-blue);
    color: #fff;
}

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

.footer-links h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.footer-links a,
.footer-links span {
    display: block;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    margin-bottom: 12px;
    transition: color .15s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
}

.footer-legal a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ====== FLOAT WHATSAPP ====== */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
    z-index: 50;
    transition: transform .25s ease;
    text-decoration: none !important;
}

.float-whatsapp:hover {
    transform: scale(1.08);
    color: #fff;
}

.float-whatsapp svg {
    width: 28px;
    height: 28px;
}

/* ====== REVEAL ANIMATIONS ====== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ====== RESPONSIVE ====== */
/* ============= TABLET (≤1024) ============= */
@media (max-width: 1024px) {
    .cap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-visual {
        height: auto;
        min-height: 460px;
        padding: 24px;
    }

    .produto-row,
    .sobre-grid,
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .produto-row.reverse .produto-media,
    .produto-row.reverse .produto-info {
        order: 0;
    }

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

    .cta-strip .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-checks {
        justify-content: flex-start;
    }
}

/* ============= TABLET PEQUENO (≤860) — cards do hero empilhados ============= */
@media (max-width: 860px) {

    /* Cards de produto do hero empilham em coluna sem position:absolute */
    .hero-visual {
        background: transparent;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 0;
    }

    .hero-visual::before,
    .hero-visual::after {
        display: none;
    }

    .hero-product {
        position: static;
        width: 100%;
        max-width: 100%;
        animation: none;
    }

    .hero-product-1,
    .hero-product-2,
    .hero-product-3 {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none;
    }
}

/* ============= MOBILE (≤768) ============= */
@media (max-width: 768px) {
    :root {
        --header-h: 80px;
    }

    .brand img {
        height: 56px;
    }

    .topbar {
        display: none;
    }

    .container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 16px;
        border-bottom: 1px solid var(--sap-border);
        transform: translateY(-110%);
        opacity: 0;
        transition: all .3s ease;
        align-items: stretch;
        box-shadow: var(--shadow);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }

    .primary-nav.open {
        transform: translateY(0);
        opacity: 1;
    }

    .primary-nav .nav-link {
        padding: 16px;
        border-bottom: 1px solid var(--sap-border);
        font-size: 16px;
        border-radius: 0;
    }

    .nav-actions {
        display: none;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-checks {
        gap: 14px;
        padding-top: 24px;
    }

    .hero-checks li {
        font-size: 13px;
    }

    .launch-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .produtos,
    .sob-demanda,
    .diferenciais,
    .sobre,
    .contato,
    .clientes {
        padding: 64px 0;
    }

    /* Cards de capacidades em coluna única */
    .cap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cap-card {
        padding: 28px 24px;
    }

    .cap-card p {
        min-height: 0;
    }

    .sob-demanda-cta {
        padding: 40px 24px;
    }

    /* Produtos */
    .produto-row {
        padding: 48px 0;
    }

    .produto-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .produto-cta .btn,
    .produto-cta .btn-ghost {
        width: 100%;
        text-align: center;
    }

    /* Mock CRM — pipeline 3 cols apertado, reduz padding/fonte */
    .mock-metrics {
        gap: 6px;
    }

    .metric-card strong {
        font-size: 16px;
    }

    .metric-card em {
        font-size: 9px;
    }

    .mock-col {
        padding: 6px;
    }

    .mock-col h6 {
        font-size: 9px;
        gap: 4px;
    }

    .mock-card {
        padding: 6px 8px;
    }

    .mock-card strong {
        font-size: 10px;
    }

    .mock-card small {
        font-size: 9px;
    }

    /* Form e contato */
    .contato-form {
        padding: 28px 20px;
    }

    .floating-badge {
        bottom: -16px;
        left: 16px;
        padding: 14px 18px;
    }

    .floating-badge strong {
        font-size: 22px;
    }

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

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

    .float-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .trust-logos {
        gap: 28px;
    }

    .trust-logos img {
        max-height: 36px;
        max-width: 100px;
    }

    /* Diferenciais — grid bordado força 1 col em mobile */
    .dif-grid {
        grid-template-columns: 1fr;
    }

    /* CTA strip */
    .cta-strip .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Hero produtos com layout interno mais leve */
    .hp-funnel {
        gap: 4px;
    }

    .hp-stage {
        padding: 8px 6px;
    }

    .hp-stage strong {
        font-size: 16px;
    }
}

/* ============= MOBILE PEQUENO (≤480) ============= */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    /* Hero title mais comprimido */
    .hero-title {
        font-size: clamp(34px, 9vw, 44px);
    }

    /* Trust-logos ainda menores */
    .trust-logos {
        gap: 20px;
    }

    .trust-logos img {
        max-height: 32px;
        max-width: 90px;
    }

    /* Clientes-grid em 2 colunas (em vez de auto-fit que pode ser 1) */
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cliente-logo {
        height: 90px;
        padding: 16px 10px;
    }

    .cliente-logo img {
        max-height: 44px;
    }

    /* Mock CRM em 480 — esconder pipeline interno seria perder valor; reduz mais */
    .mock-pipeline {
        gap: 4px;
    }

    .mock-card {
        padding: 5px 7px;
    }

    .temp-tag {
        font-size: 8px;
        padding: 1px 5px;
    }

    /* Capabilities pills */
    .cap-stack li {
        font-size: 11px;
        padding: 4px 9px;
    }

    /* Fallback do título do produto */
    .produto-info h3 {
        font-size: clamp(26px, 7vw, 32px);
    }

    /* Topbar (já some em 768, garantindo) */
    .topbar {
        display: none;
    }
}
