/* ==========================================================================
   SETUP & VARIÁVEIS
   ========================================================================== */
:root {
    --bg-dark: #0f0f10;
    --bg-alt: #161618;
    --bg-card: rgba(255, 255, 255, 0.03);
    --nav-bg: rgba(15, 15, 16, 0.4);
    
    --primary-gradient: linear-gradient(135deg, #2979ff 0%, #00e676 100%);
    --accent-blue: #2979ff;
    --accent-green: #00e676;
    
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);
    
    --font-main: 'Inter', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background: linear-gradient(180deg, 
        rgba(15, 15, 16, 1) 0%, 
        rgba(20, 20, 25, 1) 50%,
        rgba(15, 15, 16, 1) 100%);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==========================================================================
   UTILITÁRIOS GERAIS
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dot { color: var(--accent-green); }

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; }
a { text-decoration: none; }
ul { list-style: none; }

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    color: var(--bg-dark);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}
.btn-primary:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.1); 
}

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}
.btn-secondary:hover { 
    border-color: var(--accent-green);
    background: rgba(0, 230, 118, 0.05);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--nav-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
}

nav .logo {
    position: absolute;
    left: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
    width: 100%;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--accent-green); }
.nav-links a:hover::after { width: 100%; }

.nav-btn-container {
    display: flex;
    position: absolute;
    right: 2rem;
}

.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: white; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer { 
    background: #0a0a0c; 
    padding: 80px 0 30px; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}

.footer-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr; 
    gap: 40px; 
    margin-bottom: 60px; 
}

.footer-col p { color: var(--text-muted); margin-top: 1rem; max-width: 300px; }
.footer-col h4 { margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-green); }

.footer-bottom { 
    text-align: center; 
    padding-top: 30px; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    color: rgba(255, 255, 255, 0.4); 
    font-size: 0.9rem; 
}





/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
main {
    padding-top: 0;
    position: relative;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 200px 2rem 100px;
    background: linear-gradient(180deg, 
        rgba(41, 121, 255, 0.12) 0%, 
        rgba(0, 230, 118, 0.05) 50%,
        transparent 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 500px;
    background: radial-gradient(ellipse at top, 
        rgba(41, 121, 255, 0.25) 0%,
        rgba(41, 121, 255, 0.1) 40%, 
        transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: pulse-glow 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 10%;
    width: 40%;
    height: 400px;
    background: radial-gradient(ellipse at top right, 
        rgba(0, 230, 118, 0.15) 0%, 
        transparent 60%);
    filter: blur(70px);
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   PRODUTO PRINCIPAL - SITE PERSONALIZADO
   ========================================================================== */
.product-highlight {
    padding: 100px 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.product-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 600px;
    background: radial-gradient(ellipse at left, 
        rgba(41, 121, 255, 0.08) 0%, 
        transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

.product-main-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.badge-primary {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 230, 118, 0.05));
    border: 1px solid rgba(0, 230, 118, 0.3);
    color: var(--accent-green);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-text h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.product-text .lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.what-it-is,
.what-it-solves {
    margin-bottom: 32px;
}

.what-it-is h3,
.what-it-solves h3 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.what-it-is p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.what-it-solves ul {
    list-style: none;
    padding: 0;
}

.what-it-solves ul li {
    color: var(--text-muted);
    padding: 10px 0 10px 32px;
    position: relative;
    line-height: 1.6;
}

.what-it-solves ul li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--accent-green);
    font-size: 1.2rem;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Visual do produto - Slideshow */
.product-visual {
    position: sticky;
    top: 100px;
}

.product-slideshow {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.slideshow-label {
    text-align: center;
    min-height: 1.6rem;
}

.slideshow-text {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
    transition: opacity 0.4s ease;
}

.slideshow-text.fade-out {
    opacity: 0;
}

.slideshow-frame {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.3s ease;
}

.slideshow-frame:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(41, 121, 255, 0.25),
                0 0 30px rgba(0, 230, 118, 0.15);
}

.slideshow-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.slideshow-img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.slideshow-dot.active {
    background: var(--accent-green);
    transform: scale(1.35);
}

/* ==========================================================================
   SOLUÇÕES EMPRESARIAIS
   ========================================================================== */
.enterprise-solutions {
    padding: 80px 2rem 100px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.enterprise-solutions::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 60%;
    height: 500px;
    background: radial-gradient(ellipse at right, 
        rgba(0, 230, 118, 0.1) 0%, 
        transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -1;
}

.enterprise-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.enterprise-header h2 {
    font-size: 2.6rem;
    margin-bottom: 16px;
}

.enterprise-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.solution-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-soon {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-dim);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.solution-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.solution-info p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: rgba(22, 22, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(0, 230, 118, 0.15);
    display: flex;
    min-height: 300px;
    position: relative;
}

.dashboard-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(41, 121, 255, 0.05) 0%, 
        transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dash-sidebar {
    width: 60px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-main {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dash-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.dash-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.chart-box {
    height: 100px;
    background: linear-gradient(135deg, rgba(41, 121, 255, 0.08), rgba(0, 230, 118, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.dash-table {
    height: 80px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.enterprise-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.enterprise-footer p {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.final-cta {
    padding: 100px 2rem;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 230, 118, 0.05) 50%,
        rgba(41, 121, 255, 0.05) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 400px;
    background: radial-gradient(ellipse at bottom, 
        rgba(0, 230, 118, 0.15) 0%,
        rgba(41, 121, 255, 0.1) 40%, 
        transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: pulse-glow 7s ease-in-out infinite;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.final-cta-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-whatsapp {
    font-size: 1.05rem;
}

.btn-whatsapp i {
    font-size: 1.4rem;
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-glow 2s infinite;
}

.whatsapp-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 75px;
    right: 0;
    transform: translateY(10px);
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 9999;
    width: 200px;
    text-align: center;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: white transparent transparent transparent;
}

.whatsapp-tooltip p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}

.whatsapp-tooltip img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
@keyframes whatsapp-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .product-main-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-visual {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }

    .solution-item,
    .solution-item.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-item.reverse .solution-visual {
        order: 1;
    }

    .solution-item.reverse .solution-info {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .container { padding: 0 1rem; }

    /* NAVBAR MOBILE */
    header nav, header nav[style] { 
        display: flex !important;
        justify-content: space-between !important;
        padding: 1rem 1.5rem;
        align-items: center;
    }

    nav .logo {
        position: relative;
        left: auto;
    }

    .logo { 
        order: 1;
        flex: 0 0 auto;
    }

    .menu-toggle { 
        order: 3;
        display: block; 
        z-index: 2000; 
        position: relative;
        flex: 0 0 auto;
    }

    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--bg-alt);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 40px 40px 40px;
        transition: right 0.4s ease;
        display: flex;
        z-index: 1999;
        order: 2;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li { 
        margin: 0;
        width: 100%;
    }
    
    .nav-links a { 
        font-size: 1.1rem;
        display: block;
        padding: 15px 0;
        text-align: center;
    }

    .nav-btn-container {
        order: 2;
        position: static;
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0;
        margin-top: 30px;
    }

    .nav-btn-container .btn-primary, 
    .nav-btn-container .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* HERO */
    .hero {
        padding: 160px 1.5rem 60px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    /* PRODUTO PRINCIPAL */
    .product-highlight {
        padding: 60px 1.5rem;
    }

    .product-text h2 {
        font-size: 2rem;
    }

    .product-text .lead {
        font-size: 1.05rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-group .btn-primary,
    .cta-group .btn-secondary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* SOLUÇÕES */
    .enterprise-solutions {
        padding: 60px 1.5rem 80px;
    }

    .enterprise-header {
        margin-bottom: 60px;
    }

    .enterprise-header h2 {
        font-size: 2rem;
    }

    .enterprise-header p {
        font-size: 1.05rem;
    }

    .solutions-list {
        gap: 60px;
    }

    .solution-info h3 {
        font-size: 1.6rem;
    }

    .solution-info p {
        font-size: 1rem;
    }

    .dashboard-mockup {
        min-height: 250px;
    }

    .dash-main {
        padding: 16px;
    }

    /* CTA FINAL */
    .final-cta {
        padding: 80px 1.5rem;
    }

    .final-cta-content h2 {
        font-size: 1.9rem;
    }

    .final-cta-content p {
        font-size: 1.05rem;
    }

    /* FOOTER */
    .footer-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 40px; 
    }
    
    .footer-col p { 
        margin: 1rem auto 0; 
    }
    
    .footer-col .logo { 
        justify-content: center; 
    }

    /* WHATSAPP */
    .whatsapp-float {
        width: 50px; 
        height: 50px;
        bottom: 20px; 
        right: 20px;
    }
    
    .whatsapp-icon { 
        width: 30px; 
        height: 30px; 
    }
    
}

@media screen and (max-width: 480px) {
    .product-text h2 {
        font-size: 1.75rem;
    }

    .transition-content h2 {
        font-size: 1.6rem;
    }

    .enterprise-header h2 {
        font-size: 1.75rem;
    }

    .solution-info h3 {
        font-size: 1.4rem;
    }

    .final-cta-content h2 {
        font-size: 1.7rem;
    }

    .input-group input {
        font-size: 16px;
    }
}

/* ==========================================================================
   REVEAL-UP ANIMATION
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delays para animações sequenciais */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
