/* ============================================
   XST DIGITAL - LANDING PAGE STYLES
   Tema Claro/Escuro + Fullpage Scroll
   v2.0 - Menu Mobile Reestruturado
   ============================================ */

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

/* VARIÁVEIS - TEMA CLARO (Padrão) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --brand-blue: #2563eb;
    --brand-cyan: #0ea5e9;
    --brand-orange: #f97316;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.16);
}

/* TEMA ESCURO */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
}

/* HTML & BODY */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    transform: translateX(0);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.92);
}

@media (min-width: 1024px) {
    .header.is-floating {
        top: 1rem;
        left: 50%;
        right: auto;
        width: min(92%, 1100px);
        border-radius: 999px;
        border-bottom: none;
        border: 1px solid rgba(148, 163, 184, 0.25);
        box-shadow: 0 24px 45px -30px rgba(15, 23, 42, 0.6);
        transform: translateX(-50%);
    }

    [data-theme="dark"] .header.is-floating {
        background: rgba(15, 23, 42, 0.88);
        border-color: rgba(148, 163, 184, 0.3);
    }

    .header.is-floating .header-container {
        padding: 0.65rem 1.5rem;
    }

    .header.is-floating .logo-img {
        height: 38px;
    }

    .header.is-floating .nav-list {
        gap: 1.5rem;
    }

    .header.is-floating .nav-link {
        font-size: 0.9rem;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.logo-img {
    height: 48px;
    width: auto;
    transition: transform 0.2s;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

/* Desktop Navigation - Only above 900px */
@media (min-width: 901px) {
    /* Esconder elementos mobile */
    .hamburger {
        display: none !important;
    }
    
    .menu-overlay {
        display: none !important;
    }
    
    .menu-close {
        display: none !important;
    }
    
    .nav-mobile {
        display: none !important;
    }
    
    /* MENU DESKTOP DENTRO DO HEADER */
    .nav-desktop {
        flex: 1;
        display: flex !important;
        justify-content: center;
    }

    .nav-list-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-link-desktop {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text-secondary);
        padding: 0.5rem 0;
        position: relative;
        text-decoration: none;
        transition: color 0.2s;
    }

    .nav-link-desktop::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
        transform: scaleX(0);
        transition: transform 0.2s;
    }

    .nav-link-desktop:hover,
    .nav-link-desktop.active {
        color: var(--brand-blue);
    }

    .nav-link-desktop:hover::after,
    .nav-link-desktop.active::after {
        transform: scaleX(1);
    }
}

/* THEME TOGGLE */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.theme-icon {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

.sun-icon {
    opacity: 1;
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* HAMBURGER MOBILE */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
}

/* MENU CLOSE BUTTON (Mobile only) */
.menu-close {
    display: none;
}

/* DESKTOP NAVIGATION (hidden on mobile) */
.nav-desktop {
    display: none;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   DOTS NAVIGATION
   ============================================ */
.dots-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.dot:hover {
    border-color: var(--brand-blue);
    transform: scale(1.3);
}

.dot.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: scale(1.3);
}

/* ============================================
   FULLPAGE & SECTIONS
   ============================================ */
.fullpage-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.section {
    width: 100%;
    position: relative;
    padding: clamp(3rem, 6vh, 4rem) 2rem;
}

/* Compensação do header fixo - padding interno ao invés de deslocamento */
.section-content {
    padding-top: 80px;
}

.section-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-intro.large {
    font-size: 1.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
    background: var(--bg-primary);
    position: relative;
}

.section-hero .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 0; /* Remove padding-top da hero pois é a primeira seção */
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.data-viz {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.viz-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    animation: gridFlow 20s linear infinite;
}

@keyframes gridFlow {
    from { background-position: 0 0; }
    to { background-position: 40px 40px; }
}

.viz-particles {
    position: absolute;
    inset: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   PROBLEMA SECTION
   ============================================ */
.section-problema {
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-blue);
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-blue);
}

.problem-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.problem-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SOLUÇÃO SECTION
   ============================================ */
.section-solucao {
    background: var(--bg-primary);
}

.solucao-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.solucao-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.flow-step {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.flow-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

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

.flow-arrow {
    font-size: 2rem;
    color: var(--brand-blue);
}

/* ============================================
   SERVIÇOS SECTION
   ============================================ */
.section-servicos {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 24px;
    border: 2px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before,
.service-card:focus::before {
    transform: scaleX(1);
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-blue);
    outline: none;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-blue);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-benefits li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.service-benefits li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

/* ============================================
   DIFERENCIAIS SECTION
   ============================================ */
.section-diferenciais {
    background: var(--bg-primary);
}


.diferenciais-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
}

.column-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.insights-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.playbook-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.playbook-list li {
    padding-left: 1.5rem;
    position: relative;
}

.playbook-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.35);
}

.playbook-step {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.35rem;
}

.playbook-list p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
}

.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-blue);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Diferenciais List */
.diferenciais-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.diferencial-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.diferencial-item:hover {
    border-color: var(--brand-blue);
    transform: translateX(8px);
}

.diferencial-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.diferencial-item strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.diferencial-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CONTATO SECTION
   ============================================ */
.section-contato {
    background: var(--bg-secondary);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contato-form {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-success {
    display: none;
    padding: 1rem;
    background: #10b981;
    color: white;
    border-radius: 12px;
    margin-top: 1rem;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* Contact Info */
.contato-info {
    position: sticky;
    top: 120px;
}

.info-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-methods {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-methods li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.contact-methods svg {
    flex-shrink: 0;
    color: var(--brand-blue);
}

.contact-methods a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.contact-methods a:hover {
    color: var(--brand-blue);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #10b981;
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.whatsapp-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.section-final {
    background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border);
    padding: 5rem 2rem 2.5rem;
    position: relative;
}

.section-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-blue), transparent);
    opacity: 0.3;
}

.footer-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.footer-grid::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    border-radius: 2px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.footer-brand::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.15));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 320px;
    font-weight: 500;
}

/* Footer Badges */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-blue);
    transition: all 0.2s ease;
}

.footer-badge:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
}

.footer-badge svg {
    flex-shrink: 0;
}

/* Footer Stats */
.footer-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.footer-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

.footer-stat-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.2), transparent);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.2s;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-blue);
    transform: translateX(4px);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom p:first-child {
    font-weight: 500;
}

/* Responsivo Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-stats {
        gap: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn-secondary:hover {
    background: var(--brand-blue);
    color: white;
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in.delay-1 { transition-delay: 0.1s; }
.animate-in.delay-2 { transition-delay: 0.2s; }
.animate-in.delay-3 { transition-delay: 0.3s; }
.animate-in.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 1200px) {
    .section-hero .section-content,
    .diferenciais-wrapper,
    .contato-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .footer-panels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    /* Forçar z-index do header no mobile */
    .header {
        z-index: 997 !important;
    }
    
    /* HAMBURGER BUTTON - MOBILE */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        background: transparent;
        border-radius: 8px;
        pointer-events: all;
        position: relative;
    }
    
    /* MENU OVERLAY */
    .menu-overlay {
        z-index: 998;
        pointer-events: none;
    }
    
    .menu-overlay.active {
        pointer-events: all;
    }
    
    /* MOBILE MENU PANEL */
    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 85vw;
        max-width: 380px;
        background: #ffffff !important;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
        padding: 0;
        margin: 0;
        transition: right 0.35s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
        display: block;
        pointer-events: all;
        opacity: 1;
    }
    
    [data-theme="dark"] .nav-main {
        background: #1e293b !important;
        border-left: 1px solid rgba(148, 163, 184, 0.2);
    }
    
    .nav-main.active {
        right: 0;
    }
    
    /* CLOSE BUTTON */
    .menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        cursor: pointer;
        color: #0f172a;
        transition: all 0.2s;
        z-index: 10;
        pointer-events: all;
    }
    
    [data-theme="dark"] .menu-close {
        background: #334155;
        border-color: #475569;
        color: #f8fafc;
    }
    
    .menu-close:hover,
    .menu-close:active {
        background: #2563eb;
        color: white;
        transform: scale(1.05);
    }
    
    .menu-close svg {
        width: 20px;
        height: 20px;
    }
    
    /* NAV LIST */
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 5rem 0 2rem 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    
    [data-theme="dark"] .nav-list li {
        border-bottom-color: #334155;
    }
    
    .nav-list li:first-child {
        border-top: 1px solid #e2e8f0;
    }
    
    [data-theme="dark"] .nav-list li:first-child {
        border-top-color: #334155;
    }
    
    .nav-list li:last-child {
        border-bottom: none;
    }
    
    /* NAV LINKS - MOBILE ONLY */
    .nav-link {
        display: block;
        width: 100%;
        padding: 1.25rem 1.75rem;
        font-size: 1rem;
        font-weight: 500;
        color: #0f172a;
        text-decoration: none;
        background: transparent;
        transition: all 0.25s;
        border: none;
        border-radius: 0;
        pointer-events: all;
        cursor: pointer;
    }
    
    [data-theme="dark"] .nav-link {
        color: #f8fafc;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link:active {
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
        padding-left: 2.25rem;
    }
    
    [data-theme="dark"] .nav-link:hover,
    [data-theme="dark"] .nav-link:active {
        background: rgba(59, 130, 246, 0.12);
        color: #3b82f6;
    }
    
    .dots-nav {
        right: 1rem;
    }
    
    .section {
        padding: 6rem 1.5rem 4rem;
        min-height: auto;
    }
    
    .section-hero {
        padding-top: 7rem;
    }
    
    .solucao-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .services-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-final {
        padding: clamp(2.5rem, 6vw, 3.5rem);
        border-radius: 24px;
    }

    .footer-brandmark {
        position: static;
        align-self: flex-start;
    }

    .footer-panels {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-panel {
        padding: 1.5rem;
    }

    .footer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-actions .btn,
    .footer-action-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .footer-brand {
        gap: 0.75rem;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        margin: 0 auto;
        max-width: 140px;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
        padding: 0 1.25rem;
    }
    
    .footer-actions .btn,
    .footer-action-secondary {
        padding: 0.85rem 1.35rem;
        font-size: 0.9rem;
    }
    
    .footer-panels {
        gap: 1.25rem;
    }
    
    .footer-panel {
        padding: 1.35rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        font-size: 0.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 1023px) {
    .fullpage-wrapper {
        height: auto;
        overflow-y: visible;
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
    
    .section {
        min-height: auto;
        height: auto;
        scroll-snap-align: unset;
        scroll-snap-stop: unset;
    }
    
    .dots-nav {
        display: none;
    }
}

/* Landscape mobile - telas com altura pequena */
@media (max-height: 600px) {
    .fullpage-wrapper {
        height: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
    }
    
    .section {
        min-height: auto !important;
        height: auto !important;
        scroll-snap-align: unset !important;
        scroll-snap-stop: unset !important;
        padding: 4rem 2rem !important;
    }
    
    .section-content {
        padding-top: 100px !important;
    }
    
    .dots-nav {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .fullpage-wrapper {
        height: 100vh;
        overflow-y: scroll;
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
    }
    
    .section {
        min-height: 100vh;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Desktop com altura pequena - desabilita scroll-snap */
@media (min-width: 1024px) and (max-height: 700px) {
    .fullpage-wrapper {
        height: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
        scroll-behavior: auto !important;
    }
    
    .section {
        min-height: auto !important;
        height: auto !important;
        scroll-snap-align: unset !important;
        scroll-snap-stop: unset !important;
        padding: 5rem 2rem !important;
    }
    
    .dots-nav {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page,
.politicas-page {
    min-height: 100vh;
    padding-top: 80px;
}

.blog-hero,
.politicas-hero {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.blog-hero h1,
.politicas-hero h1 {
    margin-bottom: 1rem;
}

.blog-content,
.politicas-content {
    padding: 4rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--bg-primary);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-blue);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    color: var(--brand-blue);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card h2 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: 24px;
}

.blog-empty-state svg {
    margin: 0 auto 1.5rem;
    color: var(--text-muted);
}

.blog-empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-empty-state p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Footer */
.blog-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
}

.footer-content-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--brand-blue);
}

/* ============================================
   POLÍTICAS PAGE
   ============================================ */
.politicas-nav {
    position: sticky;
    top: 90px;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 10;
}

.politicas-nav-link {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.politicas-nav-link:hover,
.politicas-nav-link:focus {
    background: var(--bg-secondary);
    color: var(--brand-blue);
}

.politicas-sections {
    max-width: 900px;
    margin: 0 auto;
}

.politica-section {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
    scroll-margin-top: 200px;
}

.politica-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    margin-bottom: 1.5rem;
}

.politica-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.politica-section h3 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.politica-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.politica-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.politica-section ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.politica-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-blue);
    font-weight: 700;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.valor-item {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.valor-item:hover {
    border-color: var(--brand-blue);
    transform: translateY(-4px);
}

.valor-item h3 {
    font-size: 1.125rem;
    margin: 0 0 0.75rem;
}

.valor-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* Políticas CTA */
.politicas-cta {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: white;
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    margin-top: 4rem;
}

.politicas-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.politicas-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: white;
    color: var(--brand-blue);
    border: none;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Responsividade Blog/Políticas */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .politicas-nav {
        top: 75px;
        flex-direction: column;
    }
    
    .politica-section {
        padding: 2rem 1.5rem;
    }
    
    .footer-content-simple {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}









