:root {
    --primary: #0a1825;
    --secondary: #6c757d;
    --accent: #00d2ff;
    --accent-secondary: #0086b3;
    --dark-accent: #102537;
    --light: #f8f9fa;
    --dark: #081018;
    --text-light: #ffffff;
    /* Design system - moderno/tecnológico */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --glow-accent: 0 0 30px rgba(0, 210, 255, 0.25);
    --glow-accent-strong: 0 0 40px rgba(0, 210, 255, 0.35);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(0, 210, 255, 0.25);
    color: var(--dark);
}

/* Navbar - glassmorphism e borda de destaque */
.navbar {
    padding: 0.75rem 1rem;
    transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
    background-color: rgba(10, 24, 37, 0.88) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 210, 255, 0.08);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(10, 24, 37, 0.96) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 210, 255, 0.12);
    border-bottom-color: rgba(0, 210, 255, 0.15);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-light) !important;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover, .nav-link:focus {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border: none;
    color: var(--dark);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-accent);
}

/* Hero - gradiente, grid tech e orbs de luz */
.hero {
    padding: 9rem 0 10rem;
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary) 35%, var(--dark-accent) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(0, 210, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0, 134, 179, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero .lead {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 520px;
}

.hero .btn-light {
    background: #fff;
    color: var(--primary);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 24px rgba(255, 255, 255, 0.15);
    background: #fff;
    color: var(--primary);
}

.hero .btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Área visual tech no hero (grid/glow) */
.hero-visual {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.2) 0%, rgba(0, 210, 255, 0.05) 40%, transparent 70%);
    animation: hero-glow 8s ease-in-out infinite alternate;
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 50%;
    animation: hero-ring 6s ease-in-out infinite;
}

@keyframes hero-glow {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

@keyframes hero-ring {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,218.7C672,203,768,149,864,128C960,107,1056,117,1152,133.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 120px;
}

/* Cards de serviço - borda sutil, glow no hover */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 255, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-secondary), var(--accent));
    border-radius: 4px 0 0 4px;
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--glow-accent);
    border-color: rgba(0, 210, 255, 0.2);
}

.service-card:hover::before {
    height: 100%;
}

.service-card .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.08) 0%, rgba(0, 134, 179, 0.06) 100%);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.service-card:hover .icon {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(0, 134, 179, 0.12) 100%);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.service-card .btn-outline-primary {
    border-width: 2px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
}

.service-card .btn-outline-primary:hover {
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    transform: translateY(-1px);
}

/* Títulos de seção - destaque moderno */
.section-title {
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary);
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title:not(.text-center)::after {
    left: 0;
    transform: none;
}

.feature-icon {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent) 100%);
}

/* CTA Section - mais impacto visual */
.cta-section {
    position: relative;
    background: linear-gradient(145deg, var(--primary) 0%, var(--dark-accent) 50%, var(--primary) 100%);
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 30% 20%, rgba(0, 210, 255, 0.12) 0%, transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(0, 134, 179, 0.1) 0%, transparent 35%);
    pointer-events: none;
}

.cta-section .btn-light {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-accent);
}

.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-link:hover {
    color: var(--accent);
}

.footer-social a:hover {
    color: var(--accent);
}

.copyright {
    background-color: var(--dark);
}

.login-btn {
    border: 2px solid var(--accent);
    color: var(--text-light) !important;
}

.login-btn:hover {
    background-color: var(--accent);
    color: var(--dark) !important;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

/* Estilos modernos para o logo */
.brand-text {
    position: relative;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.8rem;
    overflow: hidden;
}

.infinity-text {
    background: linear-gradient(45deg, #f0f3f6, #e8ecf0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.wave-text {
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: left 0.5s ease;
}

.hover-effect::after {
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent));
}

.hover-effect:hover {
    color: var(--accent) !important;
}

.pulse-effect:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

/* Efeito de partículas inspirado no logo */
.tech-particle {
    position: absolute;
    background-color: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}


/* Carrossel infinito de logomarcas (marquee) */
.clients-logo-marquee {
    margin: 0 -15px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clients-logo-marquee__track {
    display: flex;
    width: max-content;
    animation: clients-marquee 40s linear infinite;
}

.clients-logo-marquee__track:hover {
    animation-play-state: paused;
}

.clients-logo-marquee__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 1.5rem;
    flex-shrink: 0;
}

@keyframes clients-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 130px;
    height: 82px;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.client-logo img {
    max-height: 48px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Ajustes para mobile - carrossel de clientes */
@media (max-width: 767.98px) {
    .clients-logo-marquee__inner {
        gap: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .client-logo {
        width: 110px;
        height: 72px;
        padding: 0.5rem 0.65rem;
    }

    .client-logo img {
        max-height: 38px;
        max-width: 85px;
    }

    .clients-logo-marquee__track {
        animation-duration: 30s;
    }
}

/* Cards de contato - borda e ícone com glow */
.contact-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 210, 255, 0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    margin-bottom: 15px;
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 24px rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.15);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.12) 0%, rgba(0, 134, 179, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(0, 134, 179, 0.15) 100%);
    box-shadow: 0 0 24px rgba(0, 210, 255, 0.2);
}

/* Estilos para o Footer */
/* Footer - compacto e delicado */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--dark-accent) 0%, var(--primary) 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 0 1.25rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-secondary), transparent);
    opacity: 0.5;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-social {
    margin-top: 0.9rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-right: 0.75rem;
    transition: all 0.25s;
    display: inline-block;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-top: 3px;
    color: var(--accent);
    min-width: 20px;
}

.footer .container.py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1rem !important;
}

.footer p.mb-4 {
    margin-bottom: 1rem !important;
    font-size: 0.9rem;
}

.footer-link {
    font-size: 0.9rem;
}

hr.border-secondary {
    opacity: 0.1;
    margin: 1.25rem 0;
}

/* Ajustes responsivos */
@media (max-width: 991.98px) {
    .hero {
        padding: 6rem 0 4rem;
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        min-height: 200px;
    }

    .hero-visual::before {
        width: 220px;
        height: 220px;
    }

    .hero-visual::after {
        width: 140px;
        height: 140px;
    }

    .wave-wrapper {
        height: 80px;
        bottom: -80px;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-title {
        margin-top: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 5rem 0 3rem;
        margin-bottom: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-visual {
        min-height: 160px;
    }

    .hero-visual::before {
        width: 160px;
        height: 160px;
    }

    .hero-visual::after {
        width: 100px;
        height: 100px;
    }

    .wave-wrapper {
        height: 60px;
        bottom: -60px;
    }

    .contact-card {
        margin-bottom: 15px;
    }

    .footer-title {
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }

    .footer-link {
        margin-bottom: 0.35rem;
    }

    .footer-social a {
        margin-right: 0.6rem;
        font-size: 1.1rem;
    }
}

/* Correção para os indicadores do carrossel de clientes */
.carousel-indicators {
    position: absolute;
    bottom: -30px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: var(--accent-secondary);
    opacity: 0.5;
    border: none;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--accent);
}

/* WhatsApp flutuante - pulse sutil */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform var(--transition), box-shadow var(--transition);
    animation: whatsapp-float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 767.98px) {
    .floating-whatsapp {
        bottom: 18px;
        right: 18px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* Seção Gestor de Estoque - lista com ícones em destaque */
#gestorEstoque .text-primary {
    color: var(--accent) !important;
}

#gestorEstoque .d-flex.align-items-center.mb-3 {
    padding: 0.75rem 0;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

#gestorEstoque .d-flex.align-items-center.mb-3:hover {
    background: rgba(0, 210, 255, 0.04);
}

#gestorEstoque .position-relative.rounded-3 {
    border: 1px solid rgba(0, 210, 255, 0.1);
    box-shadow: var(--shadow-lg);
}

/* Seção Clientes - fundo sutil */
#clientes {
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}