/* Configurações Globais */
:root {
    --primary: #00F2FF;
    --secondary: #8A2BE2;
    --bg-dark: #050A18;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
}

body {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color-scheme: dark;
}

h1,
h2,
h3,
h4,
.Montserrat {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.02em;
}

/* Glassmorphism Premium Standardized */
.glass-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.6);
}

/* Generic Hover States for standard cards */
.glass-card-cyan:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(0, 242, 255, 0.03);
}

.glass-card-purple:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(138, 43, 226, 0.03);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Animações Premium */
@keyframes pulse-glow-top {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 242, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 242, 255, 0);
    }
}

.btn-back-to-top {
    background: linear-gradient(135deg, var(--primary) 0%, #00d4ff 100%) !important;
    animation: pulse-glow-top 3s infinite !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% auto;
    animation: gradient-move 3s linear infinite;
}

.glow-purple {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.glow-cyan {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.rim-light-purple {
    box-shadow: inset 0 0 20px rgba(138, 43, 226, 0.3), 0 32px 64px -16px rgba(0, 0, 0, 0.5);
}

/* Badge highlight Standardized */
.badge-highlight {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(0, 242, 255, 0.2);
    margin-bottom: 1.5rem;
}

/* =============================================
   EXTREME PRECISION HERO BUILD (BRIEF V2.6)
   ============================================= */

/* High-End Navigation & Outline Button */
.nav-link-premium {
    font-weight: 400;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline-pill {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    padding: 0.6rem 1.8rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-pill:hover {
    border-color: #00F2FF;
    background: rgba(0, 242, 255, 0.05);
    color: #00F2FF;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
}

/* Primary CTA: Pill + Intense Glow */
.btn-pill-gradient {
    display: inline-block;
    background: linear-gradient(90deg, #00F2FF 0%, #8A2BE2 100%);
    color: #050A18;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 1.25rem 3.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-pill-gradient:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 60px rgba(138, 43, 226, 0.6);
    filter: brightness(1.1);
}

.btn-premium-gradient {
    background: linear-gradient(90deg, #00F2FF 0%, #8A2BE2 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.3);
    display: inline-block;
    text-decoration: none;
    color: #ffffff !important;
}

.btn-solid-purple {
    background: #8A2BE2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    display: inline-block;
    text-decoration: none;
    color: #ffffff !important;
}

.btn-solid-cyan {
    background: #00F2FF;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
    display: inline-block;
    text-decoration: none;
    color: #050A18 !important;
}

.btn-solid-cyan:hover {
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.8);
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-solid-purple:hover {
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.8);
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-premium-gradient:hover {
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.8);
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Protagonist Container & Rim Light */
.hero-protagonist-container {
    height: calc(100vh - 80px);
    /* Height from menu to bottom of cards area approx */
    max-height: 800px;
}

.rim-light-purple {
    box-shadow:
        inset -20px 0 40px -10px rgba(138, 43, 226, 0.5),
        /* Right rim light */
        0 0 60px rgba(138, 43, 226, 0.15);
}

/* Extreme Precision Scanner (Pill-Shaped) */
.precision-scanner-bar {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 9999px;
    padding: 0.4rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    max-width: 550px;
    backdrop-filter: blur(20px);
    position: relative;
}

@media (max-width: 640px) {
    .precision-scanner-bar {
        flex-direction: column;
        border-radius: 1.5rem;
        padding: 1.5rem;
    }

    .precision-scanner-bar::before {
        border-radius: 1.5rem !important;
    }

    .precision-scanner-input {
        padding-left: 0;
        text-align: center;
        width: 100%;
        margin-bottom: 1rem;
    }

    .precision-scanner-btn {
        width: 100%;
    }
}

/* 1px Glow Border for Scanner */
.precision-scanner-bar::before {
    content: "";
    position: absolute;
    inset: -1px;
    padding: 1px;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.3), rgba(138, 43, 226, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.precision-scanner-input {
    background: transparent;
    border: none;
    outline: none;
    padding-left: 2rem;
    color: white;
    font-size: 1.125rem;
    flex: 1;
}

.precision-scanner-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.125rem;
}

.precision-scanner-input:focus {
    color: white;
}

.precision-scanner-btn {
    background: linear-gradient(90deg, #00F2FF 0%, #8A2BE2 100%);
    color: #050A18;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 0.9rem 2.8rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

.precision-scanner-btn:hover {
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.8);
    transform: scale(1.05);
}

/* Grid Cards Hero Bottom */
.master-hero-cards {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 1024px) {
    .master-hero-cards {
        width: 100%;
        flex-direction: column;
    }
}

.master-hero-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Visible border */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.card-icon-container {
    transition: transform 0.5s ease;
}

.master-hero-card:hover .card-icon-container {
    transform: scale(1.2) rotate(-5deg);
}

/* Specific Themes */
.card-purple:hover {
    border-color: #8A2BE2;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
    background: rgba(138, 43, 226, 0.05);
}

.card-cyan:hover {
    border-color: #00F2FF;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
    background: rgba(0, 242, 255, 0.05);
}

.master-hero-card:hover {
    transform: translateY(-10px);
}

/* Reusable Hero-style Hover for other buttons */
.btn-hover-hero-style {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-hover-hero-style:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #8A2BE2 !important;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.3), 0 0 80px rgba(138, 43, 226, 0.1) !important;
    background: rgba(138, 43, 226, 0.1) !important;
}

.btn-illuminate-purple {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-illuminate-purple:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.6), 0 0 100px rgba(138, 43, 226, 0.2) !important;
    filter: brightness(1.2) !important;
}


/* Corrigir fundo e remover espaços do topo */
body,
html {
    background-color: #050A18;
    /* */
    margin: 0;
    padding: 0;
}

/* Forçar a Hero a colar no topo */
#hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Garantir que a fonte Montserrat seja aplicada */
.Montserrat {
    font-family: 'Montserrat', sans-serif;
    /* */
}

#hero {
    /* Fundo Azul Marinho Abissal com gradientes de profundidade */
    background-color: #050A18 !important;
    background-image:
        radial-gradient(circle at 85% 50%, rgba(138, 43, 226, 0.18), transparent 45%),
        radial-gradient(circle at 15% 50%, rgba(0, 242, 255, 0.08), transparent 40%);
    position: relative;
    overflow: hidden;
}

/* Social Separation Bar Styles */
.social-separation-section {
    background: linear-gradient(90deg, #050A18 0%, #150828 50%, #050A18 100%);
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
    overflow: hidden;
    padding: 2.5rem 0;
    position: relative;
    margin-top: -3.5rem;
    margin-bottom: -3.5rem;
    z-index: 20;
}

.social-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-divider-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    min-width: 140px;
}

.social-divider-card i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    margin-bottom: 0.5rem;
}

.social-divider-card span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.social-divider-card:hover {
    background: rgba(138, 43, 226, 0.08);
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px -10px rgba(138, 43, 226, 0.5);
}

.social-divider-card:hover i {
    color: #fff;
    transform: scale(1.1);
}

.social-divider-card:hover span {
    color: #fff;
    letter-spacing: 0.3em;
}

@media (max-width: 768px) {
    .social-bar-grid {
        gap: 1rem;
        padding: 0 1rem;
    }

    .social-divider-card {
        min-width: auto;
        padding: 1rem;
    }
}

/* Logo Carousel Section */
.logo-carousel-section {
    background: transparent;
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo-track {
    display: flex;
    gap: 8rem;
    width: max-content;
    animation: scroll-logos 40s linear infinite;
    align-items: center;
}

.logo-item {
    width: 60px;
    height: 60px;
    color: rgba(255, 255, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 0 rgba(0, 242, 255, 0));
    transition: all 0.6s ease;
}

.logo-item:hover {
    color: #fff;
    transform: scale(1.35);
}

.logo-item:hover svg {
    filter: drop-shadow(0 0 15px rgba(0, 242, 255, 0.5));
}

/* Subtle individual glow behind logos on hover */
.logo-item::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.logo-item:hover::after {
    opacity: 1;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 4rem));
    }
}

@media (max-width: 768px) {
    .logo-track {
        gap: 4rem;
    }

    .logo-item {
        width: 45px;
        height: 45px;
    }
}

/* Portfolio V6 Refined Card Styles */
.portfolio-glow-active {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15), 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 242, 255, 0.2) !important;
}

.portfolio-item {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 80px -20px rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 0.4) !important;
    background: rgba(138, 43, 226, 0.03);
}

.portfolio-item:hover .aspect-video::after {
    opacity: 1;
}

/* Custom overlay for "Acessar Portfólio" */
.group:hover .backdrop-blur-sm {
    backdrop-filter: blur(8px);
}

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

/* Partners Logo Carousel */
.partners-carousel-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-carousel-track {
    display: flex;
    width: max-content;
    animation: scroll-partners 35s linear infinite;
    gap: 0;
}

.partners-carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo-item {
    flex-shrink: 0;
    padding: 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.partner-logo-item img {
    height: 48px;
    width: auto;
    filter: grayscale(1) opacity(0.4);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo-item:hover img {
    filter: grayscale(1) opacity(0.9) brightness(1.6);
    transform: scale(1.1);
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =============================================
   CONTACT SECTION & FORM
   ============================================= */
.contact-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: white;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
}

.contact-input:focus {
    outline: none;
    border-color: #00F2FF/40;
    background: rgba(0, 242, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.whatsapp-send-btn {
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    border: none;
    cursor: pointer;
}

.whatsapp-send-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 50px rgba(37, 211, 102, 0.6), 0 0 100px rgba(37, 211, 102, 0.2);
    background: #20BA56;
    filter: brightness(1.2);
}

.whatsapp-send-btn:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .contact-input {
        padding: 0.85rem 1rem;
    }
}

/* =============================================
   BACK TO TOP (GLASS STYLE)
   ============================================= */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-back-to-top:hover {
    background: rgba(138, 43, 226, 0.2) !important;
    border-color: rgba(138, 43, 226, 0.4) !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}