/* ==========================================================================
   CSS VARIABLES & THEME (Dark Theme with Blue accents)
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #07080b;
    --bg-card: #0d0f14;
    --bg-card-hover: #12141a;

    --primary-blue: #2563eb;
    --primary-light: #60a5fa;
    --primary-glow: rgba(37, 99, 235, 0.12);

    --accent-green: #10b981;
    --accent-purple: #8b5cf6;

    --text-main: #f8fafc;
    --text-muted: #cbd5e1;

    --border-color: #1e293b;
    --border-highlight: rgba(96, 165, 250, 0.15);

    --glass-bg: rgba(13, 15, 20, 0.95);
    --glass-border: rgba(255, 255, 255, 0.03);

    --font-sans: 'Inter', system-ui, sans-serif;
    --font-heading: 'Sora', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: #fff;
}

p {
    color: var(--text-muted);
}

.text-blue {
    background: linear-gradient(180deg, #9ac2ff 0%, #6ba3ff 48%, #4c7dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ==========================================================================
   UTILITY & LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.section-darker {
    background: linear-gradient(to bottom, transparent, rgba(3, 4, 6, 0.4));
}

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

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.grid {
    display: grid;
    gap: 2.5rem;
}

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

.align-center {
    align-items: center;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.82rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.1px;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    will-change: transform;
}

.btn-sm {
    padding: 0.72rem 1.15rem;
    font-size: 0.92rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.04rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f8ff8, #5b4ff0);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.28);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.01);
    border-color: rgba(148, 163, 184, 0.16);
    color: var(--text-main);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: rgba(96, 165, 250, 0.45);
    color: #ffffff;
    background-color: rgba(96, 165, 250, 0.06);
}

.btn-hero-premium {
    position: relative;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(79, 70, 229, 0.25) 100%);
    color: #ffffff;
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2), 
                inset 0 0 20px rgba(96, 165, 250, 0.15);
    padding: 1.15rem 2.25rem;
    font-size: 1.05rem;
    border-radius: 14px;
    z-index: 1;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hero-premium span {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.btn-hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    animation: shinePremium 4s infinite;
    z-index: 0;
}

.btn-hero-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.6), transparent, rgba(79, 70, 229, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.btn-hero-premium:hover {
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.35), 
                inset 0 0 30px rgba(96, 165, 250, 0.25);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(96, 165, 250, 0.6);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(79, 70, 229, 0.4) 100%);
    color: #fff;
}

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

.btn-hero-premium svg {
    transition: transform 0.3s ease;
}

@keyframes shinePremium {
    0% { left: -150%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.35rem 0;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease, backdrop-filter 0.25s ease;
    background: linear-gradient(to bottom, rgba(7, 8, 11, 0.45), rgba(7, 8, 11, 0));
}

.header.scrolled {
    padding: 0.85rem 0;
    background: rgba(8, 10, 15, 0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 220px;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.brand-logo {
    height: 68px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.28));
    transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
    transform-origin: left center;
}

.logo:hover .brand-logo {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 14px rgba(96, 165, 250, 0.38));
}

.header.scrolled .brand-logo {
    height: 54px;
    filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.34));
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    color: rgba(226, 232, 240, 0.75);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.9), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.header-cta .btn {
    min-width: 168px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-cta .btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 6px 15px rgba(0, 0, 0, 0.3);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.mesh-canvas-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.mesh-canvas-container canvas {
    position: absolute;
    inset: 0;
    mix-blend-mode: screen;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 7rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 48%, rgba(59, 130, 246, 0.16), transparent 32%),
        radial-gradient(circle at 50% 38%, rgba(96, 165, 250, 0.10), transparent 18%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 980px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    border: 1px solid rgba(96, 165, 250, 0.28);
    color: #eaf2ff;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.hero-title {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    margin-bottom: 1.4rem;
    letter-spacing: -0.04em;
    line-height: 1.05;
    font-weight: 800;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    margin-bottom: 2.4rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
    color: rgba(226, 232, 240, 0.84);
}

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

.hero-buttons .btn {
    min-width: 220px;
    min-height: 56px;
}

.hero-proof {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: rgba(203, 213, 225, 0.68);
    letter-spacing: -0.01em;
}

/* ==========================================================================
   NEW PREMIUM HERO SECTION
   ========================================================================== */
.premium-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.right-aligned-canvas {
    inset: 0;
    width: 100%;
}

.premium-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 68% 50%, rgba(59, 130, 246, 0.22), transparent 30%),
        radial-gradient(circle at 75% 45%, rgba(139, 92, 246, 0.10), transparent 20%);
    pointer-events: none;
    z-index: 1;
}

.hero-container-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content-left {
    max-width: 650px;
    text-align: left;
}

.hero-content-left .badge {
    margin-bottom: 1.5rem;
    justify-content: flex-start;
    background: rgba(192, 132, 252, 0.1);
    border: 1px solid rgba(192, 132, 252, 0.3);
    color: #e9d5ff;
}

.hero-content-left .hero-title {
    margin-left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 2.5rem;
}

.title-line-1 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: -0.01em;
}

.title-line-2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-line-3 {
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero-content-left .hero-subtitle {
    margin-left: 0;
    text-align: left;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 600px;
    margin-bottom: 2rem;
    color: #94a3b8;
    line-height: 1.7;
}

.hero-content-left .hero-buttons {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.25rem;
}

.hero-btn-elegant {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    border-radius: 12px;
    min-width: auto;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 48px;
}

.hero-btn-ghost {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-btn-ghost svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.text-blue-gradient {
    background: linear-gradient(90deg, #3b82f6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-primary-elegant {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: 1px solid rgba(96, 165, 250, 0.4);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary-elegant:hover {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.82rem 1rem;
    font-weight: 500;
}
.btn-text:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* FLOATING NETWORK */
.hero-visual-right {
    position: relative;
    height: 500px;
    width: 100%;
}

.floating-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.glass-node {
    position: absolute;
    background: rgba(13, 17, 23, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: transform 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}
.glass-node:hover {
    border-color: rgba(255,255,255,0.15);
}

.node-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.bg-purple-glow { background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.25); color: #c084fc; }
.bg-blue-glow { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); color: #60a5fa; }
.bg-green-glow { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #34d399; }
.bg-indigo-glow { background: rgba(79, 70, 229, 0.12); border: 1px solid rgba(79, 70, 229, 0.25); color: #818cf8; }

.node-text {
    display: flex;
    flex-direction: column;
}
.node-text strong {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2px;
}
.node-text span {
    font-size: 0.78rem;
    color: rgba(203, 213, 225, 0.8);
}

.node-1 { top: 12%; right: 10%; transform: scale(0.8); opacity: 0.8; z-index: 1; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.node-2 { top: 30%; left: 0%; transform: scale(1.1); z-index: 4; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0.85; }
.node-3 { top: 65%; right: -5%; transform: scale(0.95); opacity: 0.8; z-index: 3; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.node-4 { bottom: 0%; left: 25%; transform: scale(0.85); opacity: 0.85; z-index: 2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

@keyframes floatAnim1 { 0%, 100% { transform: translateY(0) scale(0.8); } 50% { transform: translateY(-12px) scale(0.8); } }
@keyframes floatAnim2 { 0%, 100% { transform: translateY(0) scale(1.1); } 50% { transform: translateY(16px) scale(1.1); } }
@keyframes floatAnim3 { 0%, 100% { transform: translateY(0) scale(0.95); } 50% { transform: translateY(-10px) scale(0.95); } }
@keyframes floatAnim4 { 0%, 100% { transform: translateY(0) scale(0.85); } 50% { transform: translateY(14px) scale(0.85); } }

.float-anim-1 { animation: floatAnim1 7s ease-in-out infinite; }
.float-anim-2 { animation: floatAnim2 6s ease-in-out infinite; }
.float-anim-3 { animation: floatAnim3 8s ease-in-out infinite; }
.float-anim-4 { animation: floatAnim4 9s ease-in-out infinite; }

.network-lines {
    position: absolute;
    inset: -50px;
    z-index: 1;
    pointer-events: none;
}
.desktop-only { display: block; }

/* ==========================================================================
   GENERAL SECTION ELEMENTS
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

/* CARDS */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card p {
    font-size: 0.95rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.alert-icon {
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.highlight-icon {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   EXEMPLOS PRÁTICOS (FLOWS)
   ========================================================================== */
.flows-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.flow-item {
    background: rgba(13, 15, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
}

.flow-track {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.flow-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.whatsapp-color, .crm-color, .task-color, .system-color, .erp-color, .bell-color {
    color: var(--primary-light);
    border-color: rgba(96, 165, 250, 0.2);
}
.whatsapp-color { color: var(--accent-green); }
.task-color { color: var(--accent-purple); }

.flow-line {
    height: 2px;
    flex-grow: 1;
    background: var(--border-color);
    margin: 0 -5px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.animated-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.2), transparent);
    animation: flowData 2s infinite linear;
}

@keyframes flowData {
    to { left: 200%; }
}

.flow-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.flow-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   AUTHORITY SECTION
   ========================================================================== */
.authority-text h2 {
    font-size: 2.2rem;
    margin: 1rem 0 1.5rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.check-list svg {
    color: var(--accent-green);
}

.authority-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-icon {
    margin-bottom: 1rem;
}

.mt-shift {
    margin-top: 3rem;
}

/* ==========================================================================
   SOLUÇÕES SOB MEDIDA (CALLOUT) — PREMIUM DESIGN
   ========================================================================== */
.callout-box {
    background: linear-gradient(135deg, rgba(10, 13, 18, 0.94) 0%, rgba(9, 12, 17, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 28px;
    padding: 4.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    overflow: visible;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.callout-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 45%);
    pointer-events: none;
    border-radius: 28px;
}

.icon-list.inline {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.icon-list.inline li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition-fast);
}

.icon-list.inline li:hover {
    background: rgba(96, 165, 250, 0.05);
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.icon-list.inline li span {
    color: var(--primary-light);
    display: flex;
    align-items: center;
}

/* NOVO VISUAL CUSTOMIZADO */
.custom-visual {
    position: relative;
    height: 380px;
    width: 100%;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(59, 130, 246, 0.15);
    filter: blur(80px);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.glass-panel {
    background: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 1;
}

.main-panel {
    width: 85%;
    height: 260px;
    display: flex;
    flex-direction: column;
    animation: floatMain 6s ease-in-out infinite;
}

.panel-header {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    gap: 8px;
}

.panel-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.panel-header .dot:nth-child(1) { background: #ef4444; }
.panel-header .dot:nth-child(2) { background: #f59e0b; }
.panel-header .dot:nth-child(3) { background: #10b981; }

.panel-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.code-line {
    height: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.code-line.w-75 { width: 75%; }
.code-line.w-50 { width: 50%; }
.code-line.w-85 { width: 85%; }

.chart-container {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-top: auto;
    height: 80px;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    height: 100%;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.chart-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.5), rgba(96, 165, 250, 0.9));
    border-radius: 4px;
}

.h-1 { height: 40%; }
.h-2 { height: 65%; }
.h-3 { height: 35%; }
.h-4 { height: 85%; background: linear-gradient(to top, rgba(16, 185, 129, 0.4), rgba(52, 211, 153, 0.9)); }

.float-card {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    animation: floatSub 5s ease-in-out infinite alternate;
}

.float-1 {
    top: 20px;
    right: -20px;
    animation-delay: 1s;
    background: rgba(18, 24, 33, 0.85);
}

.float-icon {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.float-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 80px;
}

.float-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.float-line.short { width: 60%; }

.float-2 {
    bottom: 30px;
    left: -20px;
    animation-delay: 0s;
    background: rgba(20, 25, 34, 0.9);
}

.status-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
}

.float-2 span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

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

@keyframes floatSub {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* ==========================================================================
   METODOLOGIA & BENEFÍCIOS
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 1.5rem;
    border-radius: 16px;
}

.benefit-icon {
    display: inline-block;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    font-size: 1.25rem;
}

.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; }

/* ==========================================================================
   FOOTER & FINAL CTA
   ========================================================================== */
.cta-final {
    padding: 8rem 0;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.04) 0%, var(--bg-dark) 70%);
}

.cta-final h2 {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* ==========================================================================
   FOOTER (ELEGANT DESIGN)
   ========================================================================== */
.footer {
    position: relative;
    padding: 6rem 0 0;
    background: linear-gradient(to bottom, var(--bg-dark), #030406);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.25), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 32% 1fr 28%;
    gap: 4rem;
    padding-bottom: 5rem;
}

/* Base text elements */
.footer p, .footer-address p, .contact-item span {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Coluna 1: Brand & Address */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .brand-logo {
    max-width: 140px;
    height: auto;
    opacity: 0.95;
    transition: opacity var(--transition-fast);
}

.footer-brand .logo:hover .brand-logo {
    opacity: 1;
}

.footer-tagline { 
    margin-bottom: 2rem;
    color: rgba(226, 232, 240, 0.85);
    line-height: 1.6;
}

.footer-address {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-top: 1rem;
    font-size: 0.92rem;
    transition: all var(--transition-fast);
}

.map-link svg {
    transition: transform var(--transition-fast);
}

.map-link:hover {
    color: #fff;
}

.map-link:hover svg {
    transform: translateY(-2px);
}

/* Coluna 2: Links */
.footer-links-wrapper {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    opacity: 0.9;
}

.footer-links, .footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-light);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: scale(1);
    left: -8px;
}

/* Coluna 3: Contato */
.footer-contact-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.contact-item svg {
    width: 38px;
    height: 38px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: rgba(226, 232, 240, 0.6);
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-item:hover { 
    color: #ffffff;
    transform: translateX(4px);
}

.contact-item:hover svg {
    color: var(--primary-light);
    border-color: rgba(96, 165, 250, 0.25);
    background: rgba(96, 165, 250, 0.08);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    color: rgba(148, 163, 184, 0.5);
    margin: 0;
}

.footer-legal a {
    color: rgba(148, 163, 184, 0.5);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-wrapper {
        justify-content: flex-start;
        gap: 4rem;
    }
}

@media (max-width: 600px) {
    .footer-links-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-title {
        margin-bottom: 1.5rem;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .process-timeline::before { display: none; }
    .callout-box { grid-template-columns: 1fr; padding: 3rem; }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4.2rem);
        line-height: 1.02;
    }

    .hero-content {
        max-width: 860px;
    }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }

    .header {
        padding: 1rem 0;
    }

    .header-container {
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }

    .logo {
        min-width: 0;
    }

    .brand-logo {
        height: 54px;
    }

    .header.scrolled .brand-logo {
        height: 46px;
    }

    .nav {
        display: none;
    }

    .header-cta .btn {
        min-width: auto;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .authority-stats { flex-direction: column; gap: 1rem; }
    .mt-shift { margin-top: 0; }
    .benefits-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }

    .hero {
        padding-top: 6.5rem;
        min-height: auto;
        padding-bottom: 5rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
        line-height: 1.03;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

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

    .hero-container-premium {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content-left {
        text-align: center;
        margin: 0 auto;
    }

    .hero-content-left .badge {
        margin: 0 auto 1.5rem;
    }

    .hero-content-left .hero-title,
    .hero-content-left .hero-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual-right {
        display: none;
    }
    
    .desktop-only {
        display: none !important;
    }

    .footer-content { flex-direction: column; gap: 2rem; align-items: flex-start; }
    .footer-contact { align-items: flex-start; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .brand-logo {
        height: 48px;
    }

    .header.scrolled .brand-logo {
        height: 42px;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .badge {
        font-size: 0.74rem;
        letter-spacing: 1.3px;
        padding: 0.5rem 0.95rem;
    }
}

/* ==========================================================================
   FORMULÁRIO DE DIAGNÓSTICO
   ========================================================================== */
.diagnostic-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.diagnostic-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.25rem;
    margin-bottom: 2rem;
}

.form-grid.single-column {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #0a0d12;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.95rem 1rem;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    outline: none;
    min-height: 54px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #7b8aa0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: #0c1016;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.form-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #0a0d12;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1rem 1rem;
    cursor: pointer;
    transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.option-card:hover {
    border-color: rgba(96, 165, 250, 0.35);
    background: #0c1016;
    transform: translateY(-1px);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    flex-shrink: 0;
}

.option-card span {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.form-actions .btn {
    min-height: 54px;
}

/* ==========================================================================
   RESPONSIVO DO FORMULÁRIO
   ========================================================================== */
@media (max-width: 768px) {
    .diagnostic-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

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

    .form-options {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   AJUSTES EXTRAS DO FORMULÁRIO
   ========================================================================== */
#form-diagnostico,
#diagnostico,
#contato-rapido {
    scroll-margin-top: 110px;
}

.form-grid > * {
    min-width: 0;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.option-card:has(input[type="radio"]:checked),
.option-card:has(input:checked) {
    border-color: rgba(96, 165, 250, 0.65);
    background: rgba(37, 99, 235, 0.10);
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.15);
}

.option-card:has(input:checked) span {
    color: #ffffff;
}

.crm-name-group,
.erp-name-group {
    transition: all 0.2s ease;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;

    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.18);
}

.stat-icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}

.stat-icon-shield {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.15);
}

.stat-icon-shield svg {
    color: #34d399;
}

/* ==========================================================================
   SEÇÃO DE DORES — NÍVEL SAAS PREMIUM
   ========================================================================== */

.dores .grid {
    gap: 1.6rem;
}

.card.card-alert {
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.94) 0%, rgba(9, 12, 17, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 20px;
    padding: 1.6rem;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
    position: relative;
    overflow: hidden;
}

.card.card-alert::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(239, 68, 68, 0.06), transparent 38%);
    opacity: 0.85;
    pointer-events: none;
}

.card.card-alert:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(10, 13, 19, 1) 100%);
}

.card.card-alert .card-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.14);
    position: relative;
    z-index: 1;
}

.card.card-alert .card-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.1;
}

.card.card-alert p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(241, 245, 249, 0.92);
    font-size: 1.06rem;
    line-height: 1.55;
    font-weight: 500;
    max-width: 28ch;
}

.card.card-alert .text-red,
.card.card-alert .alert-icon {
    color: #fb7185;
}

@media (max-width: 1024px) {
    .card.card-alert {
        min-height: 170px;
    }
}

@media (max-width: 768px) {
    .card.card-alert {
        min-height: auto;
    }

    .card.card-alert p {
        max-width: none;
        font-size: 1rem;
    }
}

/* ==========================================================================
   SEÇÃO DE SERVIÇOS — NÍVEL SAAS PREMIUM
   ========================================================================== */

#como-ajudamos .section-header {
    max-width: 760px;
}

#como-ajudamos .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

#como-ajudamos .section-header p {
    font-size: 1.06rem;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.76);
    max-width: 640px;
}

#como-ajudamos .grid {
    gap: 1.6rem;
}

#como-ajudamos .card {
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.94) 0%, rgba(9, 12, 17, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 22px;
    padding: 1.8rem;
    min-height: 250px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

#como-ajudamos .card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 38%);
    pointer-events: none;
    opacity: 0.9;
}

#como-ajudamos .card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(10, 13, 19, 1) 100%);
}

#como-ajudamos .card-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.18);
    position: relative;
    z-index: 1;
}

#como-ajudamos .card-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.1;
}

#como-ajudamos .highlight-icon {
    color: #7fb0ff;
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.10);
}

#como-ajudamos .card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.24rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    color: #ffffff;
    max-width: 18ch;
}

#como-ajudamos .card p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.78);
    max-width: 34ch;
}

@media (max-width: 1024px) {
    #como-ajudamos .card {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    #como-ajudamos .card {
        min-height: auto;
    }

    #como-ajudamos .card h3,
    #como-ajudamos .card p {
        max-width: none;
    }
}

/* ==========================================================================
   SEÇÃO DE CASOS DE USO — NÍVEL SAAS PREMIUM
   ========================================================================== */

#exemplos .section-header {
    max-width: 760px;
}

#exemplos .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

#exemplos .section-header p {
    font-size: 1.06rem;
    line-height: 1.8;
    color: rgba(226, 232, 240, 0.76);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.flows-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    max-width: 980px;
    margin: 0 auto;
}

.flow-item {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 2rem;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.94) 0%, rgba(9, 12, 17, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 22px;
    padding: 1.8rem 1.8rem;
    overflow: hidden;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.flow-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 38%);
    pointer-events: none;
    opacity: 0.9;
}

.flow-item:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    background:
        linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(10, 13, 19, 1) 100%);
}

.flow-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    margin-bottom: 0;
    padding: 0;
    z-index: 1;
}

.flow-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.9), rgba(71, 85, 105, 0.65));
    margin: 0 0.35rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 999px;
}

.animated-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.55), transparent);
    animation: flowData 2.4s infinite linear;
}

.flow-node {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 12, 18, 0.9);
    border: 1px solid rgba(96, 165, 250, 0.16);
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015);
}

.flow-node svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.1;
}

.whatsapp-color,
.crm-color,
.task-color,
.system-color,
.erp-color,
.bell-color {
    color: #8cb7ff;
    border-color: rgba(96, 165, 250, 0.18);
}

.whatsapp-color {
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.18);
    background: rgba(10, 18, 16, 0.95);
}

.crm-color {
    color: #7fb0ff;
}

.task-color {
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.18);
    background: rgba(15, 12, 24, 0.95);
}

.system-color {
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.18);
    background: rgba(9, 15, 22, 0.95);
}

.erp-color {
    color: #60a5fa;
}

.bell-color {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.18);
    background: rgba(20, 16, 10, 0.95);
}

.flow-content {
    position: relative;
    z-index: 1;
}

.flow-content h3 {
    margin-bottom: 0.7rem;
    font-size: 1.22rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    max-width: 24ch;
}

.flow-content p {
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(226, 232, 240, 0.78);
    margin-bottom: 0;
    max-width: 55ch;
}

@keyframes flowData {
    to { left: 200%; }
}

@media (max-width: 1024px) {
    .flow-item {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .flow-track {
        justify-content: center;
    }

    .flow-content h3,
    .flow-content p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .flows-list {
        gap: 1.2rem;
    }

    .flow-item {
        padding: 1.4rem;
        border-radius: 18px;
    }

    .flow-track {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.3rem;
    }

    .flow-node {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        flex: 0 0 auto;
    }

    .flow-node svg {
        width: 20px;
        height: 20px;
    }

    .flow-line {
        min-width: 34px;
    }

    .flow-content h3 {
        font-size: 1.1rem;
    }

    .flow-content p {
        font-size: 0.98rem;
    }
}

/* ==========================================================================
   SEÇÃO DE BENEFÍCIOS / DIFERENCIAIS — NÍVEL SAAS PREMIUM
   ========================================================================== */

#diferenciais {
    position: relative;
}

#diferenciais .container {
    position: relative;
    z-index: 1;
}

#diferenciais .benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.35rem;
    margin-top: 3rem;
}

#diferenciais .benefit-item {
    position: relative;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.94) 0%, rgba(9, 12, 17, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 20px;
    padding: 1.6rem 1.25rem 1.4rem;
    min-height: 200px;
    text-align: left;
    overflow: hidden;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

#diferenciais .benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 40%);
    pointer-events: none;
    opacity: 0.85;
}

#diferenciais .benefit-item:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
    background:
        linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(10, 13, 19, 1) 100%);
}

#diferenciais .benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #7fb0ff;
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.08);
    position: relative;
    z-index: 1;
}

#diferenciais .benefit-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.1;
}

#diferenciais .benefit-item h4 {
    position: relative;
    z-index: 1;
    font-size: 1.02rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
    max-width: 18ch;
}

@media (max-width: 1200px) {
    #diferenciais .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #diferenciais .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #diferenciais .benefit-item {
        min-height: auto;
        padding: 1.35rem 1.1rem;
    }

    #diferenciais .benefit-item h4 {
        max-width: none;
    }
}

/* ==========================================================================
   SEÇÃO DE AUTORIDADE / NOSSA ENGENHARIA — NÍVEL SAAS PREMIUM
   ========================================================================== */

#autoridade .container {
    gap: 3rem;
}

.authority-text {
    max-width: 620px;
}

.authority-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.35rem;
    max-width: 16ch;
}

.authority-text p {
    font-size: 1.04rem;
    line-height: 1.85;
    color: rgba(226, 232, 240, 0.78);
    max-width: 58ch;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(241, 245, 249, 0.92);
    font-weight: 500;
    line-height: 1.65;
    max-width: 56ch;
}

.check-list svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: #34d399;
}

.authority-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.stat-box {
    position: relative;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.94) 0%, rgba(9, 12, 17, 0.98) 100%);
    border: 1px solid rgba(96, 165, 250, 0.14);
    padding: 2rem 1.6rem;
    border-radius: 22px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.stat-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 38%);
    pointer-events: none;
    opacity: 0.9;
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
    background:
        linear-gradient(180deg, rgba(12, 16, 22, 0.98) 0%, rgba(10, 13, 19, 1) 100%);
}

.stat-number {
    position: relative;
    z-index: 1;
    font-family: var(--font-mono);
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 600;
    color: #8cb7ff;
    line-height: 1;
    margin-bottom: 0.7rem;
    letter-spacing: -0.04em;
}

.stat-desc {
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.78);
    max-width: 22ch;
}

.stat-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #7fb0ff;
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.08);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.1;
}

.stat-icon-shield {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #34d399;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.10);
}

.mt-shift {
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .authority-stats {
        grid-template-columns: 1fr;
    }

    .mt-shift {
        margin-top: 0;
    }

    .stat-box {
        min-height: 180px;
    }
}

@media (max-width: 768px) {
    #autoridade .container {
        gap: 2rem;
    }

    .authority-text h2 {
        max-width: none;
    }

    .authority-text p,
    .check-list li,
    .stat-desc {
        max-width: none;
    }

    .stat-box {
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }
}

/* ==========================================================================
   SEÇÃO COMO FUNCIONA / METODOLOGIA — NÍVEL SAAS PREMIUM
   ========================================================================== */

#como-funciona .section-header {
    max-width: 760px;
}

#como-funciona .section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

/* ==========================================================================
   METODOLOGIA - INOVADORA E ELEGANTE
   ========================================================================== */
.methodology-container {
    position: relative;
    max-width: 1160px;
    margin: 4rem auto 0;
}

.methodology-path {
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(96, 165, 250, 0.15);
    z-index: 1;
}

.methodology-path-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    animation: flowLine 4s infinite linear;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

@keyframes flowLine {
    0% { left: -30%; }
    100% { left: 100%; }
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.methodology-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: default;
}

/* Connecting vertical line from dot to card */
.methodology-step::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 50%;
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(96, 165, 250, 0.3), transparent);
    z-index: 0;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.methodology-step:hover::before {
    opacity: 1;
}

.step-node {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 1px solid rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.2rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
    box-shadow: 0 0 0 5px var(--bg-dark); /* cut out the line behind */
}

.node-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.3);
    transition: all var(--transition-smooth);
}

.methodology-step:hover .step-node {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3), 0 0 0 5px var(--bg-dark);
    transform: translateY(-3px);
}

.methodology-step:hover .node-inner {
    background: var(--primary-blue);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.8);
}

.step-card {
    background: linear-gradient(145deg, rgba(13, 15, 20, 0.8) 0%, rgba(9, 11, 15, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 24px;
    padding: 2.2rem 1.8rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.methodology-step:hover .step-card {
    transform: translateY(-8px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Subtle glow under the card */
.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-smooth);
    pointer-events: none;
}

.methodology-step:hover .step-card::before {
    opacity: 1;
}

.step-bg-num {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 7.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.methodology-step:hover .step-bg-num {
    -webkit-text-stroke: 1.5px rgba(96, 165, 250, 0.12);
    transform: scale(1.08) translate(-5px, 5px);
}

.step-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.step-card h4 {
    font-size: 1.15rem;
    color: #fff;
    margin: 0;
    line-height: 1.35;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }
    
    .methodology-path {
        display: none;
    }
    
    .methodology-step::before {
        display: none;
    }
    
    .step-node {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 640px) {
    .methodology-container {
        padding-left: 1rem;
    }
    
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .methodology-step {
        flex-direction: row;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .step-node {
        margin-bottom: 0;
        margin-top: 1.5rem;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        box-shadow: none; /* remove fake gap on vertical */
    }
    
    /* Vertical path line for mobile */
    .methodology-container::before {
        content: '';
        position: absolute;
        top: 2rem;
        bottom: 4rem;
        left: calc(1rem + 22px);
        width: 1px;
        background: rgba(96, 165, 250, 0.15);
        z-index: 0;
    }
}

/* ==========================================================================
   CTA FINAL — NÍVEL SAAS PREMIUM
   ========================================================================== */

.cta-final {
    padding: 8rem 0;
    position: relative;
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.06) 0%, rgba(7, 8, 11, 0) 55%),
        linear-gradient(to bottom, transparent, rgba(4, 6, 10, 0.45));
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

.cta-final-box {
    max-width: 980px;
    margin: 0 auto;
    padding: 3.2rem 2.2rem;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(10, 13, 18, 0.96) 0%, rgba(9, 12, 17, 0.99) 100%);
    border: 1px solid rgba(96, 165, 250, 0.14);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    position: relative;
    overflow: hidden;
}

.cta-final-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(59, 130, 246, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(96, 165, 250, 0.05), transparent 26%);
    pointer-events: none;
    opacity: 0.95;
}

.cta-final h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    max-width: 860px;
    margin: 0 auto 1.25rem;
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.cta-final p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(226, 232, 240, 0.78);
}

.cta-final .hero-buttons {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    gap: 1rem;
}

.cta-final .hero-buttons .btn {
    min-width: 220px;
    min-height: 58px;
}

.cta-final-meta {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
    font-size: 0.94rem;
    color: rgba(203, 213, 225, 0.64);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .cta-final {
        padding: 5.5rem 0;
    }

    .cta-final-box {
        padding: 2rem 1.25rem;
        border-radius: 22px;
    }

    .cta-final h2 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .cta-final p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .cta-final .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background: rgba(10, 13, 18, 0.9);
    color: #7fb0ff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);

    transition: all 0.25s ease;
    backdrop-filter: blur(8px);

    z-index: 9999;
}

#backToTop:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #ffffff;
    transform: translateY(0);
}

/* visível */
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(10, 13, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 0;
    }

    .header-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .logo {
        min-width: 0;
    }

    .brand-logo {
        height: 54px;
    }

    .header.scrolled .brand-logo {
        height: 46px;
    }

    .menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
        z-index: 120;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 0.85rem);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(10, 13, 18, 0.96);
        border: 1px solid rgba(96, 165, 250, 0.18);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        z-index: 110;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.95rem 1rem;
        border-radius: 12px;
        color: #e5edf9;
        background: transparent;
    }

    .nav-link:hover {
        background: rgba(96, 165, 250, 0.08);
        color: #fff;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        padding-top: 6.5rem;
        min-height: auto;
        padding-bottom: 5rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
        line-height: 1.03;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-hero-premium {
        width: 100%;
    }
}