/* =======================================================
   AGÊNCIA AVEL - CSS PREMIUM EVOLUÍDO
   Versão: 3.0 - Design Internacional
   ======================================================= */

/* =======================================================
   1. CONFIGURAÇÕES GERAIS E VARIÁVEIS
   ======================================================= */

:root {
    /* Cores principais */
    --primary-blue: #0056ff;
    --primary-blue-dark: #0039b3;
    --primary-blue-light: #4d8aff;
    --primary-glow: rgba(0, 86, 255, 0.4);
    
    /* Backgrounds */
    --bg-black: #000;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111;
    --bg-card-hover: #1a1a1a;
    --bg-hover: rgba(255,255,255,0.03);
    
    /* Textos */
    --text-white: #fff;
    --text-gray: #888;
    --text-muted: #666;
    --text-light: #ccc;
    
    /* Bordas */
    --border-color: rgba(255,255,255,0.1);
    --border-light: rgba(255,255,255,0.05);
    
    /* Status */
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --warning-color: #f1c40f;
    
    /* Animações */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-premium: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif; 
}

html {
    scroll-behavior: smooth;
}

body { 
    background: var(--bg-black); 
    color: var(--text-white); 
    line-height: 1.6; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* =======================================================
   2. ANIMAÇÕES GLOBAIS PREMIUM
   ======================================================= */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from { 
        opacity: 0; 
        transform: translateY(-30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0; 
        transform: translateX(-60px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateX(60px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0; 
        transform: scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px var(--primary-glow),
                    0 0 40px rgba(0, 86, 255, 0.2),
                    0 0 60px rgba(0, 86, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px var(--primary-glow),
                    0 0 60px rgba(0, 86, 255, 0.3),
                    0 0 90px rgba(0, 86, 255, 0.15);
    }
}

@keyframes text-glow {
    0%, 100% { 
        text-shadow: 0 0 10px var(--primary-glow),
                     0 0 20px rgba(0, 86, 255, 0.3);
    }
    50% { 
        text-shadow: 0 0 20px var(--primary-glow),
                     0 0 40px rgba(0, 86, 255, 0.5);
    }
}

@keyframes border-glow {
    0%, 100% { 
        border-color: rgba(0, 86, 255, 0.3);
        box-shadow: 0 0 10px rgba(0, 86, 255, 0.1);
    }
    50% { 
        border-color: rgba(0, 86, 255, 0.6);
        box-shadow: 0 0 20px rgba(0, 86, 255, 0.2);
    }
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =======================================================
   3. CABEÇALHO E MENU (OVERLAY)
   ======================================================= */

#main-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 25px 5%; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000;
    background: rgba(0,0,0,0.85); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-normal);
}

#main-header.scrolled {
    background: rgba(0,0,0,0.95);
    padding: 18px 5%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.logo-img { 
    height: 38px; 
    transition: var(--transition-fast);
    filter: brightness(1);
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(0,86,255,0.3));
}

.menu-btn { 
    font-size: 28px; 
    cursor: pointer; 
    color: #fff; 
    transition: var(--transition-fast);
    padding: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.menu-btn:hover {
    color: var(--primary-blue);
    background: rgba(0,86,255,0.1);
    transform: scale(1.05);
}

#nav-menu {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(0,0,0,0.98); 
    z-index: 2000; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.4s var(--ease-out-expo);
}

#nav-menu.active { 
    opacity: 1; 
    visibility: visible; 
} 

.close-btn { 
    position: absolute; 
    top: 25px; 
    right: 5%; 
    font-size: 36px; 
    cursor: pointer; 
    transition: var(--transition-fast);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--primary-blue);
    background: rgba(0,86,255,0.1);
    transform: rotate(90deg);
}

.menu-links { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
}

.menu-links a { 
    font-size: clamp(24px, 5vw, 36px); 
    text-transform: uppercase; 
    font-weight: 900; 
    letter-spacing: 3px; 
    position: relative;
    padding: 12px 30px;
    transition: var(--transition-normal);
}

.menu-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition-slow);
    transform: translateX(-50%);
}

.menu-links a:hover { 
    color: var(--primary-blue); 
    transform: translateX(10px);
}

.menu-links a:hover::after {
    width: 70%;
}

.menu-links .menu-cta {
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue);
    padding: 14px 45px; 
    border-radius: 50px; 
    margin-top: 20px;
    transition: var(--transition-normal);
    animation: border-glow 3s ease-in-out infinite;
}

.menu-links .menu-cta:hover {
    background: var(--primary-blue);
    color: white !important;
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0,86,255,0.3);
}

.menu-links .menu-cta::after {
    display: none;
}

/* =======================================================
   4. SEÇÃO HERO PREMIUM
   ======================================================= */

.hero-section { 
    height: 100vh; 
    min-height: 700px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 0 5%; 
    position: relative; 
    text-align: center; 
    overflow: hidden;
}

.video-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: -3;
    transform: scale(1.05);
}

/* Overlay sofisticado com gradiente + blur */
.overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: 
        linear-gradient(180deg, 
            rgba(0,0,0,0.3) 0%, 
            rgba(0,0,0,0.5) 40%,
            rgba(0,0,0,0.7) 100%),
        radial-gradient(ellipse at center, 
            transparent 0%, 
            rgba(0,0,0,0.4) 100%);
    z-index: -2; 
}

/* Glow azul sutil no hero */
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 86, 255, 0.08) 0%, 
        transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Animações de entrada no texto */
.manifesto-title { 
    font-size: clamp(36px, 7vw, 76px); 
    line-height: 0.95; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
    letter-spacing: -1px;
}

.highlight { 
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
    opacity: 0.3;
    z-index: -1;
}

.subheadline { 
    max-width: 650px; 
    margin: 0 auto 45px; 
    color: var(--text-light); 
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 0.8s forwards;
}

/* Botões premium */
.cta-button { 
    padding: 18px 38px; 
    font-weight: 700; 
    text-transform: uppercase; 
    border-radius: 8px; 
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer; 
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.25), 
        transparent);
    transition: var(--transition-slow);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary { 
    background: #fff; 
    color: #000;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.cta-button.primary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0,86,255,0.35),
        0 0 30px rgba(0,86,255,0.2);
}

.cta-button.secondary { 
    border: 2px solid var(--primary-blue); 
    color: var(--primary-blue);
    background: transparent;
}

.cta-button.secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0,86,255,0.35),
        0 0 30px rgba(0,86,255,0.2);
}

.cta-button svg {
    transition: var(--transition-fast);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* =======================================================
   5. SEÇÃO SOBRE (MANIFESTO)
   ======================================================= */

.about-avel { 
    padding: 120px 5%; 
    text-align: center; 
    background: var(--bg-black);
    position: relative;
}

.about-avel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

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

.section-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 35px;
    line-height: 1.2;
}

.manifesto-intro {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.manifesto-intro strong {
    color: var(--primary-blue);
}

.manifesto-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 60px; 
    max-width: 900px; 
    margin: 60px auto; 
    text-align: left; 
}

.manifesto-column h3 {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.about-bullets { 
    list-style: none;
}

.about-bullets li { 
    margin-bottom: 18px; 
    color: var(--text-light); 
    position: relative; 
    padding-left: 30px; 
    transition: var(--transition-fast);
    font-size: 15px;
}

.about-bullets li:hover {
    color: white;
    padding-left: 35px;
}

.about-bullets li::before { 
    content: "→"; 
    position: absolute; 
    left: 0; 
    color: var(--primary-blue); 
    transition: var(--transition-fast);
    font-weight: 700;
}

.about-bullets li:hover::before {
    transform: translateX(5px);
}

.alert-box {
    background: linear-gradient(135deg, 
        rgba(0,86,255,0.05) 0%, 
        rgba(0,86,255,0.02) 100%);
    border: 1px solid rgba(0,86,255,0.15);
    border-radius: 16px;
    padding: 30px;
    max-width: 700px;
    margin: 50px auto 0;
    position: relative;
    overflow: hidden;
}

.alert-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
}

.alert-box p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
}

/* =======================================================
   6. SEÇÃO CRM - NOVA SEÇÃO PREMIUM
   ======================================================= */

.crm-section {
    padding: 120px 5%;
    background: linear-gradient(135deg, 
        var(--bg-darker) 0%, 
        #0d0d15 50%,
        var(--bg-darker) 100%);
    position: relative;
    overflow: hidden;
}

.crm-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 86, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 86, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.crm-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.crm-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.crm-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.crm-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.crm-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
}

.crm-description {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.7;
    max-width: 500px;
}

.crm-features {
    list-style: none;
    margin: 15px 0;
}

.crm-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition-fast);
}

.crm-features li:hover {
    color: white;
    transform: translateX(5px);
}

.crm-features li svg {
    width: 22px;
    height: 22px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.crm-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: var(--primary-blue);
    color: white;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: var(--transition-premium);
    margin-top: 10px;
    width: fit-content;
}

.crm-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0,86,255,0.4),
        0 0 30px rgba(0,86,255,0.2);
}

.crm-cta svg {
    transition: var(--transition-fast);
}

.crm-cta:hover svg {
    transform: translateX(4px);
}

.crm-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crm-mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.crm-mockup img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 
        0 40px 80px rgba(0,0,0,0.5),
        0 0 60px rgba(0,86,255,0.15);
    transition: var(--transition-premium);
}

.crm-mockup:hover img {
    transform: scale(1.03) translateY(-10px);
    box-shadow: 
        0 50px 100px rgba(0,0,0,0.6),
        0 0 80px rgba(0,86,255,0.25);
}

.crm-mockup::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(0,86,255,0.2);
    border-radius: 20px;
    z-index: -1;
    transition: var(--transition-premium);
}

.crm-mockup:hover::before {
    top: -30px;
    left: -30px;
    right: 30px;
    bottom: 30px;
    border-color: rgba(0,86,255,0.4);
}

.crm-stats {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    animation: float 4s ease-in-out infinite;
}

.crm-stat-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.crm-stat-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* =======================================================
   7. SEÇÃO DE PROJETOS (SWIPER) - CARDS PREMIUM
   ======================================================= */

.projects-section { 
    padding: 120px 5%; 
    text-align: center;
    background: var(--bg-black);
    position: relative;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

/* Cards premium com zoom e overlay */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    text-align: left;
    transition: var(--transition-premium);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    position: relative;
}

.project-card:hover { 
    border-color: rgba(0,86,255,0.3);
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.4),
        0 0 40px rgba(0,86,255,0.1);
}

/* TAMANHO PADRONIZADO DAS IMAGENS */
.img-wrapper {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #080808 0%, #0f0f0f 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Overlay com gradiente escuro */
.img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 40%, 
        rgba(0,0,0,0.6) 100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}

.project-card:hover .img-wrapper::after {
    opacity: 0.8;
    background: linear-gradient(to bottom, 
        transparent 20%, 
        rgba(0,0,0,0.8) 100%);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.8) brightness(0.9);
    transition: var(--transition-slow);
}

/* Zoom leve na imagem ao hover */
.project-card:hover .project-img { 
    filter: grayscale(0) brightness(1); 
    transform: scale(1.1);
}

.project-card h3 { 
    font-size: 14px; 
    font-weight: 800; 
    text-transform: uppercase; 
    padding: 22px 18px 8px; 
    color: #fff;
    letter-spacing: 0.5px;
}

.project-card p { 
    font-size: 12px; 
    color: var(--text-gray); 
    padding: 0 18px 18px; 
    min-height: 55px;
    line-height: 1.6;
}

.view-project { 
    display: block; 
    padding: 0 18px 22px; 
    font-size: 11px; 
    color: #fff; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
    width: fit-content;
}

.view-project::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 18px;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-normal);
}

.view-project:hover {
    color: var(--primary-blue);
}

.view-project:hover::after {
    width: calc(100% - 18px);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-blue) !important;
    transition: var(--transition-fast);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.15);
    background: rgba(0,86,255,0.2);
    border-color: rgba(0,86,255,0.3);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: 700;
}

/* =======================================================
   8. SEÇÃO PARCEIROS (LOGO SLIDER)
   ======================================================= */

.partners-section { 
    padding: 80px 5%; 
    text-align: center; 
    background: var(--bg-black);
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.partners-title {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: var(--bg-black);
    mask-image: linear-gradient(to right, 
        transparent, 
        black 15%, 
        black 85%, 
        transparent);
    -webkit-mask-image: linear-gradient(to right, 
        transparent, 
        black 15%, 
        black 85%, 
        transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 100px;
    width: max-content;
    animation: scroll-infinito 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.partner-logo { 
    height: 55px; 
    width: auto;
    filter: grayscale(1) brightness(0.5);
    opacity: 0.5;
    transition: var(--transition-normal);
    object-fit: contain;
}

.partner-logo:hover {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.15);
}

@keyframes scroll-infinito {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =======================================================
   9. SEÇÃO MARKETING É VENDA
   ======================================================= */

.marketing-venda {
    background: var(--bg-black);
    padding: 120px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

.marketing-venda::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.venda-wrapper {
    max-width: 1200px;
    width: 90%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.venda-image {
    flex: 1.2;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.venda-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0,86,255,0.1) 0%, 
        transparent 50%);
    pointer-events: none;
}

.venda-image img {
    width: 100%;
    display: block;
    transition: var(--transition-slow);
}

.venda-image:hover img {
    transform: scale(1.05);
}

.venda-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.venda-tagline {
    color: var(--primary-blue);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.venda-title {
    color: #fff;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.venda-description {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

.venda-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 38px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
    transition: var(--transition-premium);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.venda-btn:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

.venda-btn svg {
    transition: var(--transition-fast);
}

.venda-btn:hover svg {
    transform: translateX(4px);
}

/* =======================================================
   10. CTA FINAL
   ======================================================= */

.final-cta { 
    padding: 120px 5%; 
    text-align: center; 
    background: var(--bg-darker);
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.final-cta h2 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
}

.final-cta p {
    color: var(--text-gray);
    margin-bottom: 45px;
    font-size: 18px;
}

/* =======================================================
   11. RODAPÉ
   ======================================================= */

.site-footer {
    background-color: var(--bg-black);
    color: #fff;
    padding: 100px 5% 50px;
    border-top: 1px solid var(--border-light);
    font-family: 'Inter', sans-serif;
    position: relative;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.footer-brand {
    font-size: 36px;
    font-weight: 900;
    margin: 0;
    letter-spacing: -1px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    transition: var(--transition-fast);
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition-normal);
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-legal {
    margin-top: 10px;
}

.legal-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    margin-bottom: 15px;
    display: inline-block;
    transition: var(--transition-fast);
}

.legal-link:hover {
    color: var(--primary-blue);
}

.copyright {
    color: var(--text-muted);
    font-size: 11px;
    max-width: 450px;
    line-height: 1.7;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 45px;
}

.social-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.icon-img {
    width: 26px;
    height: 26px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.insta-link {
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.insta-link:hover {
    background: rgba(0,86,255,0.1);
}

.insta-link:hover .icon-img {
    transform: scale(1.15);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px var(--primary-glow));
}

.btn-footer {
    display: inline-block;
    padding: 18px 38px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition-premium);
}

.btn-footer:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.15);
}

/* WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-normal);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img { 
    width: 32px; 
}


/* =======================================================
   12. PÁGINA CONTRATAR (FORMULÁRIO EVOLUÍDO)
   ======================================================= */

.contact-page { 
    padding: 160px 5% 100px; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    background: linear-gradient(135deg, #000 0%, #0a0a0a 100%);
    position: relative;
}

.contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(0, 86, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(0, 86, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.container-flex { 
    display: flex; 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    gap: 100px; 
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.info-side { 
    flex: 1; 
}

.info-side h1 { 
    font-size: clamp(48px, 9vw, 90px); 
    line-height: 0.9; 
    font-weight: 900; 
    margin-bottom: 35px;
    letter-spacing: -2px;
}

.info-side h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: 600;
}

.info-side > p {
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.7;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.meta-item small {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.meta-item p {
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.form-side { 
    flex: 1.2; 
}

/* Diagnóstico Estratégico */
.diagnostic-step {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 45px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.diagnostic-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
}

.diagnostic-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
    text-align: center;
}

.diagnostic-step .step-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 35px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.option-card {
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 22px;
    cursor: pointer;
    transition: var(--transition-premium);
    text-align: center;
    position: relative;
}

.option-card:hover {
    border-color: rgba(0,86,255,0.4);
    background: rgba(0,86,255,0.05);
    transform: translateY(-4px);
}

.option-card.selected {
    border-color: var(--primary-blue);
    background: rgba(0,86,255,0.1);
    box-shadow: 0 10px 30px rgba(0,86,255,0.15);
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.option-card input {
    display: none;
}

.option-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.option-label {
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.option-desc {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.diagnostic-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    gap: 15px;
}

.btn-nav {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-premium);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-prev {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
}

.btn-nav-prev:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}

.btn-nav-next {
    background: var(--primary-blue);
    color: white;
    flex: 1;
    justify-content: center;
}

.btn-nav-next:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,86,255,0.3);
}

.btn-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Progress Bar */
.progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    margin-bottom: 35px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 2px;
    transition: width 0.5s var(--ease-out-expo);
}

.step-indicator {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.step-indicator span {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Formulário */
#hireForm {
    display: none;
}

#hireForm.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.row { 
    display: flex; 
    gap: 20px; 
    margin-bottom: 20px; 
}

.group { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
}

.group.full { 
    width: 100%; 
    margin-bottom: 20px; 
}

.group label { 
    font-size: 11px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 10px; 
    color: var(--text-gray); 
    font-weight: 700; 
}

.group input, .group select, .group textarea {
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.1); 
    padding: 18px; 
    color: white; 
    outline: none; 
    transition: var(--transition-normal);
    border-radius: 10px;
    font-size: 15px;
}

.group input:focus, .group select:focus, .group textarea:focus { 
    border-color: var(--primary-blue); 
    box-shadow: 0 0 0 4px rgba(0,86,255,0.1);
    background: rgba(255,255,255,0.05);
}

.group input::placeholder,
.group textarea::placeholder {
    color: #555;
}

.group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

.btn-submit {
    width: 100%; 
    padding: 24px; 
    background: var(--primary-blue); 
    color: white; 
    border: none; 
    font-weight: 800; 
    cursor: pointer; 
    text-transform: uppercase; 
    font-size: 14px; 
    transition: var(--transition-premium);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,86,255,0.35);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading .btn-text {
    display: none;
}

/* =======================================================
   13. EFEITO REVEAL AO SCROLL - ANIMAÇÕES MELHORADAS
   ======================================================= */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s var(--ease-out-expo);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s var(--ease-out-expo);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s var(--ease-out-expo);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: all 0.9s var(--ease-out-expo);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay para elementos filhos */
.stagger-children > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s var(--ease-out-expo);
}

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; }

/* =======================================================
   14. PÁGINA PROJETOS - CARDS PREMIUM
   ======================================================= */

.page-header { 
    padding: 180px 5% 100px; 
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.page-header h1 { 
    font-size: clamp(42px, 8vw, 80px); 
    font-weight: 900; 
    text-transform: uppercase; 
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.page-header p {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.portfolio-page .projects-grid { 
    grid-template-columns: repeat(3, 1fr); 
}

.projects-section.portfolio-page {
    padding: 100px 5%;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 14px 30px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-premium);
    letter-spacing: 0.5px;
}

.filter-tab:hover {
    border-color: rgba(0,86,255,0.4);
    background: rgba(0,86,255,0.05);
}

.filter-tab.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0,86,255,0.3);
}

/* Cards de projeto com overlay premium */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.6) 40%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-stats {
    display: flex;
    gap: 30px;
}

.project-stat {
    text-align: center;
}

.project-stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.project-stat-label {
    font-size: 10px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* =======================================================
   15. PÁGINA PORTFOLIO/SERVIÇOS
   ======================================================= */

.services-hero {
    padding: 180px 5% 100px;
    text-align: center;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    position: relative;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.services-hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.services-hero p {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5%;
}

.service-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    border-color: rgba(0,86,255,0.2);
    transform: translateY(-12px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.3),
        0 0 40px rgba(0,86,255,0.08);
}

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

.service-icon {
    font-size: 52px;
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
}

.service-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    text-align: left;
}

.service-features li {
    padding: 10px 0;
    font-size: 13px;
    color: #aaa;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-fast);
}

.service-features li:hover {
    color: white;
    padding-left: 5px;
}

.service-features li::before {
    content: '→';
    color: var(--primary-blue);
    margin-right: 12px;
    font-weight: 700;
}

.process-section {
    padding: 120px 5%;
    background: var(--bg-darker);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
}

.process-section h2 {
    text-align: center;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    margin-bottom: 70px;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-premium);
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(0,86,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.step-number {
    width: 65px;
    height: 65px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0,86,255,0.3);
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-step p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* =======================================================
   16. PÁGINA SUCESSO
   ======================================================= */

.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5%;
    background: linear-gradient(135deg, #000 0%, #0a0a0a 100%);
    text-align: center;
    position: relative;
}

.success-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 30%, rgba(0, 86, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.success-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    font-size: 50px;
    animation: scaleIn 0.6s var(--ease-out-expo);
    box-shadow: 0 20px 50px rgba(0,86,255,0.4);
}

.success-page h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
}

.success-page p {
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* =======================================================
   17. RESPONSIVIDADE
   ======================================================= */

@media (max-width: 1024px) {
    .projects-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .portfolio-page .projects-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .container-flex { 
        flex-direction: column; 
        gap: 60px;
    }
    
    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .venda-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .venda-content {
        align-items: center;
        text-align: center;
    }
    
    .crm-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .crm-visual {
        order: -1;
    }
    
    .crm-mockup {
        max-width: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .projects-grid, 
    .portfolio-page .projects-grid { 
        grid-template-columns: 1fr; 
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .row { 
        flex-direction: column; 
    }
    
    .img-wrapper { 
        height: 200px; 
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-right {
        align-items: flex-start;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button.primary {
        margin-right: 0;
    }
    
    .menu-links a {
        font-size: 22px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .crm-stats {
        left: 10px;
        bottom: -10px;
        padding: 15px 20px;
    }
    
    .crm-stat-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    #main-header {
        padding: 18px 5%;
    }
    
    .contact-page {
        padding: 130px 5% 60px;
    }
    
    .diagnostic-step {
        padding: 30px 20px;
    }
    
    .diagnostic-nav {
        flex-direction: column;
    }
    
    .btn-nav {
        width: 100%;
        justify-content: center;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .about-avel,
    .projects-section,
    .marketing-venda,
    .final-cta,
    .crm-section {
        padding: 80px 5%;
    }
}

/* =======================================================
   18. UTILITÁRIOS
   ======================================================= */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #111 25%, #1a1a1a 50%, #111 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

/* Focus visible para acessibilidade */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
}

/* Selection color */
::selection {
    background: var(--primary-blue);
    color: white;
}

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

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Notificações */
.avel-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 18px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    animation: slideInRight 0.4s var(--ease-out-expo);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    max-width: 420px;
    backdrop-filter: blur(10px);
}

.avel-notification--success {
    background: rgba(46, 204, 113, 0.95);
}

.avel-notification--error {
    background: rgba(231, 76, 60, 0.95);
}

.avel-notification--info {
    background: rgba(0, 86, 255, 0.95);
}

.avel-notification__icon {
    font-size: 20px;
    font-weight: 700;
}

.avel-notification__message {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.avel-notification__close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.avel-notification__close:hover {
    background: rgba(255,255,255,0.2);
}

/* Animação de fade out para notificações */
@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(20px); }
}

/* =======================================================
   SEÇÃO CRM PREMIUM - AVEL CRM (SAAS LEVEL)
   ======================================================= */

/* Container principal */
.crm-section-premium {
    position: relative;
    padding: 140px 5%;
    background: linear-gradient(180deg, 
        #000000 0%, 
        #050814 30%,
        #0a1029 60%,
        #050814 85%,
        #000000 100%);
    overflow: hidden;
    isolation: isolate;
}

/* Glow de fundo */
.crm-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(ellipse 80% 50% at 30% 50%, rgba(0, 86, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 70% 60%, rgba(0, 86, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: crmGlowPulse 8s ease-in-out infinite;
}

@keyframes crmGlowPulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Feixe de luz */
.crm-light-beam {
    position: absolute;
    top: -20%;
    right: 10%;
    width: 600px;
    height: 150%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(0, 86, 255, 0.03) 20%,
        rgba(0, 86, 255, 0.08) 50%,
        rgba(0, 86, 255, 0.03) 80%,
        transparent 100%);
    filter: blur(80px);
    transform: rotate(-15deg);
    pointer-events: none;
    z-index: 0;
}

/* Wrapper principal */
.crm-wrapper-premium {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
    align-items: center;
}

/* =======================================================
   COLUNA DE CONTEÚDO
   ======================================================= */

.crm-content-premium {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Badge */
.crm-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 20px;
    background: rgba(0, 86, 255, 0.1);
    border: 1px solid rgba(0, 86, 255, 0.25);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary-blue);
}

.crm-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-blue);
    animation: crmBadgePulse 2s ease-in-out infinite;
}

@keyframes crmBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Título */
.crm-title-premium {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #fff;
    margin: 0;
}

.crm-title-highlight {
    background: linear-gradient(135deg, #fff 0%, #4d8aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Descrições */
.crm-description-premium {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 520px;
}

.crm-description-premium strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.crm-description-premium.secondary {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
}

.crm-description-premium.closing {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-style: italic;
    border-left: 3px solid var(--primary-blue);
    padding-left: 20px;
    margin-top: 8px;
}

/* =======================================================
   LISTA DE FEATURES
   ======================================================= */

.crm-features-premium {
    list-style: none;
    padding: 0;
    margin: 16px 0 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.crm-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    opacity: 0;
    transform: translateX(-20px);
    animation: crmFeatureReveal 0.6s ease forwards;
}

.crm-feature-item:nth-child(1) { animation-delay: 0.1s; }
.crm-feature-item:nth-child(2) { animation-delay: 0.2s; }
.crm-feature-item:nth-child(3) { animation-delay: 0.3s; }
.crm-feature-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes crmFeatureReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.crm-feature-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.crm-feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 3;
}

.crm-feature-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

/* =======================================================
   BOTÃO CTA PREMIUM
   ======================================================= */

.crm-cta-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 16px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0039b3 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 32px rgba(0, 86, 255, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.crm-cta-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.6s ease;
}

.crm-cta-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 86, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.crm-cta-premium:hover::before {
    left: 100%;
}

.crm-cta-text {
    position: relative;
    z-index: 1;
}

.crm-cta-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.crm-cta-premium:hover .crm-cta-arrow {
    transform: translateX(4px);
}

/* =======================================================
   COLUNA VISUAL - IMAGEM
   ======================================================= */

.crm-visual-premium {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crm-image-container {
    position: relative;
    width: 100%;
    max-width: 560px;
}

/* Glow atrás da imagem */
.crm-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 86, 255, 0.25) 0%, 
        rgba(0, 86, 255, 0.1) 40%,
        transparent 70%);
    filter: blur(40px);
    border-radius: 30px;
    animation: crmImageGlow 4s ease-in-out infinite;
}

@keyframes crmImageGlow {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Wrapper da imagem */
.crm-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: crmImageFloat 6s ease-in-out infinite;
}

@keyframes crmImageFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-12px); }
}

.crm-image-wrapper:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(1deg) scale(1.02);
}

.crm-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Elementos decorativos */
.crm-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.crm-deco-1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -40px;
    background: radial-gradient(circle, rgba(0, 86, 255, 0.2) 0%, transparent 70%);
    filter: blur(20px);
    animation: crmDecoFloat1 5s ease-in-out infinite;
}

.crm-deco-2 {
    width: 80px;
    height: 80px;
    bottom: 40px;
    left: -30px;
    background: radial-gradient(circle, rgba(0, 86, 255, 0.15) 0%, transparent 70%);
    filter: blur(15px);
    animation: crmDecoFloat2 4s ease-in-out infinite;
}

.crm-deco-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: -20px;
    background: var(--primary-blue);
    opacity: 0.3;
    filter: blur(8px);
    animation: crmDecoFloat3 3s ease-in-out infinite;
}

@keyframes crmDecoFloat1 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@keyframes crmDecoFloat2 {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(10px) scale(0.95); }
}

@keyframes crmDecoFloat3 {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* =======================================================
   CARD DE MÉTRICA FLUTUANTE
   ======================================================= */

.crm-metric-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: rgba(10, 14, 35, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 86, 255, 0.2);
    border-radius: 16px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 86, 255, 0.1);
    animation: crmMetricFloat 4s ease-in-out infinite;
    z-index: 10;
}

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

.crm-metric-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0039b3 100%);
    border-radius: 12px;
    color: #fff;
}

.crm-metric-icon svg {
    width: 22px;
    height: 22px;
}

.crm-metric-content {
    display: flex;
    flex-direction: column;
}

.crm-metric-value {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #4d8aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.crm-metric-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* =======================================================
   ANIMAÇÕES DE ENTRADA
   ======================================================= */

.crm-content-premium[data-reveal="left"] {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.crm-content-premium[data-reveal="left"].revealed {
    opacity: 1;
    transform: translateX(0);
}

.crm-visual-premium[data-reveal="right"] {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.crm-visual-premium[data-reveal="right"].revealed {
    opacity: 1;
    transform: translateX(0);
}

/* =======================================================
   RESPONSIVIDADE
   ======================================================= */

@media (max-width: 1024px) {
    .crm-section-premium {
        padding: 100px 5%;
    }
    
    .crm-wrapper-premium {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .crm-visual-premium {
        order: -1;
    }
    
    .crm-image-container {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .crm-image-wrapper {
        transform: perspective(1000px) rotateY(0) rotateX(0);
        animation: crmImageFloatMobile 6s ease-in-out infinite;
    }
    
    @keyframes crmImageFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    
    .crm-metric-card {
        left: 10px;
        bottom: 10px;
        padding: 14px 18px;
    }
    
    .crm-metric-value {
        font-size: 22px;
    }
    
    .crm-light-beam {
        display: none;
    }
}

@media (max-width: 640px) {
    .crm-section-premium {
        padding: 80px 5%;
    }
    
    .crm-features-premium {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .crm-feature-item {
        padding: 8px 0;
    }
    
    .crm-title-premium {
        font-size: 28px;
    }
    
    .crm-description-premium {
        font-size: 15px;
    }
    
    .crm-cta-premium {
        width: 100%;
        justify-content: center;
        padding: 18px 28px;
    }
    
    .crm-metric-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 24px;
        width: fit-content;
    }
    
    .crm-deco {
        display: none;
    }
}

/* =======================================================
   REDUZIDO MOVIMENTO (ACESSIBILIDADE)
   ======================================================= */

@media (prefers-reduced-motion: reduce) {
    .crm-glow-bg,
    .crm-image-glow,
    .crm-image-wrapper,
    .crm-deco,
    .crm-metric-card,
    .crm-badge-dot {
        animation: none;
    }
    
    .crm-content-premium[data-reveal="left"],
    .crm-visual-premium[data-reveal="right"] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .crm-feature-item {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
