/* ============================================
   INNOVE - Trade Marketing Inteligente
   Dark Theme | Green Accents
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #141418;
    --bg-secondary: #1a1a20;
    --bg-card: #1f1f26;
    --bg-card-hover: #25252d;
    --green-primary: #00c853;
    --green-glow: #00e676;
    --green-dark: #00a844;
    --green-subtle: rgba(0, 200, 83, 0.1);
    --green-border: rgba(0, 200, 83, 0.2);
    --text-primary: #f1f1f3;
    --text-secondary: #a8adb8;
    --text-muted: #6f7582;
    --border-color: rgba(255, 255, 255, 0.09);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Particles Canvas --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section Common --- */
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--green-primary), var(--green-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-green {
    color: var(--green-primary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--green-primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.2);
}

.btn-primary:hover {
    background: var(--green-glow);
    box-shadow: 0 0 40px rgba(0, 200, 83, 0.35);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a.active {
    color: var(--green-primary);
}

.nav-cta {
    background: var(--green-primary);
    color: #000 !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--green-glow) !important;
    color: #000 !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 160px 24px 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 200, 83, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: relative;
    margin-top: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Impacto / Stats --- */
.impacto {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover {
    border-color: var(--green-border);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--green-primary);
    line-height: 1;
    display: inline;
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green-primary);
    display: inline;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Servicos --- */
.servicos {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--green-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: var(--radius);
    margin-bottom: 24px;
    color: var(--green-primary);
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--green-primary);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.25);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* --- Tecnologia --- */
.tecnologia {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.tech-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-partner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 10px 20px;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: 50px;
}

.tech-partner-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-partner-logo {
    height: 22px;
    width: auto;
    opacity: 0.9;
    transition: opacity var(--transition);
}

.tech-partner-logo:hover {
    opacity: 1;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.tech-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tech-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: 10px;
    color: var(--green-primary);
}

.tech-feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tech-feature p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Tech Mockup --- */
.tech-visual {
    display: flex;
    justify-content: center;
}

.tech-mockup {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

.mockup-dot:first-child { background: #ff5f57; opacity: 0.7; }
.mockup-dot:nth-child(2) { background: #ffbd2e; opacity: 0.7; }
.mockup-dot:nth-child(3) { background: #28c840; opacity: 0.7; }

.mockup-body {
    padding: 32px 24px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 160px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(to top, var(--green-primary), var(--green-glow));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: opacity var(--transition);
    animation: barGrow 1.5s ease-out forwards;
}

.chart-bar:hover {
    opacity: 1;
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mockup-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.mockup-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-stat-value {
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- Sobre --- */
.sobre {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.sobre-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.sobre-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

.sobre-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.value-tag {
    padding: 8px 20px;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-primary);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding: 0 0 40px 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--text-muted);
    transition: all var(--transition);
}

.timeline-item.active::before {
    border-color: var(--green-primary);
    background: var(--green-primary);
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.4);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green-primary);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Clientes --- */
.clientes {
    padding: 80px 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.client-logo-placeholder {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all var(--transition);
}

.client-logo-placeholder:hover {
    border-color: var(--green-border);
    border-style: solid;
}

/* --- Contato --- */
.contato {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.contato-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contato-center .section-desc {
    margin: 0 auto 48px;
}

.contato-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contato-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    text-decoration: none;
}

.contato-card:hover {
    border-color: var(--green-border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contato-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-subtle);
    border: 1px solid var(--green-border);
    border-radius: var(--radius);
    color: var(--green-primary);
    transition: all var(--transition);
}

.contato-card:hover .contato-card-icon {
    background: var(--green-primary);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.25);
}

.contato-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contato-card-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Footer --- */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--green-primary);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .tech-visual {
        order: -1;
    }

    .sobre-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contato-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 24px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-card {
        padding: 28px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

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

    .hero {
        padding: 120px 20px 60px;
    }
}
