/* ============================================
   Agencia New Front - Styles
   Marketing Digital e Redes Sociais
   Paleta: Azul escuro, Ciano, Branco
   ============================================ */

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --accent-light: #22d3ee;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    transition: var(--transition);
}

#main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--white);
}

.logo-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-list a {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    padding: 4px 0;
}

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

.nav-list a:hover {
    color: var(--white);
}

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

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 700px;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray-50);
}

.section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin-bottom: 32px;
}

/* --- Content --- */
.content-block {
    max-width: 800px;
}

.content-block p {
    margin-bottom: 20px;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.8;
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-top: 36px;
    margin-bottom: 12px;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 16px;
    background: var(--primary);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: var(--accent-dark);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item:hover .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-300);
    font-weight: 500;
}

/* --- Contact --- */
.contact-info {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.contact-info p {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Footer --- */
#main-footer {
    background: var(--primary);
    color: var(--gray-300);
    padding: 60px 0 24px;
}

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

.footer-col .logo-icon,
.footer-col .logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.footer-col > p {
    margin-top: 12px;
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* --- WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        padding: 0;
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    }

    #main-nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 24px 20px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-list a {
        display: block;
        padding: 14px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .section {
        padding: 56px 0;
    }

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

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

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

    .hero h1 {
        font-size: 1.7rem;
    }

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

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
