/**
 * VGSYS - CSS Corrigido para HTML Existente
 * Compatible | Error-Free | Performance Optimized
 * Autor: VGSYS Team - 2025
 */

/* ===== RESET E VARIÁVEIS ===== */
:root {
    /* Cores Principais */
    --primary-dark: #1a202c;
    --primary-medium: #2d3748;
    --primary-light: #4a5568;
    --accent-green: #48bb78;
    --accent-green-dark: #38a169;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    --gradient-green: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    --gradient-hero: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(74, 85, 104, 0.95) 100%);
    
    /* Sombras */
    --shadow-sm: 0 4px 20px rgba(45, 55, 72, 0.1);
    --shadow-md: 0 10px 40px rgba(45, 55, 72, 0.15);
    --shadow-lg: 0 20px 60px rgba(45, 55, 72, 0.2);
    --shadow-glow: 0 0 30px rgba(72, 187, 120, 0.3);
    --shadow-glow-strong: 0 0 50px rgba(72, 187, 120, 0.5);
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET MODERNO ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-medium);
    padding-top: 80px;
    overflow-x: hidden;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== GRADIENTES ===== */
.gradient-text {
    background: var(--gradient-green);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.gradient-text-light {
    background: linear-gradient(45deg, #ffffff, #f7fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* ===== NAVBAR ULTRA MODERNO ===== */
.navbar,
.navbar.bg-primary {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(45, 55, 72, 0.3);
}

.navbar-brand {
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    color: #ffffff !important;
    letter-spacing: -0.025em;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    margin: 0 0.5rem !important;
    padding: 0.5rem 1rem !important;
    border-radius: 50px !important;
    transition: all var(--transition-normal) !important;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px) !important;
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(72, 187, 120, 0.2) !important;
    box-shadow: var(--shadow-glow) !important;
    font-weight: 600 !important;
}

.navbar .btn-light,
.navbar .btn {
    background: var(--gradient-green) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    transition: all var(--transition-normal) !important;
    box-shadow: var(--shadow-glow) !important;
}

.navbar .btn-light:hover,
.navbar .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--shadow-glow-strong) !important;
    color: #ffffff !important;
}

.navbar-toggler {
    border: none !important;
    padding: 4px 8px !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== HERO SECTION ===== */
.hero-ultra-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.hero-animated-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: var(--gradient-green);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: var(--gradient-green);
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    top: 40%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.15), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(72, 187, 120, 0.2), transparent);
    background-repeat: repeat;
    background-size: 150px 150px;
    animation: particles 25s infinite linear;
    z-index: 4;
}

@keyframes particles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-150px); }
}

.hero-container {
    position: relative;
    z-index: 5;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-main-content {
    text-align: center;
    color: white;
}

.hero-badge-container {
    margin-bottom: 2rem;
}

.hero-innovation-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-title-ultra {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.title-line-1, .title-line-3 {
    display: block;
}

.title-line-2, .title-line-4 {
    display: block;
    background: linear-gradient(45deg, #ffffff, #f7fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-modern {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HERO STATS ===== */
.hero-stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.stat-plus {
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.stat-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.stat-glow-green { background: var(--gradient-green); }
.stat-glow-blue { background: linear-gradient(45deg, #3182ce, #2c5aa0); }
.stat-glow-purple { background: linear-gradient(45deg, #805ad5, #553c9a); }

/* ===== HERO ACTIONS ===== */
.hero-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 4rem;
}

.btn-hero-primary, .btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn-hero-primary {
    background: var(--gradient-green);
    color: white;
    box-shadow: var(--shadow-glow);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-3px);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-hero-primary:hover .btn-glow {
    transform: translateX(100%);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-hero-primary:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* ===== HERO VISUAL ===== */
.hero-visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 3rem;
}

.dashboard-frame {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.dashboard-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.dashboard-title {
    font-weight: 600;
    color: var(--primary-medium);
    font-size: 0.9rem;
}

.dashboard-content {
    position: relative;
}

.dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.floating-metrics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.metric-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floatMetric 3s ease-in-out infinite alternate;
}

.metric-sales {
    top: 10%;
    right: -20%;
    animation-delay: 0s;
}

.metric-clients {
    top: 50%;
    left: -25%;
    animation-delay: 1s;
}

.metric-products {
    bottom: 20%;
    right: -15%;
    animation-delay: 2s;
}

@keyframes floatMetric {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.metric-sales .metric-icon { background: var(--gradient-green); }
.metric-clients .metric-icon { background: linear-gradient(45deg, #f59e0b, #d97706); }
.metric-products .metric-icon { background: linear-gradient(45deg, #3b82f6, #1d4ed8); }

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-medium);
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}

.metric-trend {
    color: var(--accent-green);
    font-size: 0.8rem;
}

.metric-pulse, .metric-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}



.scroll-wheel {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-ball {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0.3; }
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== SECTIONS HEADER ===== */
.section-header-modern {
    text-align: center;
    margin-bottom: 6rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1.1rem;
}

.section-title-ultra {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-medium);
    line-height: 1.2;
}

.section-subtitle-modern {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section-ultra {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.solution-card-ultra {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 2px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card-ultra:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-green);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.card-gradient-whatsapp {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(72, 187, 120, 0.05) 0%, transparent 70%);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.solution-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    position: relative;
}

.bot-card .solution-icon {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.icon-glow, .icon-glow-whatsapp {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 12px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.icon-glow-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.solution-card-ultra:hover .icon-glow,
.solution-card-ultra:hover .icon-glow-whatsapp {
    opacity: 0.7;
}

.solution-badge {
    background: rgba(72, 187, 120, 0.1);
    color: var(--accent-green);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bot-card .solution-badge {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.card-content {
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.solution-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-medium);
    margin-bottom: 1rem;
}

.solution-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.solution-features-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--primary-medium);
}

.feature-item i {
    color: var(--accent-green);
    font-size: 1rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-card-primary, .btn-card-whatsapp {
    flex: 1;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.btn-card-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.btn-card-primary:hover, .btn-card-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-card-demo {
    background: transparent;
    color: var(--primary-medium);
    border: 2px solid #e5e7eb;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
}

.btn-card-demo:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.card-glow, .card-glow-whatsapp {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 24px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-glow-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.solution-card-ultra:hover .card-glow,
.solution-card-ultra:hover .card-glow-whatsapp {
    opacity: 0.2;
}

/* ===== STATS SECTION ===== */
.stats-section-modern {
    position: relative;
    padding: 6rem 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.stats-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.05), transparent);
    background-repeat: repeat;
    background-size: 80px 80px;
    animation: particles 20s infinite linear;
    z-index: 3;
}

.stats-section-modern .container {
    position: relative;
    z-index: 4;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.stat-icon-container i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(72, 187, 120, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: iconPulse 3s infinite;
}

@keyframes iconPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.stat-content-modern {
    color: white;
}

.stat-number-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 4px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-growth {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-green);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.stat-card-modern:hover .stat-decoration {
    transform: scaleX(1);
}

/* ===== TESTIMONIALS ===== */
.testimonials-ultra-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.testimonial-card-ultra {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 2px solid #f1f5f9;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card-ultra:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-testimonial {
    border-color: var(--accent-green);
    transform: scale(1.02);
}

.featured-testimonial:hover {
    transform: scale(1.02) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: var(--gradient-green);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--primary-medium);
    font-style: italic;
    position: relative;
    padding-left: 2rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-green);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.author-avatar {
    position: relative;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f5f9;
}

.avatar-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-green);
    z-index: -1;
    filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.featured-glow {
    opacity: 0.7;
}

.testimonial-card-ultra:hover .avatar-glow {
    opacity: 0.5;
}

.author-info {
    flex-grow: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-medium);
    margin-bottom: 4px;
}

.author-position {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.company-logo img {
    height: 24px;
    width: auto;
    opacity: 0.7;
}

.testimonial-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

.testimonial-glow, .featured-testimonial-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-green);
    border-radius: 24px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card-ultra:hover .testimonial-glow,
.featured-testimonial .featured-testimonial-glow {
    opacity: 0.1;
}

.testimonials-action {
    text-align: center;
}

.btn-testimonials {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-testimonials:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

/* ===== CTA SECTION ===== */
.cta-ultra-section {
    position: relative;
    padding: 6rem 0;
    background: var(--primary-dark);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.cta-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(72, 187, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(72, 187, 120, 0.1) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite alternate;
    z-index: 3;
}

@keyframes bgMove {
    0% { transform: translateX(0px) translateY(0px); }
    100% { transform: translateX(20px) translateY(-20px); }
}

.cta-ultra-section .container {
    position: relative;
    z-index: 4;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-form-ultra {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 4rem;
    margin-bottom: 3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2);
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: var(--gradient-green);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.form-group:focus-within .input-glow {
    opacity: 0.3;
}

.btn-cta-ultra {
    width: 100%;
    background: var(--gradient-green);
    border: none;
    color: white;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-cta-ultra:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

.cta-trust-signals {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-signal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-signal i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

/* ===== TECH SECTION ===== */
.tech-section-ultra {
    padding: 6rem 0;
    background: white;
}

.tech-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.tech-category-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #f1f5f9;
    border-radius: 20px;
    padding: 3rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.tech-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-medium);
}

.tech-items {
    display: grid;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    transition: all var(--transition-normal);
    border: 1px solid #f1f5f9;
}

.tech-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-green);
}

.tech-item img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.tech-item span {
    font-weight: 500;
    color: var(--primary-medium);
}

/* ===== RESPONSIVIDADE ===== */

/* Tablets */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .floating-metrics .metric-card {
        position: static;
        margin: 1rem 0;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 3rem;
    }
}

/* Desktop */
@media (min-width: 640px) {
    .hero-actions-modern {
        flex-direction: row;
    }
    
    .hero-stats-modern {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
    
    .hero-main-content {
        text-align: left;
    }
    
    .hero-visual-container {
        margin-top: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-ultra-modern {
        min-height: 90vh;
        padding: 3rem 0;
    }
    
    .hero-content-wrapper {
        min-height: auto;
        gap: 2rem;
    }
    
    .hero-stats-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-plus {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-actions-modern {
        gap: 1rem;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    .dashboard-frame {
        padding: 1rem;
    }
    
    .floating-metrics {
        position: static;
    }
    
    .metric-card {
        position: static;
        margin: 0.5rem 0;
        animation: none;
        transform: none;
    }
    
    .metric-sales, .metric-clients, .metric-products {
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-card-ultra {
        padding: 2rem;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card-modern {
        padding: 2rem;
    }
    
    .stat-icon-container i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-card-ultra {
        padding: 2rem;
    }
    
    .testimonial-metrics {
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-form-ultra {
        padding: 2rem;
    }
    
    .cta-trust-signals {
        gap: 1.5rem;
    }
    
    .tech-categories-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-category-card {
        padding: 2rem;
    }
    
    .section-header-modern {
        margin-bottom: 4rem;
    }
}
@media (max-width: 768px) {
    #back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
    
    .btn-cta-ultra {
        font-size: 0.95rem !important;
        padding: 16px 28px !important;
    }
    
    .btn-cta-ultra i {
        font-size: 1.1rem !important;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-stats-modern {
        grid-template-columns: 1fr;
        max-width: 200px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-shape {
        display: none;
    }
    
    .hero-particle-system {
        opacity: 0.3;
    }
    
    .cta-trust-signals {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* ===== FOCUS STATES ===== */
.btn-hero-primary:focus,
.btn-hero-secondary:focus,
.btn-card-primary:focus,
.btn-card-whatsapp:focus,
.btn-card-demo:focus,
.btn-testimonials:focus,
.btn-cta-ultra:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero-animated-shapes,
    .hero-particle-system,
    .stats-particles,
    .floating-shape {
        display: none;
    }
    
    .hero-ultra-modern,
    .stats-section-modern,
    .cta-ultra-section {
        background: white;
        color: black;
    }
    
    .gradient-text,
    .gradient-text-light {
        -webkit-text-fill-color: black;
        color: black;
    }
}

/* ===== PERFORMANCE ===== */
.hero-ultra-modern,
.solution-card-ultra,
.testimonial-card-ultra,
.stat-card-modern {
    will-change: transform;
}

.btn-hero-primary,
.btn-hero-secondary,
.btn-card-primary,
.btn-card-whatsapp,
.btn-cta-ultra {
    will-change: transform;
}

/* ===== HERO FEATURES - MOBILE CORRIGIDO ===== */

/* Container principal */
.hero-visual-container {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    position: relative !important;
    margin-top: 1rem !important;
    z-index: 5 !important;
}

/* Grid responsivo */
.hero-features-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    max-width: 700px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 1rem !important;
}

/* Remover qualquer cursor/interação */
.feature-card,
.feature-card *,
.feature-icon,
.feature-title,
.feature-description {
    cursor: default !important;
    pointer-events: none !important;
}

/* Cards modernos */
.feature-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    padding: 1.75rem 1.25rem !important;
    text-align: center !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    min-height: 160px !important;
    max-height: 160px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    z-index: 10 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    aspect-ratio: 1 / 1 !important;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 16px 40px rgba(72, 187, 120, 0.2) !important;
    border-color: #48bb78 !important;
    background: rgba(255, 255, 255, 1) !important;
    cursor: default !important;
}

/* Ícone */
.feature-icon {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem !important;
    color: white !important;
    font-size: 1.3rem !important;
    box-shadow: 0 4px 16px rgba(72, 187, 120, 0.3) !important;
}

/* Título */
.feature-title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
}

/* Descrição */
.feature-description {
    font-size: 0.82rem !important;
    color: #718096 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

/* ===== RESPONSIVIDADE CORRIGIDA ===== */

/* Desktop Grande (1200px+) */
@media (min-width: 1200px) {
    .hero-features-grid {
        max-width: 750px !important;
        gap: 2rem !important;
    }
    
    .feature-card {
        min-height: 170px !important;
        max-height: 170px !important;
        padding: 2rem 1.5rem !important;
    }
    
    .feature-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 1.4rem !important;
    }
    
    .feature-title {
        font-size: 1.1rem !important;
    }
    
    .feature-description {
        font-size: 0.9rem !important;
    }
}

/* Tablet Horizontal (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 500px !important;
        gap: 1.5rem !important;
    }
    
    .feature-card {
        min-height: 180px !important;
        max-height: 180px !important;
        padding: 1.75rem 1.25rem !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
    }
    
    .feature-title {
        font-size: 1.05rem !important;
    }
    
    .feature-description {
        font-size: 0.9rem !important;
    }
}

/* ===== MOBILE CORRIGIDO (até 767px) ===== */
@media (max-width: 767px) {
    .hero-visual-container {
        margin-top: 2rem !important;
    }
    
    .hero-features-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 COLUNAS NO MOBILE */
        max-width: 320px !important; /* Largura menor */
        gap: 1rem !important;
        padding: 0.5rem !important;
    }
    
    .feature-card {
        min-height: 130px !important; /* Altura menor */
        max-height: 130px !important;
        padding: 1rem 0.75rem !important; /* Padding menor */
        border-radius: 12px !important;
        aspect-ratio: 1 / 1 !important; /* Mantém quadrado */
    }
    
    .feature-icon {
        width: 36px !important; /* Ícone menor */
        height: 36px !important;
        font-size: 1rem !important;
        margin-bottom: 0.6rem !important;
        border-radius: 8px !important; /* Bordas menores */
    }
    
    .feature-title {
        font-size: 0.85rem !important; /* Texto menor */
        margin-bottom: 0.3rem !important;
        line-height: 1.1 !important;
    }
    
    .feature-description {
        font-size: 0.7rem !important; /* Descrição menor */
        line-height: 1.2 !important;
        -webkit-line-clamp: 2 !important; /* Máximo 2 linhas */
    }
}

/* Mobile Extra Pequeno (até 400px) */
@media (max-width: 400px) {
    .hero-features-grid {
        max-width: 280px !important;
        gap: 0.8rem !important;
    }
    
    .feature-card {
        min-height: 120px !important;
        max-height: 120px !important;
        padding: 0.8rem 0.6rem !important;
    }
    
    .feature-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .feature-title {
        font-size: 0.8rem !important;
        margin-bottom: 0.2rem !important;
    }
    
    .feature-description {
        font-size: 0.65rem !important;
    }
}

/* ===== LIMPEZA ===== */
.hero-visual-container *,
.hero-features-grid *,
.feature-card::before,
.feature-card::after,
.hero-features-grid::before,
.hero-features-grid::after {
    cursor: default !important;
}

.hero-features-grid::before,
.hero-features-grid::after,
.feature-card::after {
    display: none !important;
    content: none !important;
}

/* Ajustes da seção hero */
.hero-content-wrapper {
    min-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

.hero-main-content {
    position: relative !important;
    z-index: 6 !important;
    margin-bottom: 2rem !important;
}

/* Performance */
.feature-card {
    will-change: transform !important;
    transform: translateZ(0) !important;
}

/* ===== FIX FORMULÁRIO CTA ===== */

/* Corrigir grid do formulário */
.cta-form-ultra .form-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
}

/* Corrigir form groups */
.cta-form-ultra .form-group {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* Corrigir inputs */
.cta-form-ultra .form-group input,
.cta-form-ultra .form-group select {
    width: 100% !important;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: white !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

/* Placeholder styling */
.cta-form-ultra .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Focus states */
.cta-form-ultra .form-group input:focus,
.cta-form-ultra .form-group select:focus {
    outline: none !important;
    border-color: #48bb78 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2) !important;
}

/* Select específico */
.cta-form-ultra .form-group select {
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='rgba(255,255,255,0.7)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    padding-right: 40px !important;
}

/* Opções do select */
.cta-form-ultra .form-group select option {
    background: #2d3748 !important;
    color: white !important;
    padding: 10px !important;
    border: none !important;
}

.cta-form-ultra .form-group select option:hover {
    background: #48bb78 !important;
}

/* Input glow effect */
.cta-form-ultra .input-glow {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(45deg, #48bb78, #38a169) !important;
    z-index: -1 !important;
    filter: blur(10px) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.cta-form-ultra .form-group:focus-within .input-glow {
    opacity: 0.3 !important;
}
#back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(45deg, #48bb78, #38a169) !important;
    border: none !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 20px rgba(72, 187, 120, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#back-to-top:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(72, 187, 120, 0.4) !important;
}

#back-to-top.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .cta-form-ultra .form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .cta-form-ultra .form-group input,
    .cta-form-ultra .form-group select {
        padding: 14px 16px !important;
        font-size: 16px !important; /* Previne zoom no iOS */
    }
}

/* Fix para sobreposição de elementos */
.cta-form-ultra {
    position: relative !important;
    z-index: 10 !important;
}

.cta-form-ultra * {
    box-sizing: border-box !important;
}

/* Botão submit */
.btn-cta-ultra {
    width: 100% !important;
    background: linear-gradient(45deg, #48bb78, #38a169) !important;
    border: none !important;
    color: white !important;
    padding: 18px 32px !important;
    border-radius: 50px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
}

.btn-cta-ultra:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(72, 187, 120, 0.4) !important;
}

.btn-cta-ultra:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Trust signals */
.cta-trust-signals {
    display: flex !important;
    justify-content: center !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    margin-top: 2rem !important;
}

.trust-signal {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.trust-signal i {
    color: #48bb78 !important;
    font-size: 1.1rem !important;
}

@media (max-width: 480px) {
    .cta-trust-signals {
        gap: 1rem !important;
    }
    
    .trust-signal {
        font-size: 0.8rem !important;
    }
}
/* ===== WHATSAPP CTA ENHANCEMENTS ===== */
.btn-cta-ultra {
    background: linear-gradient(45deg, #25d366, #128c7e) !important;
    border: none !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.btn-cta-ultra:hover {
    background: linear-gradient(45deg, #20b358, #0f7a6e) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4) !important;
}

.btn-cta-ultra i {
    font-size: 1.2rem !important;
    margin-right: 8px !important;
}
/* ===== FORM VALIDATION STYLES ===== */
.field-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    animation: shake 0.5s ease-in-out !important;
}

.field-success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.field-error:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.field-success:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
/* ===== WHATSAPP NOTIFICATION STYLES ===== */
.whatsapp-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 10000;
    font-weight: 500;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 300px;
    font-size: 14px;
}

.whatsapp-notification.error {
    background: #ef4444;
}

.whatsapp-notification.success {
    background: #10b981;
}