/* ==========================================================================
   SystemPort v2 — Design System "Blueprint / Command Center"
   Tipografia e cores originais (Cabin, #1976d2, #3e57d0, #0b0b31)
   Estética ousada: navy dominante, grade técnica, números gigantes,
   bento grid, marquee, glow elétrico (base: Claude Cookbook aesthetics)
   ========================================================================== */

:root {
    --sp-font: 'Cabin', sans-serif;

    --sp-navy: #0b0b31;
    --sp-navy-deep: #070722;
    --sp-primary: #1976d2;
    --sp-primary-dark: #0d47a1;
    --sp-accent: #3e57d0;
    --sp-electric: #4da3ff;
    --sp-text: #0b0b31;
    --sp-text-muted: #5f5f5f;
    --sp-surface: #ffffff;
    --sp-surface-alt: #f7f9fc;
    --sp-border: rgba(11, 11, 49, 0.1);
    --sp-border-glow: rgba(77, 163, 255, 0.25);

    --sp-notch: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
    --sp-notch-sm: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);

    --sp-nav-height: 72px;
    --sp-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sp-stagger: 0.07s;

    /* Grade técnica (blueprint) */
    --sp-grid-dark:
        linear-gradient(rgba(77, 163, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 163, 255, 0.05) 1px, transparent 1px);
    --sp-grid-light:
        linear-gradient(rgba(25, 118, 210, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 118, 210, 0.05) 1px, transparent 1px);
}

/* ---- Base (Cabin preservada) ---- */
html { scroll-behavior: smooth; }

body {
    font-family: var(--sp-font) !important;
    color: var(--sp-text);
    background: var(--sp-surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sp-font) !important;
    font-weight: 700 !important;
    color: var(--sp-text);
}

p {
    font-family: var(--sp-font) !important;
    color: var(--sp-text-muted);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

a { color: var(--sp-primary); transition: color var(--sp-transition); }
a:hover { color: var(--sp-accent); }

::selection { background: var(--sp-primary); color: #fff; }

/* ---- Utilidades ---- */
.sp-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sp-primary);
    margin-bottom: 18px;
}

.sp-section-tag::before {
    content: '';
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent));
}

.sp-section-header {
    position: relative;
    margin-bottom: 56px;
    max-width: 780px;
}

.sp-section-header h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem) !important;
    line-height: 1.18 !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
}

/* Número fantasma gigante das seções */
.sp-ghost-num {
    position: absolute;
    top: -34px;
    right: -8px;
    font-family: var(--sp-font);
    font-size: clamp(90px, 13vw, 170px);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 118, 210, 0.18);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.sp-on-dark .sp-ghost-num { -webkit-text-stroke-color: rgba(77, 163, 255, 0.14); }
.sp-on-dark h2 { color: #fff !important; }
.sp-on-dark .sp-section-tag { color: var(--sp-electric); }

/* ---- Scroll reveal ---- */
.sp-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.sp-reveal.is-visible { opacity: 1; transform: translateY(0); }
.sp-reveal-delay-1 { transition-delay: calc(var(--sp-stagger) * 1); }
.sp-reveal-delay-2 { transition-delay: calc(var(--sp-stagger) * 2); }
.sp-reveal-delay-3 { transition-delay: calc(var(--sp-stagger) * 3); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-area { display: none !important; }

.sp-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--sp-nav-height);
    background: rgba(7, 7, 34, 0.78);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(77, 163, 255, 0.14);
    transition: background var(--sp-transition), box-shadow var(--sp-transition), border-color var(--sp-transition);
}

.sp-navbar.is-scrolled,
.sp-navbar.is-inner {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--sp-border);
    box-shadow: 0 4px 24px rgba(11, 11, 49, 0.08);
}

.sp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--sp-nav-height);
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-nav-logo img { height: 42px; width: auto; }

.sp-nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sp-nav-item { position: relative; }

.sp-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-family: var(--sp-font);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color var(--sp-transition), background var(--sp-transition);
    cursor: pointer;
    border: none;
    background: none;
}

.sp-navbar.is-scrolled .sp-nav-link,
.sp-navbar.is-inner .sp-nav-link { color: var(--sp-text); }

.sp-nav-link:hover {
    color: var(--sp-electric) !important;
    background: rgba(77, 163, 255, 0.08);
}

.sp-nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 264px;
    background: var(--sp-navy-deep);
    border: 1px solid rgba(77, 163, 255, 0.18);
    clip-path: var(--sp-notch-sm);
    box-shadow: 0 20px 56px rgba(7, 7, 34, 0.5);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--sp-transition), transform var(--sp-transition), visibility var(--sp-transition);
    list-style: none;
    margin: 0;
}

.sp-nav-item:hover .sp-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sp-nav-dropdown .sp-nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    width: 100%;
    font-weight: 500;
}

.sp-nav-dropdown .sp-nav-link:hover {
    color: var(--sp-electric) !important;
    background: rgba(77, 163, 255, 0.1);
}

.sp-nav-actions { display: flex; align-items: center; gap: 12px; }

.sp-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.sp-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform var(--sp-transition), opacity var(--sp-transition);
}

.sp-navbar.is-scrolled .sp-nav-toggle span,
.sp-navbar.is-inner .sp-nav-toggle span { background: var(--sp-navy); }

.sp-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sp-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.sp-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 992px) {
    .sp-nav-toggle { display: none; }
    .sp-nav-menu-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
        position: static;
        transform: none;
        background: transparent;
        padding: 0;
    }
    .sp-nav-item.has-dropdown > .sp-nav-link::after {
        content: '';
        width: 6px; height: 6px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-1px);
        margin-left: 2px;
    }
}

@media (max-width: 991px) {
    .sp-nav-toggle { display: flex; }
    .sp-nav-menu-wrap {
        position: fixed;
        top: var(--sp-nav-height);
        left: 0; right: 0; bottom: 0;
        background: var(--sp-navy-deep);
        padding: 24px;
        transform: translateX(100%);
        transition: transform var(--sp-transition);
        overflow-y: auto;
        z-index: 999;
        flex-direction: column;
        align-items: stretch;
        display: flex;
    }
    .sp-nav-menu-wrap.is-open { transform: translateX(0); }
    .sp-nav-menu { flex-direction: column; align-items: stretch; }
    .sp-nav-link { color: rgba(255,255,255,0.88) !important; padding: 14px 16px; font-size: 15px; }
    .sp-nav-dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none; clip-path: none; padding-left: 12px; display: none;
        background: rgba(77, 163, 255, 0.06); margin-top: 4px;
    }
    .sp-nav-item.is-open .sp-nav-dropdown { display: block; }
    .sp-nav-actions { margin-top: 24px; }
    .sp-nav-actions .default-btn { width: 100%; text-align: center; }
}

/* ==========================================================================
   HERO BLUEPRINT — módulos do sistema
   ========================================================================== */
.hero-native.hero-blueprint {
    height: 64vh !important;
    min-height: 540px;
    max-height: 660px;
    position: relative;
    overflow: hidden;
    background: var(--sp-navy-deep);
}

.hero-blueprint .hero-slide {
    position: relative;
    background-size: cover;
    background-position: center right;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        var(--sp-grid-dark),
        linear-gradient(100deg,
            rgba(7, 7, 34, 0.98) 0%,
            rgba(7, 7, 34, 0.92) 40%,
            rgba(11, 11, 49, 0.55) 70%,
            rgba(25, 118, 210, 0.22) 100%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
}

/* Glow orbital animado */
.hero-blueprint::after {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.22) 0%, transparent 65%);
    top: -260px;
    right: -180px;
    z-index: 2;
    pointer-events: none;
    animation: spOrb 9s ease-in-out infinite alternate;
}

@keyframes spOrb {
    from { transform: translate(0, 0) scale(1); opacity: 0.8; }
    to { transform: translate(-60px, 50px) scale(1.12); opacity: 1; }
}

.hero-blueprint .hero-slide .container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--sp-nav-height);
    padding-bottom: 56px;
}

.hero-panel {
    position: relative;
    max-width: 660px;
    animation: heroIn 0.75s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Número gigante vazado atrás do conteúdo */
.hero-watermark {
    position: absolute;
    top: -64px;
    left: -22px;
    font-family: var(--sp-font);
    font-size: clamp(100px, 12vw, 150px);
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(77, 163, 255, 0.18);
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sp-electric);
    padding: 8px 16px;
    border: 1px solid rgba(77, 163, 255, 0.3);
    clip-path: var(--sp-notch-sm);
    background: rgba(25, 118, 210, 0.1);
    margin-bottom: 16px;
}

.hero-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--sp-electric);
    box-shadow: 0 0 12px var(--sp-electric);
    animation: spPulse 2s ease-in-out infinite;
}

@keyframes spPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero-panel .title-text {
    font-family: var(--sp-font) !important;
    font-size: clamp(1.8rem, 3.8vw, 2.8rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.08 !important;
    letter-spacing: -0.015em;
    margin-bottom: 10px !important;
}

.hero-panel > p {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 15px !important;
    font-weight: 500;
    margin-bottom: 18px !important;
    max-width: 540px;
}

.hero-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px 0;
    display: grid;
    gap: 0;
    border-left: 2px solid rgba(77, 163, 255, 0.3);
}

.hero-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-family: var(--sp-font);
    font-weight: 500;
    line-height: 1.45;
    padding: 4px 0 4px 16px;
    position: relative;
}

.hero-feature-list li::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--sp-electric);
    transition: height 0.3s ease;
}

.hero-feature-list li:hover::before { height: 70%; }

.hero-feature-list li i {
    color: var(--sp-electric) !important;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Barra de comando do slider */
.hero-command-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 32px 18px;
    max-width: 1320px;
    margin: 0 auto;
}

.hero-progress {
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-electric));
    box-shadow: 0 0 14px rgba(77, 163, 255, 0.7);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dots {
    position: static !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

.hero-dots button {
    width: 42px !important;
    height: 4px !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    transition: background var(--sp-transition), width var(--sp-transition), box-shadow var(--sp-transition) !important;
}

.hero-dots button:hover { background: rgba(255, 255, 255, 0.45) !important; }

.hero-dots button.is-active {
    width: 64px !important;
    background: var(--sp-electric) !important;
    box-shadow: 0 0 12px rgba(77, 163, 255, 0.8) !important;
}

/* ==========================================================================
   AUTORIDADE — posicionamento no mercado
   ========================================================================== */
.sp-authority {
    position: relative;
    padding: 110px 0 90px;
    background:
        var(--sp-grid-light),
        linear-gradient(180deg, #ffffff 0%, var(--sp-surface-alt) 100%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
    overflow: hidden;
}

.sp-authority-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sp-authority-content h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.9rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 22px !important;
}

.sp-authority-content p { margin-bottom: 34px; }

.sp-authority-visual { position: relative; }

/* Moldura técnica com cantos marcados */
.sp-authority-frame {
    position: relative;
    padding: 14px;
}

.sp-authority-frame::before,
.sp-authority-frame::after {
    content: '';
    position: absolute;
    width: 46px;
    height: 46px;
    z-index: 2;
}

.sp-authority-frame::before {
    top: 0; left: 0;
    border-top: 3px solid var(--sp-primary);
    border-left: 3px solid var(--sp-primary);
}

.sp-authority-frame::after {
    bottom: 0; right: 0;
    border-bottom: 3px solid var(--sp-accent);
    border-right: 3px solid var(--sp-accent);
}

.sp-authority-frame img {
    display: block;
    width: 100%;
    clip-path: var(--sp-notch);
    box-shadow: 0 32px 80px rgba(11, 11, 49, 0.16);
}

/* ==========================================================================
   STATS — números de mercado
   ========================================================================== */
.sp-stats {
    position: relative;
    background: var(--sp-navy-deep);
    padding: 90px 0;
    overflow: hidden;
}

.sp-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        var(--sp-grid-dark),
        radial-gradient(ellipse 60% 90% at 50% 110%, rgba(25, 118, 210, 0.18) 0%, transparent 60%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
    pointer-events: none;
}

.sp-stats-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    z-index: 1;
}

.sp-stat {
    text-align: center;
    padding: 28px 20px;
    position: relative;
}

.sp-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 72px;
    background: linear-gradient(180deg, transparent, rgba(77, 163, 255, 0.4), transparent);
}

.sp-stat-value {
    display: block;
    font-family: var(--sp-font);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.sp-stat-value .sp-plus {
    color: var(--sp-electric);
    text-shadow: 0 0 18px rgba(77, 163, 255, 0.7);
}

.sp-stat-label {
    display: inline-block;
    font-family: var(--sp-font);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 14px;
    border-top: 1px solid rgba(77, 163, 255, 0.25);
}

/* ==========================================================================
   BENTO — funcionalidades do sistema
   ========================================================================== */
.sp-capabilities {
    position: relative;
    padding: 110px 0;
    background: var(--sp-surface);
}

.sp-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.sp-bento-card {
    position: relative;
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    clip-path: var(--sp-notch);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--sp-transition), border-color var(--sp-transition);
}

.sp-bento-card.is-wide { grid-column: span 2; }

/* Linha de energia no rodapé do card */
.sp-bento-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent), var(--sp-electric));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--sp-border-glow);
    box-shadow: 0 24px 56px rgba(11, 11, 49, 0.12);
}

.sp-bento-card:hover::after { transform: scaleX(1); }

.sp-bento-num {
    font-family: var(--sp-font);
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 118, 210, 0.3);
    margin-bottom: 18px;
    transition: -webkit-text-stroke-color var(--sp-transition);
}

.sp-bento-card:hover .sp-bento-num { -webkit-text-stroke-color: var(--sp-primary); }

.sp-bento-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 118, 210, 0.08);
    border: 1px solid rgba(25, 118, 210, 0.15);
    transition: background var(--sp-transition), transform var(--sp-transition);
}

.sp-bento-card:hover .sp-bento-icon {
    background: rgba(25, 118, 210, 0.14);
    transform: rotate(-4deg) scale(1.06);
}

.sp-bento-icon img { width: 32px; height: 32px; border-radius: 0; }

.sp-bento-card h3 {
    font-size: 1.25rem !important;
    margin-bottom: 12px !important;
}

.sp-bento-card p {
    font-size: 14px;
    margin-bottom: 22px;
    flex-grow: 1;
}

.sp-cap-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sp-font);
    font-size: 14px;
    font-weight: 700;
    color: #ff0000 !important;
    text-decoration: none;
    transition: gap var(--sp-transition);
}

.sp-cap-link:hover { gap: 12px; }

/* ==========================================================================
   PROCESSOS — etapas gigantes
   ========================================================================== */
.sp-process {
    position: relative;
    padding: 110px 0;
    background:
        var(--sp-grid-dark),
        linear-gradient(180deg, var(--sp-navy-deep) 0%, var(--sp-navy) 100%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
    overflow: hidden;
}

.sp-process .process-tabs-native { margin-top: 0 !important; }

.sp-process .tab-labels {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 !important;
    margin: 0 0 0 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(77, 163, 255, 0.18);
}

.sp-process .tab-labels li { margin: 0 !important; }

.sp-process .tab-labels label {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    padding: 26px 22px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.45) !important;
    font-family: var(--sp-font) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer;
    position: relative;
    transition: color var(--sp-transition), background var(--sp-transition) !important;
    width: 100%;
}

.sp-process .tab-labels label::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-electric));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-process .tab-labels label:hover { color: rgba(255, 255, 255, 0.85) !important; }

.sp-step-num {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(77, 163, 255, 0.35);
    transition: color var(--sp-transition), -webkit-text-stroke-color var(--sp-transition);
}

.sp-process .process-tabs-native #process-tab-1:checked ~ .tab-labels label[for="process-tab-1"],
.sp-process .process-tabs-native #process-tab-2:checked ~ .tab-labels label[for="process-tab-2"],
.sp-process .process-tabs-native #process-tab-3:checked ~ .tab-labels label[for="process-tab-3"],
.sp-process .process-tabs-native #process-tab-4:checked ~ .tab-labels label[for="process-tab-4"] {
    color: #fff !important;
    background: rgba(25, 118, 210, 0.08) !important;
}

.sp-process .process-tabs-native #process-tab-1:checked ~ .tab-labels label[for="process-tab-1"]::after,
.sp-process .process-tabs-native #process-tab-2:checked ~ .tab-labels label[for="process-tab-2"]::after,
.sp-process .process-tabs-native #process-tab-3:checked ~ .tab-labels label[for="process-tab-3"]::after,
.sp-process .process-tabs-native #process-tab-4:checked ~ .tab-labels label[for="process-tab-4"]::after {
    transform: scaleX(1);
}

.sp-process .process-tabs-native #process-tab-1:checked ~ .tab-labels label[for="process-tab-1"] .sp-step-num,
.sp-process .process-tabs-native #process-tab-2:checked ~ .tab-labels label[for="process-tab-2"] .sp-step-num,
.sp-process .process-tabs-native #process-tab-3:checked ~ .tab-labels label[for="process-tab-3"] .sp-step-num,
.sp-process .process-tabs-native #process-tab-4:checked ~ .tab-labels label[for="process-tab-4"] .sp-step-num {
    color: var(--sp-electric);
    -webkit-text-stroke-color: transparent;
}

.sp-process .tab-panels { padding-top: 52px; }

.sp-process-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.sp-process-content h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem) !important;
    color: #fff !important;
    margin-bottom: 18px !important;
}

.sp-process-content p { color: rgba(255, 255, 255, 0.68) !important; }

.sp-check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    border-left: 2px solid rgba(77, 163, 255, 0.3);
}

.sp-check-list li {
    font-family: var(--sp-font);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 7px 0 7px 18px;
    font-size: 15px;
}

.sp-check-list li i { color: var(--sp-electric) !important; margin-right: 8px; }

.sp-process-image {
    position: relative;
    padding: 12px;
}

.sp-process-image::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 42px; height: 42px;
    border-top: 3px solid var(--sp-electric);
    border-right: 3px solid var(--sp-electric);
    z-index: 2;
}

.sp-process-image img {
    width: 100%;
    clip-path: var(--sp-notch);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   DEPOIMENTOS — marquee duplo
   ========================================================================== */
.sp-testimonials {
    position: relative;
    padding: 110px 0;
    background: var(--sp-surface-alt);
    overflow: hidden;
}

.sp-testimonials .container { position: relative; z-index: 1; }

.sp-marquee {
    overflow: hidden;
    margin: 0 -24px;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.sp-marquee + .sp-marquee { margin-top: 22px; }

.sp-marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: spMarquee 48s linear infinite;
}

.sp-marquee.is-reverse .sp-marquee-track { animation-direction: reverse; }
.sp-marquee:hover .sp-marquee-track { animation-play-state: paused; }

@keyframes spMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.sp-quote-card {
    width: 440px;
    flex-shrink: 0;
    background: var(--sp-surface);
    border: 1px solid var(--sp-border);
    border-top: 3px solid var(--sp-primary);
    clip-path: var(--sp-notch-sm);
    padding: 30px 28px 26px;
    position: relative;
    transition: border-color var(--sp-transition), box-shadow var(--sp-transition);
}

.sp-quote-card:hover {
    border-color: var(--sp-border-glow);
    box-shadow: 0 16px 44px rgba(11, 11, 49, 0.1);
}

.sp-quote-mark {
    position: absolute;
    top: 14px;
    right: 24px;
    font-family: Georgia, serif;
    font-size: 72px;
    line-height: 1;
    color: rgba(25, 118, 210, 0.14);
    pointer-events: none;
}

.sp-quote-card .rating-box ul {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    color: #f0c14b;
    font-size: 13px;
}

.sp-quote-card .testimonial-content p {
    font-size: 14.5px;
    line-height: 1.7;
    margin: 0 0 16px;
}

.sp-quote-card .bio-info h3 {
    font-size: 12px !important;
    letter-spacing: 0.12em;
    color: var(--sp-primary) !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sp-quote-card .bio-info h3::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--sp-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-subscribe-wrapper,
.copyright-area { display: none !important; }

.sp-footer {
    position: relative;
    background:
        var(--sp-grid-dark),
        linear-gradient(180deg, var(--sp-navy) 0%, var(--sp-navy-deep) 100%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
    color: rgba(255, 255, 255, 0.75);
}

.sp-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent), var(--sp-electric));
}

.sp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding: 80px 24px;
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
}

.sp-footer h3 {
    font-family: var(--sp-font) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 22px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sp-footer .sp-footer-col > h3::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--sp-electric);
}

.sp-footer p { color: rgba(255, 255, 255, 0.55); font-size: 14px; }

.sp-footer-links { list-style: none; padding: 0; margin: 0; }
.sp-footer-links li { margin-bottom: 10px; }
.sp-footer-links a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--sp-transition), padding-left var(--sp-transition);
}
.sp-footer-links a:hover { color: var(--sp-electric); padding-left: 6px; }

.sp-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    list-style: none;
    padding: 0;
}

.sp-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(77, 163, 255, 0.06);
    border: 1px solid rgba(77, 163, 255, 0.18);
    clip-path: var(--sp-notch-sm);
    color: rgba(255, 255, 255, 0.7);
    transition: background var(--sp-transition), color var(--sp-transition);
}
.sp-footer-social a:hover {
    background: var(--sp-primary);
    color: #fff;
}

.sp-footer-contact-item { display: flex; gap: 14px; margin-bottom: 20px; }
.sp-footer-contact-item i { color: var(--sp-electric); font-size: 18px; margin-top: 2px; }
.sp-footer-contact-item h3 {
    font-size: 11px !important;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 4px !important;
}
.sp-footer-contact-item h3::before { display: none; }
.sp-footer-contact-item span,
.sp-footer-contact-item a { color: rgba(255, 255, 255, 0.75); font-size: 14px; }

.sp-copyright {
    border-top: 1px solid rgba(77, 163, 255, 0.12);
    padding: 20px 24px;
    text-align: center;
    position: relative;
}
.sp-copyright p { color: rgba(255, 255, 255, 0.38); font-size: 13px; margin: 0; }

/* ==========================================================================
   BOTÕES (cores e animação originais)
   ========================================================================== */
.default-btn {
    border-radius: 0 !important;
    clip-path: var(--sp-notch-sm);
    font-family: var(--sp-font) !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    background-color: var(--sp-primary) !important;
    box-shadow: 0 7px 25px rgba(25, 118, 210, 0.35) !important;
}

.default-btn span {
    display: block !important;
    background-color: var(--sp-accent) !important;
    border-radius: 0 !important;
}

.default-btn-one {
    border-radius: 0 !important;
    clip-path: var(--sp-notch-sm);
    font-family: var(--sp-font) !important;
    font-weight: 700 !important;
    color: var(--sp-primary) !important;
    background-color: #fff !important;
    border: 1px solid rgba(25, 118, 210, 0.3) !important;
    box-shadow: 0 7px 25px rgba(123, 104, 238, 0.18) !important;
    margin-left: 10px;
}

.default-btn-one span { display: block !important; border-radius: 0 !important; }

/* ==========================================================================
   PÁGINAS INTERNAS
   ========================================================================== */
.page-title-area {
    background:
        var(--sp-grid-dark),
        linear-gradient(120deg, var(--sp-navy-deep) 0%, var(--sp-navy) 70%, rgba(25, 118, 210, 0.5) 130%) !important;
    background-size: 56px 56px, 56px 56px, 100% 100% !important;
    padding-top: calc(var(--sp-nav-height) + 52px) !important;
    padding-bottom: 52px !important;
    position: relative;
}

.page-title-area::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent), var(--sp-electric));
}

.page-title-content h2 {
    font-family: var(--sp-font) !important;
    font-size: clamp(1.85rem, 3.2vw, 2.6rem) !important;
    color: #fff !important;
}

.page-title-content ul li,
.page-title-content ul li a { color: rgba(255, 255, 255, 0.6); }
.page-title-content ul li a:hover { color: var(--sp-electric); }

.div-gray { background: var(--sp-surface-alt) !important; padding: 80px 0 !important; }
.section-padding { padding: 100px 0 !important; }

/* ---- Forms ---- */
.form-control, .form-select {
    font-family: var(--sp-font) !important;
    border-radius: 0 !important;
    border: 1px solid var(--sp-border) !important;
}
.form-control:focus, .form-select:focus {
    border-color: var(--sp-primary) !important;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.14) !important;
}

.promo-section {
    border: 1px solid var(--sp-border);
    border-left: 4px solid var(--sp-primary);
    clip-path: var(--sp-notch-sm);
    background: var(--sp-surface-alt);
}

/* ---- WhatsApp ---- */
.go-top-whatsapp {
    position: fixed !important;
    /* acima do botão azul do chat (widget fixo em bottom 20px, 60px de altura), centralizado com ele */
    bottom: 94px !important;
    right: 22px !important;
    width: 56px !important;
    height: 56px !important;
    background: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35) !important;
    z-index: 999 !important;
    transition: transform 0.25s ease !important;
}
.go-top-whatsapp:hover { transform: scale(1.08); }
.go-top-icon { width: 28px; height: 28px; color: #fff; }

/* ---- Modal ---- */
.modal { background: rgba(7, 7, 34, 0.88) !important; }
.modal-content { border-radius: 0 !important; clip-path: var(--sp-notch-sm); border: none !important; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 991px) {
    .sp-authority-grid { grid-template-columns: 1fr; gap: 48px; }
    .sp-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .sp-stat:nth-child(2)::after { display: none; }
    .sp-bento { grid-template-columns: 1fr 1fr; }
    .sp-bento-card.is-wide { grid-column: span 2; }
    .sp-process .tab-labels { grid-template-columns: repeat(2, 1fr); }
    .sp-process-content { grid-template-columns: 1fr; gap: 36px; }
    .sp-quote-card { width: 340px; }
    .hero-native.hero-blueprint { height: auto !important; min-height: 520px; max-height: none; }
    .hero-blueprint .hero-slide .container { padding-top: calc(var(--sp-nav-height) + 24px); padding-bottom: 70px; }
    .hero-watermark { top: -52px; font-size: 96px; }
    .sp-ghost-num { font-size: 90px; top: -22px; }
}

@media (max-width: 640px) {
    .sp-bento { grid-template-columns: 1fr; }
    .sp-bento-card.is-wide { grid-column: span 1; }
    .sp-stats-grid { grid-template-columns: 1fr; }
    .sp-stat::after { display: none !important; }
    .sp-process .tab-labels { grid-template-columns: 1fr 1fr; }
    .sp-process .tab-labels label { padding: 18px 14px !important; font-size: 13px !important; }
    .sp-step-num { font-size: 28px; }
    .sp-footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 60px 24px; }
    .sp-quote-card { width: 300px; }
}

@media (max-width: 991px) and (min-width: 641px) {
    .sp-footer-grid { grid-template-columns: 1fr 1fr; padding: 60px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .sp-reveal, .hero-panel { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
    .sp-marquee-track { animation: none !important; }
    .hero-blueprint::after { animation: none !important; }
}

/* ==========================================================================
   PÁGINAS INTERNAS — Blueprint (Planos, Express, Full, FAQ, Utilitários...)
   ========================================================================== */

/* ---- Banners dos produtos (Express NF-e, Venda, OS, Premium, Full) ---- */
.page-title-area-plan-nfe,
.page-title-area-plan-venda,
.page-title-area-plan-os,
.page-title-area-plan-premium,
.page-title-area-plan-full {
    height: 440px !important;
    padding-top: var(--sp-nav-height);
}

.page-title-area-plan-nfe::before,
.page-title-area-plan-venda::before,
.page-title-area-plan-os::before,
.page-title-area-plan-premium::before,
.page-title-area-plan-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        var(--sp-grid-dark),
        linear-gradient(100deg,
            rgba(7, 7, 34, 0.94) 0%,
            rgba(11, 11, 49, 0.78) 45%,
            rgba(25, 118, 210, 0.28) 110%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
}

.page-title-area-plan-nfe .d-table,
.page-title-area-plan-venda .d-table,
.page-title-area-plan-os .d-table,
.page-title-area-plan-premium .d-table,
.page-title-area-plan-full .d-table {
    position: relative;
    z-index: 1;
}

.page-title-area-plan-nfe .tab-solution-content h1,
.page-title-area-plan-venda .tab-solution-content h1,
.page-title-area-plan-os .tab-solution-content h1,
.page-title-area-plan-premium .tab-solution-content h1,
.page-title-area-plan-full .tab-solution-content h1 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    letter-spacing: -0.015em;
    margin-bottom: 8px !important;
    position: relative;
    padding-top: 16px;
}

.page-title-area-plan-nfe .tab-solution-content h1::before,
.page-title-area-plan-venda .tab-solution-content h1::before,
.page-title-area-plan-os .tab-solution-content h1::before,
.page-title-area-plan-premium .tab-solution-content h1::before,
.page-title-area-plan-full .tab-solution-content h1::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-electric));
}

.page-title-area-plan-nfe .tab-solution-content h2,
.page-title-area-plan-venda .tab-solution-content h2,
.page-title-area-plan-os .tab-solution-content h2,
.page-title-area-plan-premium .tab-solution-content h2,
.page-title-area-plan-full .tab-solution-content h2 {
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.78) !important;
    max-width: 620px;
    margin-bottom: 24px !important;
}

/* ---- Tag de seção (h6 das páginas internas) ---- */
.about-content-text h6,
.section-title h6 {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase;
    color: var(--sp-primary) !important;
    margin-bottom: 14px;
}

.about-content-text h6::before,
.section-title h6::before {
    content: '';
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent));
}

.section-title h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
    line-height: 1.2 !important;
}

/* ---- Página Planos — configurador interativo ---- */
.sp-plan-hero {
    padding: 72px 0 56px;
    background:
        var(--sp-grid-dark),
        linear-gradient(160deg, var(--sp-navy-deep) 0%, var(--sp-navy) 55%, #121a52 100%);
    background-size: 56px 56px, 100% 100%;
    overflow: hidden;
}

.sp-plan-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.sp-plan-hero-copy .sp-section-tag { color: var(--sp-electric); }

.sp-plan-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    color: #fff !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
}

.sp-plan-hero-copy p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
    margin-bottom: 14px;
}

.sp-plan-hero-visual { position: relative; }

.sp-plan-hero-frame {
    position: relative;
    border: 1px solid rgba(77, 163, 255, 0.28);
    clip-path: var(--sp-notch);
    background: rgba(255, 255, 255, 0.04);
    padding: 12px;
}

.sp-plan-hero-frame img {
    width: 100%;
    display: block;
    clip-path: var(--sp-notch-sm);
}

.sp-plan-hero-watermark {
    position: absolute;
    right: -8%;
    bottom: -12%;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(77, 163, 255, 0.12);
    pointer-events: none;
    user-select: none;
    line-height: 1;
}

/* Laboratório / deck de planos */
.sp-plan-lab {
    padding: 56px 0 72px;
    background: #fff;
}

.sp-plan-deck {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.sp-plan-deck-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 22px 18px 44px;
    text-align: left;
    background: #f7f9fc;
    border: 1px solid rgba(11, 11, 49, 0.08);
    clip-path: var(--sp-notch-sm);
    cursor: pointer;
    transition: transform var(--sp-transition), border-color var(--sp-transition), background var(--sp-transition), box-shadow var(--sp-transition);
    font-family: var(--sp-font);
}

.sp-plan-deck-card:hover {
    transform: translateY(-4px);
    border-color: rgba(25, 118, 210, 0.35);
    box-shadow: 0 16px 40px rgba(11, 11, 49, 0.1);
}

.sp-plan-deck-card.is-active {
    background:
        var(--sp-grid-dark),
        linear-gradient(145deg, var(--sp-navy) 0%, #152060 100%);
    background-size: 56px 56px, 100% 100%;
    border-color: rgba(77, 163, 255, 0.45);
    box-shadow: 0 20px 48px rgba(11, 11, 49, 0.22);
}

.sp-plan-deck-card.is-flagship:not(.is-active) {
    border-color: rgba(25, 118, 210, 0.35);
    background: linear-gradient(180deg, #eef4fc 0%, #f7f9fc 100%);
}

.sp-plan-deck-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 118, 210, 0.35);
}

.sp-plan-deck-card.is-active .sp-plan-deck-num {
    -webkit-text-stroke-color: rgba(77, 163, 255, 0.6);
}

.sp-plan-deck-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sp-primary);
    border: 1px solid rgba(25, 118, 210, 0.3);
    padding: 3px 8px;
}

.sp-plan-deck-card.is-active .sp-plan-deck-badge {
    color: var(--sp-electric);
    border-color: rgba(77, 163, 255, 0.4);
}

.sp-plan-deck-card strong {
    font-size: 15px;
    color: var(--sp-navy);
    line-height: 1.25;
}

.sp-plan-deck-card.is-active strong { color: #fff; }

.sp-plan-deck-card small {
    font-size: 12px;
    line-height: 1.45;
    color: var(--sp-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-plan-deck-card.is-active small { color: rgba(255, 255, 255, 0.65); }

.sp-plan-deck-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    font-size: 18px;
    color: var(--sp-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--sp-transition), transform var(--sp-transition);
}

.sp-plan-deck-card.is-active .sp-plan-deck-arrow,
.sp-plan-deck-card:hover .sp-plan-deck-arrow {
    opacity: 1;
    transform: translateX(0);
}

.sp-plan-deck-card.is-active .sp-plan-deck-arrow { color: var(--sp-electric); }

/* Painel dinâmico — sempre visível (Blazor re-render remove is-visible do JS) */
.sp-plan-lab .sp-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.sp-plan-stage {
    border: 1px solid rgba(11, 11, 49, 0.1);
    clip-path: var(--sp-notch);
    background: #fafbfd;
    overflow: hidden;
}

@keyframes sp-plan-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sp-plan-stage-rail {
    display: flex;
    height: 4px;
    background: rgba(11, 11, 49, 0.06);
}

.sp-plan-stage-tick {
    flex: 1;
    transition: background var(--sp-transition), box-shadow var(--sp-transition);
}

.sp-plan-stage-tick.is-active {
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-electric));
    box-shadow: 0 0 12px rgba(77, 163, 255, 0.5);
}

.sp-plan-stage-body {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 0;
    min-height: 520px;
    animation: sp-plan-fade 0.35s ease;
}

.sp-plan-stage-copy {
    padding: 40px 36px;
    border-right: 1px solid rgba(11, 11, 49, 0.08);
}

.sp-plan-stage-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.sp-plan-stage-num {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 118, 210, 0.35);
    flex-shrink: 0;
}

.sp-plan-stage-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sp-primary);
    border: 1px solid rgba(25, 118, 210, 0.3);
    padding: 3px 8px;
    margin-bottom: 8px;
}

.sp-plan-stage-copy .title-text {
    font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    color: var(--sp-navy) !important;
    margin-bottom: 6px !important;
}

.sp-plan-tagline {
    color: var(--sp-primary);
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    line-height: 1.45;
}

.plans-text {
    color: var(--sp-text-muted) !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
    margin-bottom: 18px;
}

.sp-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--sp-text-muted);
}

.sp-plan-features li i {
    color: var(--sp-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.sp-plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sp-plan-stage-screen {
    padding: 28px;
    background:
        var(--sp-grid-light),
        linear-gradient(180deg, #eef3f9 0%, #f7f9fc 100%);
    background-size: 56px 56px, 100% 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-plan-screen-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-text-muted);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(11, 11, 49, 0.08);
}

.sp-plan-screen-label strong {
    font-size: 13px;
    color: var(--sp-navy);
    letter-spacing: 0;
    text-transform: none;
}

/* Organograma */
.sp-plan-org {
    padding: 88px 0;
    background:
        var(--sp-grid-dark),
        linear-gradient(180deg, var(--sp-navy) 0%, var(--sp-navy-deep) 100%);
    background-size: 56px 56px, 100% 100%;
}

.sp-plan-org-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.sp-plan-org .sp-section-tag { color: var(--sp-electric); }
.sp-plan-org .title-text { color: #fff !important; margin-bottom: 8px !important; }
.sp-plan-org-copy > p { color: rgba(255, 255, 255, 0.65); margin: 0; }

.sp-plan-org-visual .sp-plan-carousel {
    border-color: rgba(77, 163, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

/* Matriz comparativa */
.sp-plan-matrix { background: #fff; }

.sp-plan-matrix-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.sp-plan-matrix-chip {
    border: 1px solid rgba(11, 11, 49, 0.12);
    background: #f7f9fc;
    color: var(--sp-navy);
    font-family: var(--sp-font);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    clip-path: var(--sp-notch-sm);
    cursor: pointer;
    transition: background var(--sp-transition), color var(--sp-transition), border-color var(--sp-transition);
}

.sp-plan-matrix-chip:hover {
    border-color: rgba(25, 118, 210, 0.35);
}

.sp-plan-matrix-chip.is-active {
    background: var(--sp-navy);
    color: #fff;
    border-color: var(--sp-navy);
}

.sp-plan-matrix-wrap {
    overflow-x: auto;
    border: 1px solid rgba(11, 11, 49, 0.08);
    clip-path: var(--sp-notch);
}

.sp-plan-matrix-table {
    --bs-table-striped-bg: rgba(25, 118, 210, 0.04);
    --bs-table-hover-bg: rgba(25, 118, 210, 0.07);
    border-color: rgba(11, 11, 49, 0.08);
    font-family: var(--sp-font);
    margin: 0;
    min-width: 760px;
}

.sp-plan-matrix-table thead th {
    background: var(--sp-navy) !important;
    color: #fff !important;
    border-color: rgba(77, 163, 255, 0.22) !important;
    font-weight: 700;
    font-size: 12px;
    padding: 14px 10px;
    cursor: pointer;
    transition: background var(--sp-transition);
}

.sp-plan-matrix-table thead th:hover { background: #152060 !important; }

.sp-plan-matrix-table thead th.is-col-active,
.sp-plan-matrix-table tbody td.is-col-active,
.sp-plan-matrix-table tfoot td.is-col-active {
    background: rgba(25, 118, 210, 0.12) !important;
    box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.25);
}

.sp-plan-matrix-feature {
    text-align: left !important;
    font-weight: 600 !important;
    color: var(--sp-navy) !important;
    background: #fff !important;
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 220px;
}

.sp-plan-matrix-table tbody td {
    padding: 11px 10px;
    vertical-align: middle;
}

.sp-plan-check {
    color: var(--sp-primary) !important;
    font-size: 1.2rem;
}

.sp-plan-x { width: 20px; opacity: 0.5; }

.sp-plan-table-btn {
    display: inline-block;
    border: 1px solid var(--sp-primary);
    color: var(--sp-primary);
    font-family: var(--sp-font);
    font-weight: 700;
    font-size: 11px;
    text-decoration: none;
    clip-path: var(--sp-notch-sm);
    padding: 7px 14px;
    transition: background var(--sp-transition), color var(--sp-transition);
}

.sp-plan-table-btn:hover {
    background: var(--sp-primary);
    color: #fff;
}

/* Carrossel de planos */
.sp-plan-carousel {
    position: relative;
    border: 1px solid rgba(77, 163, 255, 0.2);
    clip-path: var(--sp-notch);
    background: rgba(11, 11, 49, 0.15);
    flex: 1;
}

.sp-plan-carousel .carousel-inner img,
.carousel.slide .carousel-inner img {
    clip-path: var(--sp-notch);
    box-shadow: 0 20px 56px rgba(11, 11, 49, 0.14);
    cursor: zoom-in;
    border-radius: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--sp-navy) !important;
    border: 1px solid rgba(77, 163, 255, 0.4);
    clip-path: var(--sp-notch-sm);
    filter: none !important;
    width: 44px;
    height: 44px;
    background-size: 45% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: background-color var(--sp-transition);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--sp-primary) !important;
}

.carousel-indicators li {
    width: 26px !important;
    height: 4px !important;
    border-radius: 0 !important;
    margin: 6px 4px !important;
    background-color: rgba(25, 118, 210, 0.3) !important;
    box-shadow: none !important;
    transition: background-color var(--sp-transition), width var(--sp-transition);
}

.carousel-indicators li.active,
.carousel-indicators .active {
    width: 38px !important;
    height: 4px !important;
    background-color: var(--sp-primary) !important;
    box-shadow: 0 0 10px rgba(77, 163, 255, 0.6) !important;
}

/* ---- Cards de serviços das páginas de produto ---- */
.single-services-item {
    background: #fff !important;
    border: 1px solid var(--sp-border) !important;
    border-left: 4px solid var(--sp-primary) !important;
    clip-path: var(--sp-notch-sm);
    border-radius: 0 !important;
    padding: 30px 26px !important;
    box-shadow: none !important;
    transition: transform var(--sp-transition), box-shadow var(--sp-transition) !important;
}

.single-services-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(11, 11, 49, 0.12) !important;
}

.single-services-item h3 {
    font-size: 1.15rem !important;
    margin: 14px 0 10px !important;
}

.single-services-item p { font-size: 14px; }

.sp-plan-carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.sp-plan-carousel-dots button {
    width: 26px;
    height: 4px;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.35);
    cursor: default;
    transition: width var(--sp-transition), background var(--sp-transition);
}

.sp-plan-carousel-dots button.is-active {
    width: 38px;
    background: var(--sp-electric);
}

/* Modal de imagens (planos) */
.sp-plan-modal {
    background-color: rgba(11, 11, 49, 0.92) !important;
    backdrop-filter: blur(8px);
}

.sp-plan-modal .close {
    color: #fff;
    font-size: 36px;
    top: 20px;
    right: 28px;
    z-index: 10;
}

.sp-plan-modal .modal-content {
    background: transparent;
    border: none;
    max-width: 90vw;
    margin: auto;
}

@media (max-width: 991px) {
    .sp-plan-hero-grid,
    .sp-plan-org-grid,
    .sp-plan-stage-body {
        grid-template-columns: 1fr;
    }

    .sp-plan-deck {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-plan-stage-copy {
        border-right: none;
        border-bottom: 1px solid rgba(11, 11, 49, 0.08);
    }

    .sp-plan-stage-body { min-height: auto; }
}

@media (max-width: 640px) {
    .sp-plan-deck { grid-template-columns: 1fr; }
    .sp-plan-actions { flex-direction: column; }
    .sp-plan-actions .default-btn,
    .sp-plan-actions .default-btn-one { width: 100%; text-align: center; }
    .sp-plan-hero { padding: 48px 0 40px; }
}

/* ---- CTA "Entre em contato" (bg-blue) ---- */
.bg-blue {
    background:
        var(--sp-grid-dark),
        linear-gradient(115deg, var(--sp-navy-deep) 0%, var(--sp-navy) 55%, var(--sp-primary-dark) 130%) !important;
    background-size: 56px 56px, 56px 56px, 100% 100% !important;
    padding: 72px 15px !important;
    margin-top: 0 !important;
    position: relative;
    overflow: hidden;
}

.bg-blue::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent), var(--sp-electric));
}

.bg-blue::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 118, 210, 0.25) 0%, transparent 65%);
    bottom: -240px;
    right: -120px;
    pointer-events: none;
}

.bg-blue .hire-content { position: relative; z-index: 1; }

.bg-blue .hire-content h2 {
    color: #fff !important;
    font-size: clamp(1.6rem, 3vw, 2.3rem) !important;
    margin-bottom: 14px !important;
}

.bg-blue .hire-content p {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 16px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- FAQ / acordeões ---- */
.panel-group .panel {
    background: #fff !important;
    border: 1px solid var(--sp-border) !important;
    border-left: 4px solid var(--sp-primary) !important;
    clip-path: var(--sp-notch-sm);
    border-radius: 0 !important;
    margin-bottom: 14px;
    box-shadow: none !important;
    transition: box-shadow var(--sp-transition);
}

.panel-group .panel:hover {
    box-shadow: 0 12px 32px rgba(11, 11, 49, 0.08) !important;
}

.panel-group .panel.bg-grey { background: var(--sp-surface-alt) !important; }

.panel-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--sp-navy) !important;
}

.panel-answer {
    color: var(--sp-text-muted) !important;
}

.panel-body { color: var(--sp-text-muted); }

/* ---- Cards (Utilitários, Área do Cliente) ---- */
.card {
    border: 1px solid var(--sp-border) !important;
    border-top: 3px solid var(--sp-primary) !important;
    clip-path: var(--sp-notch-sm);
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform var(--sp-transition), box-shadow var(--sp-transition) !important;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 11, 49, 0.1) !important;
}

.card .card-title {
    font-weight: 700 !important;
    color: var(--sp-navy) !important;
}

/* ---- Responsivo páginas internas ---- */
@media (max-width: 991px) {
    .page-title-area-plan-nfe,
    .page-title-area-plan-venda,
    .page-title-area-plan-os,
    .page-title-area-plan-premium,
    .page-title-area-plan-full {
        height: auto !important;
        min-height: 380px;
        padding-bottom: 32px;
    }

    .div-gray, .div-white { padding: 48px 15px !important; }

    #tabela-de-recursos { padding: 48px 0; }
}

/* ==========================================================================
   INTEGRAÇÕES — página dedicada
   ========================================================================== */
.sp-integrations-intro {
    background:
        var(--sp-grid-light),
        linear-gradient(180deg, #ffffff 0%, var(--sp-surface-alt) 100%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
}

.sp-integrations-platforms {
    padding: 90px 0 100px;
    background: var(--sp-surface);
}

.sp-int-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sp-int-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--sp-border);
    clip-path: var(--sp-notch);
    padding: 34px 30px 30px;
    overflow: hidden;
    transition: transform var(--sp-transition), box-shadow var(--sp-transition), border-color var(--sp-transition);
}

.sp-int-card.is-wide {
    grid-column: span 2;
}

.sp-int-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--sp-int-accent, linear-gradient(90deg, var(--sp-primary), var(--sp-electric)));
}

.sp-int-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-primary), var(--sp-accent), var(--sp-electric));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sp-int-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(11, 11, 49, 0.12);
    border-color: var(--sp-border-glow);
}

.sp-int-card:hover::after { transform: scaleX(1); }

/* Acentos por plataforma (cores de referência, sem logos) */
.sp-int-vtex  { --sp-int-accent: linear-gradient(90deg, #ff0055, #e6004c); }
.sp-int-tray  { --sp-int-accent: linear-gradient(90deg, #f58634, #e07020); }
.sp-int-woo   { --sp-int-accent: linear-gradient(90deg, #7f54b3, #96588a); }
.sp-int-nuvem { --sp-int-accent: linear-gradient(90deg, #003fe5, #002db3); }
.sp-int-ml    { --sp-int-accent: linear-gradient(90deg, #3483fa, #ffe600); }

.sp-int-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.sp-int-num {
    font-family: var(--sp-font);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(25, 118, 210, 0.25);
    transition: -webkit-text-stroke-color var(--sp-transition);
}

.sp-int-card:hover .sp-int-num { -webkit-text-stroke-color: var(--sp-primary); }

.sp-int-badge {
    font-family: var(--sp-font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sp-primary);
    padding: 6px 12px;
    border: 1px solid rgba(25, 118, 210, 0.25);
    clip-path: var(--sp-notch-sm);
    background: rgba(25, 118, 210, 0.06);
}

.sp-int-card h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem) !important;
    margin-bottom: 12px !important;
    color: var(--sp-navy) !important;
}

.sp-int-card > p {
    font-size: 15px;
    margin-bottom: 22px;
    line-height: 1.75;
}

.sp-int-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid rgba(25, 118, 210, 0.22);
}

.sp-int-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0 5px 16px;
    font-family: var(--sp-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--sp-text-muted);
    line-height: 1.5;
}

.sp-int-features li i {
    color: var(--sp-primary) !important;
    margin-top: 3px;
    flex-shrink: 0;
}

.sp-int-features-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    border-left: none;
}

.sp-int-features-cols li { padding-left: 0; }

/* Fluxo "Como funciona" */
.sp-integrations-flow {
    background:
        var(--sp-grid-dark),
        linear-gradient(180deg, var(--sp-navy-deep) 0%, var(--sp-navy) 100%);
    background-size: 56px 56px, 56px 56px, 100% 100%;
}

.sp-integrations-flow .sp-section-tag { color: var(--sp-electric); }
.sp-integrations-flow .sp-section-header h2 { color: #fff !important; }

.sp-int-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid rgba(77, 163, 255, 0.18);
}

.sp-int-flow-step {
    padding: 36px 28px;
    border-right: 1px solid rgba(77, 163, 255, 0.12);
    position: relative;
    transition: background var(--sp-transition);
}

.sp-int-flow-step:last-child { border-right: none; }

.sp-int-flow-step:hover {
    background: rgba(25, 118, 210, 0.08);
}

.sp-int-flow-num {
    display: block;
    font-family: var(--sp-font);
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(77, 163, 255, 0.35);
    margin-bottom: 16px;
    transition: color var(--sp-transition), -webkit-text-stroke-color var(--sp-transition);
}

.sp-int-flow-step:hover .sp-int-flow-num {
    color: var(--sp-electric);
    -webkit-text-stroke-color: transparent;
}

.sp-int-flow-step h4 {
    font-size: 1rem !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}

.sp-int-flow-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62) !important;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .sp-int-grid { grid-template-columns: 1fr; }
    .sp-int-card.is-wide { grid-column: span 1; }
    .sp-int-features-cols { grid-template-columns: 1fr; }
    .sp-int-flow-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-int-flow-step:nth-child(2) { border-right: none; }
    .sp-int-flow-step:nth-child(1),
    .sp-int-flow-step:nth-child(2) { border-bottom: 1px solid rgba(77, 163, 255, 0.12); }
}

@media (max-width: 640px) {
    .sp-int-flow-grid { grid-template-columns: 1fr; }
    .sp-int-flow-step { border-right: none !important; border-bottom: 1px solid rgba(77, 163, 255, 0.12); }
    .sp-int-flow-step:last-child { border-bottom: none; }
}
