/* ============================================
   Work Marketing - Estilos CSS Principal
   Tema Criativo de Marketing Digital
   ============================================ */

/* --- Variáveis CSS --- */
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent-purple: #7b2ff7;
    --accent-pink: #e94560;
    --accent-cyan: #00d4ff;
    --accent-green: #00ff88;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --gradient-1: linear-gradient(135deg, #7b2ff7 0%, #e94560 100%);
    --gradient-2: linear-gradient(135deg, #00d4ff 0%, #7b2ff7 100%);
    --gradient-3: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --shadow-card: 0 20px 60px rgba(123, 47, 247, 0.15);
    --shadow-hover: 0 30px 80px rgba(123, 47, 247, 0.3);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Tipografia --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p { color: var(--text-gray); }

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

a:hover {
    color: var(--accent-pink);
}

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

/* --- Navegação --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 47, 247, 0.2);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(15, 12, 41, 0.98);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-light);
}

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

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(123, 47, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 50%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #7b2ff7 50%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-gray);
}

.hero-logo {
    width: 280px;
    margin: 0 auto 40px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.6);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(123, 47, 247, 0.5);
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: var(--accent-purple);
    background: rgba(123, 47, 247, 0.1);
    color: white;
}

/* --- Seção de Serviços --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards de Serviço --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    border: 1px solid rgba(123, 47, 247, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(123, 47, 247, 0.4);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-icon.google { background: linear-gradient(135deg, #4285f4, #34a853); }
.service-icon.bing { background: linear-gradient(135deg, #00809d, #00a4ef); }
.service-icon.yahoo { background: linear-gradient(135deg, #6001d2, #72727a); }
.service-icon.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.service-icon.facebook { background: linear-gradient(135deg, #1877f2, #0052d4); }
.service-icon.youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.service-icon.twitter { background: linear-gradient(135deg, #000000, #333333); }

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

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card .btn {
    font-size: 0.9rem;
    padding: 10px 24px;
}

/* --- Seção Sobre --- */
.about-section {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 60px;
    margin: 40px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(123, 47, 247, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.stat-item h3 {
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.85rem;
    margin-top: 5px;
}

/* --- Seção Plataformas --- */
.platforms-section {
    background: var(--gradient-hero);
    padding: 100px 0;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.platform-card:hover {
    transform: translateY(-5px);
    background: rgba(123, 47, 247, 0.1);
    border-color: var(--accent-purple);
}

.platform-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.platform-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.platform-card p {
    font-size: 0.85rem;
}

/* --- Footer --- */
.footer {
    background: #0a0a1a;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(123, 47, 247, 0.2);
}

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

.footer-brand img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--accent-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* --- Página de Serviço Individual --- */
.service-hero {
    padding: 140px 20px 80px;
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
}

.service-hero h1 {
    margin-bottom: 15px;
}

.service-hero .platform-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-content {
    padding: 80px 0;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(123, 47, 247, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* --- Página Legal --- */
.legal-page {
    padding: 140px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.legal-page .last-updated {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--accent-cyan);
}

.legal-page h3 {
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--accent-purple);
}

.legal-page p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-page ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-page ul li {
    margin-bottom: 8px;
    color: var(--text-gray);
}

.legal-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.legal-nav a {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(123, 47, 247, 0.3);
    color: var(--text-gray);
    transition: var(--transition);
}

.legal-nav a:hover,
.legal-nav a.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: white;
}

/* --- Formulário de Contato --- */
.contact-section {
    padding: 100px 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--secondary);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(123, 47, 247, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- Animações --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Partículas de Fundo --- */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-purple);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* --- Responsivo --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 12, 41, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-bottom: 1px solid rgba(123, 47, 247, 0.2);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-logo {
        width: 200px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
}

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

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

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

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

/* --- Loading Animation --- */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(123, 47, 247, 0.2);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 20px 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb span {
    color: var(--text-gray);
    margin: 0 8px;
}

/* --- Pricing Cards --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(123, 47, 247, 0.15);
    transition: var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-purple);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-purple);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 20px 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0 30px;
}

.pricing-card ul li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
