@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #07090e;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --primary-glow: #6366f1;
    --secondary-glow: #a855f7;
    --accent-cyan: #06b6d4;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    position: relative;
}

/* Color Overrides for Accessibility on Dark Theme */
.text-muted {
    color: #cbd5e1 !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-desc {
    color: #cbd5e1 !important;
    line-height: 1.6;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Background Gradients Glow */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(130px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-primary {
    background: var(--primary-glow);
    top: -10%;
    left: -10%;
}

.glow-secondary {
    background: var(--secondary-glow);
    bottom: 10%;
    right: -10%;
}

.glow-accent {
    background: var(--accent-cyan);
    top: 40%;
    left: 30%;
    width: 400px;
    height: 400px;
}

/* Glassmorphism Navigation */
.navbar-premium {
    backdrop-filter: blur(12px);
    background: rgba(7, 9, 14, 0.75);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-smooth);
}

.navbar-premium.scrolled {
    background: rgba(7, 9, 14, 0.9);
    padding: 10px 0;
}

/* Glassmorphism Cards */
.card-glass {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    transition: var(--transition-smooth);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.card-glass:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(99, 102, 241, 0.05);
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Buttons */
.btn-premium {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-premium:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-outline-premium {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border-hover);
    border-radius: 12px;
    padding: 13px 27px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
}

.btn-outline-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Feature Icon wrapper */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-glow);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.card-glass:hover .icon-box {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--secondary-glow);
    transform: scale(1.05);
}

/* Form Styles */
.form-control-premium {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 14px 18px;
    transition: var(--transition-smooth);
}

.form-control-premium:focus {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.25);
    color: var(--text-primary);
    outline: none;
}

.form-control-premium::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Testimonials Badge */
.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-glow);
}

/* Stats Counter */
.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Trust Elements & Marquee Carousel */
.logo-marquee {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    position: relative;
    padding: 15px 0;
    display: flex;
}

/* Gradient overlays to fade out the logos at edges */
.logo-marquee::before,
.logo-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 20%, transparent);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 20%, transparent);
}

.logo-marquee-track {
    display: inline-flex;
    gap: 80px;
    animation: marquee-scroll 25s linear infinite;
    padding-left: 40px;
}

.logo-marquee .client-logo {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    user-select: none;
    display: inline-block;
    text-transform: none;
    letter-spacing: -0.025em;
    cursor: default;
}

.logo-marquee .client-logo:hover {
    color: var(--text-primary);
    transform: scale(1.08);
}

/* Animation keyframes for scrolling left to right */
@keyframes marquee-scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    /* Menu Mobile Premium Glassmorphic */
    .navbar-collapse {
        background: rgba(7, 9, 14, 0.96);
        backdrop-filter: blur(16px);
        border: 1px solid var(--card-border);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    }
    .navbar-nav .nav-link {
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--text-primary) !important;
        font-family: var(--font-heading);
    }
    .navbar-nav .nav-item:last-child .nav-link,
    .navbar-nav .nav-item .btn {
        border-bottom: none;
    }
    .navbar-nav .btn-premium {
        margin-top: 10px;
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    /* Ajustes Gerais de Grid e Espaçamento */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .row {
        --bs-gutter-x: 1.5rem !important;
    }
    
    /* Fontes Responsivas */
    h1.display-3 {
        font-size: 2.25rem !important;
        line-height: 1.25 !important;
    }
    
    h2.display-5 {
        font-size: 1.75rem !important;
    }
    
    .glow-bg {
        width: 250px;
        height: 250px;
        filter: blur(80px);
    }
    
    .stat-num {
        font-size: 2.5rem;
    }
    
    .card-glass {
        padding: 1.5rem;
        border-radius: 16px;
    }

    /* Redução de Padding de Botões */
    .btn-premium, .btn-outline-premium {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    /* Card flutuante sobre a imagem do hero */
    .position-relative .card-glass {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 15px;
        max-width: 100% !important;
        padding: 1rem !important;
        border-radius: 12px;
    }
    
    /* WhatsApp Flutuante Menor para Mobile */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    /* Ajuste de inputs no mobile */
    .form-control-premium {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}

/* LGPD Cookie Consent Banner */
.lgpd-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(7, 9, 14, 0.9);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: translateY(150px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.lgpd-banner.show {
    transform: translateY(0);
    opacity: 1;
}

@media (min-width: 768px) {
    .lgpd-banner {
        left: 32px;
        right: auto;
        max-width: 500px;
    }
}

/* Modais de Compliance Premium (Glassmorphism) */
.modal-premium .modal-content {
    background: rgba(7, 9, 14, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.modal-premium .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 1.5rem 1rem;
}

.modal-premium .modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-premium .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem 1.5rem;
}

.modal-premium .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.modal-premium .btn-close-white:hover {
    opacity: 1;
}

