/*
Theme Name: Moclick Bridge - Ponte
Theme URI: https://bridge.moclick.com.br
Author: Moclick
Description: Template profissional para Moclick Bridge
Version: 2.1.0
Text Domain: moclick-bridge
*/

:root {
    /* Cores */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Layout */
    --header-height: 72px;
    --container-max: 1280px;
    --container-padding: 24px;

    /* Bordas e Sombras */
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* ========================================
   LAYOUT - CONTAINER PADRÃO
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ========================================
   HEADER - FIXO E CONSISTENTE
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* ========================================
   BOTÕES
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow);
}

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

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 70px) 0 40px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 100%);
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Dashboard Preview */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dashboard-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.window-dots span:nth-child(2) { background: #ffbd2e; }
.window-dots span:nth-child(3) { background: #27c93f; }

.window-title {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-family: monospace;
}

.dashboard-body {
    padding: 24px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 160px;
    margin-bottom: 24px;
}

.bar {
    flex: 1;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px 4px 0 0;
    min-width: 8px;
}

.bar.active {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.metric-change.positive {
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 600;
}

/* ========================================
   SEÇÕES COMUNS
   ======================================== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

.section-dark h2,
.section-dark h3 {
    color: white;
}

.section-dark p {
    color: var(--text-muted);
}

.section-header {
    max-width: 640px;
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-dark .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
}

/* ========================================
   SOLUÇÕES GRID
   ======================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

.solution-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.solution-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}

.solution-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ========================================
   PASSOS
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.step-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    margin-top: 8px;
}

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

/* ========================================
   PUSH NOTIFICATION SECTION
   ======================================== */
.push-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.phone-mockup {
    width: 280px;
    margin: 0 auto;
    background: var(--bg-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-screen {
    background: var(--bg);
    border-radius: 32px;
    overflow: hidden;
    min-height: 500px;
}

.phone-status {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

/* NOVO: Lock screen wallpaper */
.phone-wallpaper {
    padding: 16px;
    text-align: center;
    background: linear-gradient(180deg, #f0e6f6 0%, #e8ddf0 50%, #d4c4e0 100%);
}

.phone-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.phone-quick-settings {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.phone-quick-settings span {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* NOVO: Push notification realista (substitui .push-message antigo) */
.push-notification-real {
    background: white;
    border-radius: 16px;
    margin: 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
}

.push-header {
    padding: 10px 14px 6px;
}

.push-app-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.push-app-logo {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.push-app-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.push-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.push-creative {
    position: relative;
}

.push-creative-image {
    width: 100%;
    height: 140px;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    position: relative;
    overflow: hidden;
}

.push-creative-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
    color: white;
}

.push-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.push-creative-overlay h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}

.push-creative-overlay p {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.3;
}

.push-cta {
    padding: 10px 14px;
    border-top: 1px solid var(--border);
}

.push-btn-saiba {
    width: 100%;
    padding: 8px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.push-btn-saiba:hover {
    background: var(--primary);
    color: white;
}

/* NOVO: System notifications abaixo */
.push-system-notifications {
    padding: 0 12px;
    opacity: 0.5;
}

.push-system-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.sys-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-secondary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.sys-time {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* MANTIDO DO BACKUP: Layout dos features à direita */
.push-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.push-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.push-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.push-feature-text h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.push-feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   RESPONSIVO - TABLET (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

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

    /* MANTIDO DO BACKUP: Push vira coluna em tablet */
    .push-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .push-visual {
        order: -1;
    }

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

/* ========================================
   RESPONSIVO - MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --header-height: 64px;
    }

    /* Menu Mobile */
    .menu-toggle {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .header-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu a {
        font-size: 1.125rem;
        padding: 8px 0;
        display: block;
    }

    .header-actions {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding: calc(var(--header-height) + 40px) 0 40px;
        min-height: auto;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .dashboard-preview {
        transform: scale(0.9);
    }

    /* Grids Mobile */
    .steps-grid,
    .sites-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: 24px;
    }

    /* Push Mobile */
    .phone-mockup {
        width: 260px;
    }

    .push-feature {
        gap: 12px;
    }

    .push-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    /* Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 20px;
    }

    .inventory-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }
}

/* ========================================
   RESPONSIVO - PUSH SECTION
   ======================================== */
@media (max-width: 1024px) {
    .push-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .push-visual {
        order: -1;
    }
    
    .phone-mockup {
        width: 260px;
    }
}

@media (max-width: 768px) {
    .push-feature {
        gap: 12px;
    }

    .push-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .phone-mockup {
        width: 240px;
    }
}
/* ========================================
   INVENTÁRIO TABS
   ======================================== */
.inventory-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

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

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   INVENTÁRIO GRID
   ======================================== */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.site-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
}

.site-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.site-card.featured {
    border-color: var(--primary);
    background: var(--primary-light);
}

.site-logo {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.site-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.site-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.site-stats {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.inventory-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   CTA / FORMULÁRIO
   ======================================== */
.section-cta {
    background: var(--bg-secondary);
}

.cta-box {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 64px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-form {
    max-width: 560px;
    margin: 0 auto;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg);
    color: var(--text);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-success {
    margin-top: 24px;
    padding: 16px;
    background: #d1fae5;
    color: #065f46;
    border-radius: 8px;
    font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 64px 0 32px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    display: block;
}

.footer-brand .logo-accent {
    color: var(--primary);
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-menu a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

/* ========================================
   MENU MOBILE
   ======================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text);
    left: 0;
    transition: all 0.3s;
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.menu-toggle.active .hamburger {
    background: transparent;
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ========================================
   RESPONSIVO - TABLET (max-width: 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

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

    .push-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .push-visual {
        order: -1;
    }

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

/* ========================================
   RESPONSIVO - MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --header-height: 64px;
    }

    /* Menu Mobile */
    .menu-toggle {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border);
        padding: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .header-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu a {
        font-size: 1.125rem;
        padding: 8px 0;
        display: block;
    }

    .header-actions {
        display: none;
    }

    /* Hero Mobile */
    .hero {
        padding: calc(var(--header-height) + 40px) 0 40px;
        min-height: auto;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .dashboard-preview {
        transform: scale(0.9);
    }

    /* Grids Mobile */
    .steps-grid,
    .sites-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        padding: 24px;
    }

    /* Push Mobile */
    .phone-mockup {
        width: 260px;
    }

    .push-feature {
        gap: 12px;
    }

    .push-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    /* Form Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 20px;
    }

    .inventory-tabs {
        gap: 6px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }
}

/* ========================================
   RESPONSIVO - SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .dashboard-preview {
        transform: scale(0.85);
        margin: -20px;
    }

    .chart-bars {
        height: 120px;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .solution-icon {
        width: 48px;
        height: 48px;
    }

    .solution-icon svg {
        width: 24px;
        height: 24px;
    }

    .phone-mockup {
        width: 240px;
    }

    .phone-screen {
        min-height: 420px;
    }

    .push-message {
        padding: 10px;
    }

    .push-app-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .site-card {
        padding: 16px;
    }

    .site-logo {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* ========================================
   TOUCH DEVICES OPTIMIZATIONS
   ======================================== */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }

    .solution-card:hover {
        transform: none;
    }

    .site-card:hover {
        transform: none;
    }
}

/* iPhone Safari notch support */
@supports (padding-top: env(safe-area-inset-top)) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }

    .hero {
        padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 40px);
    }
}

/* ========================================
   FOOTER LOGO
   ======================================== */
.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .footer-logo-img {
        height: 28px;
    }
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

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

/* ========================================
   SELECTION COLOR
   ======================================== */
::selection {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ========================================
   SEÇÃO SOLUÇÕES - CARDS COMPACTOS 1 LINHA
   ======================================== */
.section-solucoes {
    padding: 40px 0;
}

.solutions-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card-compact {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-icon-compact {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 12px;
}

.solution-icon-compact svg {
    width: 24px;
    height: 24px;
}

.solution-title-compact {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
    line-height: 1.3;
}

.solution-desc-compact {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.solution-features-compact {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: auto;
    width: 100%;
}

.solution-features-compact li {
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 2px 0;
    position: relative;
}

.solution-features-compact li::before {
    content: "•";
    color: var(--success);
    font-weight: 700;
    margin-right: 6px;
}

/* ========================================
   RESPONSIVO - SOLUÇÕES
   ======================================== */
@media (max-width: 1024px) {
    .solutions-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
    
    .solution-card-compact {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .solutions-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .solution-card-compact {
        padding: 16px;
    }
    
    .solution-icon-compact {
        width: 40px;
        height: 40px;
    }
    
    .solution-title-compact {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .solutions-row {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }
}