/* ============================================
   ATIVO LEADS - Light Theme Website
   White bg  |  Brand gradient accents
   Apple-style scroll animations
   ============================================ */

@import url('../design-tokens.css');

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: var(--leading-relaxed);
    overflow-x: hidden;
}

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

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

.container {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

/* --- Film Grain Overlay (subtle on light) --- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* ===========================================
   LOADER - White overlay (text reveal intro)
   =========================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    pointer-events: none;
}

.loader-logo {
    display: none;
}

/* Hero title sits above loader during intro */
.hero-title {
    position: relative;
    z-index: 10000;
}

/* ===========================================
   NAVBAR
   =========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                box-shadow 0.3s ease,
                padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.navbar.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: var(--section-max-width);
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s ease;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--btn-radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(45, 122, 237, 0.3);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.mobile-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-links a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.25s ease;
}

.mobile-links a:hover {
    color: var(--primary);
}

.mobile-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 32px;
    border-radius: var(--btn-radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff !important;
    font-size: 18px !important;
}

/* ===========================================
   SECTION BASE
   =========================================== */
.section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Text Gradients */
.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #25D366, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================================
   BRAND LINES (Decorative horizontal bars)
   =========================================== */
.brand-lines {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: var(--bl-gap);
    z-index: 1;
    pointer-events: none;
}

.brand-lines--right {
    right: 0;
    align-items: flex-end;
}

.brand-lines--left {
    left: 0;
    align-items: flex-start;
}

.brand-line {
    height: var(--bl-height);
    border-radius: var(--bl-radius);
    will-change: transform, opacity;
}

.brand-lines--right .brand-line:nth-child(1) { width: 120px; background: #003f82; opacity: 0.12; }
.brand-lines--right .brand-line:nth-child(2) { width: 80px; background: #4ca2b5; opacity: 0.10; }
.brand-lines--right .brand-line:nth-child(3) { width: 140px; background: #ffd27f; opacity: 0.15; }
.brand-lines--right .brand-line:nth-child(4) { width: 60px; background: #003f82; opacity: 0.08; }
.brand-lines--right .brand-line:nth-child(5) { width: 100px; background: #4ca2b5; opacity: 0.10; }

.brand-lines--left .brand-line:nth-child(1) { width: 100px; background: #4ca2b5; opacity: 0.10; }
.brand-lines--left .brand-line:nth-child(2) { width: 140px; background: #003f82; opacity: 0.12; }
.brand-lines--left .brand-line:nth-child(3) { width: 60px; background: #ffd27f; opacity: 0.15; }
.brand-lines--left .brand-line:nth-child(4) { width: 120px; background: #4ca2b5; opacity: 0.08; }
.brand-lines--left .brand-line:nth-child(5) { width: 80px; background: #003f82; opacity: 0.10; }

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 122, 237, 0.05) 0%, transparent 70%),
                radial-gradient(ellipse 60% 40% at 70% 60%, rgba(76, 162, 181, 0.04) 0%, transparent 60%);
}

/* Ambient glow blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-glow--primary {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 20%;
    background: rgba(45, 122, 237, 0.06);
}

.hero-glow--secondary {
    width: 400px;
    height: 400px;
    bottom: 20%;
    right: 15%;
    background: rgba(76, 162, 181, 0.04);
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    15% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100vh) scale(0.3);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--section-padding-x);
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(45, 122, 237, 0.08);
    border: 1px solid rgba(45, 122, 237, 0.15);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(45, 122, 237, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(45, 122, 237, 0); }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-word {
    display: inline-block;
    will-change: transform, opacity;
}

/* Gradient text inside hero title */
.hero-title-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-gradient .hero-word {
    -webkit-text-fill-color: transparent;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2563d8);
    color: #fff;
    box-shadow: 0 2px 12px rgba(45, 122, 237, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(45, 122, 237, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.18);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.btn-ghost-light {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-ghost-light:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

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

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-stat-plus {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* ===========================================
   HERO MOCKUP
   =========================================== */
.hero-mockup {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 64px auto 0;
    padding: 0 var(--section-padding-x);
    z-index: 2;
}

.mockup-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(45, 122, 237, 0.06) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.mockup-browser {
    background: #1a2234;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.mockup-browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

.mockup-url {
    margin-left: 12px;
    font-size: 12px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 6px;
}

.mockup-screen {
    position: relative;
    aspect-ratio: 16/9;
    background: #0a0f1c;
    overflow: hidden;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder mockup UI when image fails */
.mockup-screen.placeholder .mockup-img {
    display: none;
}

.mockup-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    padding: 12px;
}

.mockup-screen.placeholder .mockup-placeholder {
    display: flex;
}

.mock-sidebar {
    width: 48px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-right: 12px;
}

.mock-sidebar-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.mock-sidebar-item.active {
    background: rgba(45, 122, 237, 0.3);
}

.mock-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-topbar {
    height: 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.mock-cards {
    display: flex;
    gap: 10px;
}

.mock-card {
    flex: 1;
    height: 60px;
    border-radius: 8px;
}

.mock-card.c1 { background: rgba(45, 122, 237, 0.15); }
.mock-card.c2 { background: rgba(43, 181, 160, 0.15); }
.mock-card.c3 { background: rgba(232, 184, 75, 0.15); }

.mock-table {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mock-row {
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    z-index: 3;
    will-change: transform;
}

.fc-chat {
    top: 15%;
    right: -20px;
}

.fc-lead {
    bottom: 30%;
    left: -20px;
}

.fc-metric {
    bottom: 10%;
    right: 10%;
}

.fc-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-icon.green { background: rgba(37, 211, 102, 0.1); color: #25D366; }
.fc-icon.blue { background: rgba(45, 122, 237, 0.1); color: var(--primary); }
.fc-icon.gold { background: rgba(232, 184, 75, 0.1); color: var(--accent); }

.fc-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fc-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.fc-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.fc-highlight {
    color: #10b981 !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* ===========================================
   FEATURES SECTION
   =========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--card-radius);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
    will-change: transform;
    transform-style: preserve-3d;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    border-color: rgba(45, 122, 237, 0.2);
    box-shadow: 0 8px 32px rgba(45, 122, 237, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(45, 122, 237, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================================
   WHATSAPP SECTION
   =========================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse > * {
    direction: ltr;
}

.split-content {
    display: flex;
    flex-direction: column;
}

.split-content .section-tag {
    margin-bottom: 12px;
}

.split-content .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.split-content .section-desc {
    text-align: left;
    margin-bottom: 24px;
}

/* Check List */
.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(43, 181, 160, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    flex-shrink: 0;
}

/* Partner Badges */
.partner-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.meta-icon { color: #1877F2; }
.whatsapp-icon { color: #25D366; }

/* Phone Mockup — stays dark (it's the app UI) */
.split-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    background: #1a1a2e;
    border-radius: 32px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: #0a0f1c;
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}

.phone-screen {
    background: #111827;
    border-radius: 24px;
    overflow: hidden;
}

.wa-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #1f2937;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-header-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-header-name {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    flex: 1;
}

.wa-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.wa-messages {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wa-msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
    position: relative;
}

.wa-msg.received {
    background: #1f2937;
    color: #f1f5f9;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.wa-msg.sent {
    background: rgba(37, 211, 102, 0.15);
    color: #f1f5f9;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.wa-time {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #64748b;
    margin-top: 4px;
    justify-content: flex-end;
}

/* Template Card floating */
.template-card {
    position: absolute;
    bottom: 22%;
    right: calc(50% - 190px);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.template-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.template-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #25D366;
    font-weight: 500;
}

/* ===========================================
   OPERAÇÃO (PROGRESS BARS) SECTION
   =========================================== */
.operacao-section {
    background: var(--bg-surface);
}

.operacao-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.operacao-images {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.operacao-images::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--bg-surface));
    pointer-events: none;
    z-index: 1;
}

.operacao-img-main {
    width: 100%;
    object-fit: contain;
}

.operacao-stat-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 2;
}


.operacao-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.operacao-stat-text {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Progress Bars */
.progress-bars {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 28px;
}

.progress-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 63, 130, 0.08);
    color: #003f82;
}

.progress-item-label {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    flex: 1;
}

.progress-item-value {
    font-weight: 700;
    font-size: 15px;
    color: #003f82;
    flex-shrink: 0;
}

.progress-track {
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: var(--gradient-brand);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill.animated {
    width: var(--progress-width);
}

/* ===========================================
   KANBAN SECTION
   =========================================== */
.kanban-demo {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.kanban-demo::-webkit-scrollbar {
    display: none;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 16px;
    min-width: 700px;
}

.kanban-column {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.kanban-col-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.kanban-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.kanban-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 6px;
}

.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kanban-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 14px;
    will-change: transform, opacity;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.kanban-card.won {
    border-color: rgba(16, 185, 129, 0.3);
}

.kc-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.kc-value {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.kc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
}

.kc-tag.hot {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.kc-check {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

/* Kanban Info Cards */
.kanban-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.kanban-info-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.ki-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ki-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===========================================
   REPORTS SECTION
   =========================================== */
.chart-container {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--card-radius);
    padding: 28px;
    will-change: transform;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.chart-header h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-period {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Funnel Chart */
.funnel-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.funnel-bar {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-surface);
}

.funnel-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.15;
}

.funnel-bar.animated .funnel-bar-fill {
    width: var(--bar-width);
}

.funnel-label {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    padding-left: 14px;
}

.funnel-value {
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-left: auto;
    padding-right: 14px;
}

/* Chart Metrics */
.chart-metrics {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.chart-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cm-label {
    font-size: 12px;
    color: var(--text-muted);
}

.cm-value {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-primary);
}

/* Report Features */
.report-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.rf-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.rf-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(45, 122, 237, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.rf-item strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.rf-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section {
    text-align: center;
    background: var(--bg-surface);
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(45, 122, 237, 0.05) 0%, transparent 70%);
    background-size: 200% 200%;
    background-position: 0% 0%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-author-info strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.cta-author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 32px;
    margin-bottom: 12px;
    filter: brightness(0);
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.25s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 12px;
    color: var(--text-muted);
}

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

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* ===========================================
   FOCUS STYLES (Accessibility)
   =========================================== */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .split-content .section-title,
    .split-content .section-desc {
        text-align: center;
    }

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

    .partner-badges {
        justify-content: center;
    }

    .split-visual {
        justify-content: center;
    }

    .kanban-board {
        grid-template-columns: repeat(4, 200px);
    }

    .operacao-images {
        max-width: 400px;
        margin: 0 auto;
    }
}

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

    .nav-hamburger {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 24px;
    }

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

    .kanban-info {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .brand-lines {
        display: none;
    }

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .operacao-stat-badge {
        left: 10px;
        bottom: -16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 30px;
    }

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

    .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
}

/* ===========================================
   REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-particle {
        display: none;
    }
}
