/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Colors */
    --bg-main: #07070B;
    --bg-secondary: #111118;
    --card-bg: #171722;
    --primary: #9d4edd;
    --primary-hover: #c77dff;
    --cta: #7b2cbf;
    --text-main: #FFFFFF;
    --text-secondary: #B8B8C4;
    --border-color: rgba(255, 255, 255, 0.08);
    --success: #22c55e;
    
    /* Typography */
    --font-title: 'Space Grotesk', sans-serif;
    --font-text: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1280px;
    --section-pad: 6rem;
    
    /* Effects */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    --glow-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: var(--text-main);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #2a2a35;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   UTILITY CLASSES & LAYOUT
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

section {
    padding: var(--section-pad) 0;
    position: relative;
    z-index: 2;
}

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

.text-primary {
    color: var(--primary-hover);
}

.text-green {
    color: var(--success);
}

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

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-family: var(--font-text);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.5s;
    z-index: -1;
}

.btn-glow:hover::before {
    opacity: 1;
    transform: scale(1);
}

.btn-link {
    color: var(--primary-hover);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.btn-link i {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}
.btn-link:hover i {
    transform: translateX(4px);
}


/* ==========================================================================
   BACKGROUND EFFECTS
   ========================================================================== */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.bg-blur-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    left: -200px;
}

.bg-blur-2 {
    width: 500px;
    height: 500px;
    background: #3b82f6;
    bottom: -100px;
    right: -100px;
    opacity: 0.15;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: height var(--transition-base), background var(--transition-base), backdrop-filter var(--transition-base), border-bottom var(--transition-base);
}

.navbar.scrolled {
    height: 90px;
    background: rgba(7, 7, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    /* Zoom artificial para compensar o espaço vazio na imagem e o formato vertical */
    transform: scale(1.6);
    transform-origin: left center;
    transition: transform 0.3s ease;
}
.logo-img:hover {
    transform: scale(1.7);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: var(--transition-base);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 90px;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    max-width: 600px;
}

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



/* ==========================================================================
   DIFERENCIAIS SECTION
   ========================================================================== */
.diferenciais {
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-secondary));
}

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

.card-diferencial {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card-diferencial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(124, 58, 237, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

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

.card-diferencial:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-hover);
    transition: var(--transition-base);
}

.card-diferencial:hover .card-icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.card-diferencial h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* ==========================================================================
   RESULTADOS SECTION
   ========================================================================== */
.resultados {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(17, 17, 24, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-title);
    color: var(--primary-hover);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

/* ==========================================================================
   SERVIÇOS SECTION
   ========================================================================== */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.servico-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition-base);
    overflow: hidden;
}

.servico-card .glow-effect {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition-base);
}

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

.servico-card:hover .glow-effect {
    opacity: 1;
    box-shadow: 0 0 20px var(--primary);
}

.servico-icon {
    width: 48px;
    height: 48px;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.servico-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ==========================================================================
   METODOLOGIA / TIMELINE
   ========================================================================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-hover);
    z-index: 2;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    transition: var(--transition-base);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateX(10px);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.timeline-content p {
    color: var(--text-secondary);
}

/* ==========================================================================
   BENEFÍCIOS (ZIG-ZAG)
   ========================================================================== */
.beneficios {
    background: var(--bg-secondary);
}

.beneficio-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.beneficio-row:last-child {
    margin-bottom: 0;
}

.beneficio-row.reverse .beneficio-text {
    order: 2;
}

.beneficio-row.reverse .beneficio-image {
    order: 1;
}

.beneficio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.beneficio-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.beneficio-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.beneficio-list i {
    color: var(--primary-hover);
}

.image-mockup {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124,58,237,0.1), transparent);
}

/* Mockup UI Elements for visual filler */
.mockup-ui {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.mockup-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02) !important;
}
.skeleton-header { width: 100%; height: 40px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.skeleton-hero { width: 100%; flex: 1; background: rgba(255,255,255,0.03); border-radius: 12px; }
.skeleton-grid { width: 100%; height: 80px; display: flex; gap: 1rem; }
.skeleton-grid::before, .skeleton-grid::after { content: ''; flex: 1; background: rgba(255,255,255,0.05); border-radius: 8px; }

.chat-ui {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.chat-bubble {
    padding: 1rem;
    border-radius: 12px;
    max-width: 80%;
    font-size: 0.875rem;
}
.chat-bubble.left {
    background: rgba(255,255,255,0.1);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}
.chat-bubble.right {
    background: var(--primary);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

/* ==========================================================================
   TECNOLOGIAS MARQUEE
   ========================================================================== */
.tecnologias {
    overflow: hidden;
}

.tech-marquee-wrapper {
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.tech-item:hover {
    color: var(--text-main);
    border-color: var(--primary);
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* -50% because we duplicated content */
}

/* ==========================================================================
   PORTFÓLIO SECTION
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    group: portfolio;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.bg-1 { background: linear-gradient(135deg, #2c3e50, #000000); }
.bg-2 { background: linear-gradient(135deg, #141e30, #243b55); }
.bg-3 { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.bg-4 { background: linear-gradient(135deg, #1e130c, #9a8478); }

.portfolio-card:hover .img-placeholder {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.portfolio-info {
    padding: 1.5rem 0;
}

.portfolio-category {
    color: var(--primary-hover);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.portfolio-info h3 {
    font-size: 1.5rem;
}

/* ==========================================================================
   DEPOIMENTOS CAROUSEL
   ========================================================================== */
.depoimentos {
    background: var(--bg-secondary);
}

.depoimentos-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.depoimento-track {
    position: relative;
    min-height: 250px;
}

.depoimento-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.depoimento-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.stars {
    color: #fbbf24;
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.star-filled {
    fill: #fbbf24;
    width: 20px;
    height: 20px;
}

.depoimento-text {
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-title);
    background: var(--primary);
}
.av-2 { background: #3b82f6; }

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}
.author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
}

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

/* ==========================================================================
   CTA FINAL SECTION
   ========================================================================== */
.cta {
    padding: 8rem 0;
}

.cta-box {
    background: var(--card-bg);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 32px;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 60%);
    z-index: -1;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform var(--transition-base);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: #000;
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-bottom {
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   ANIMATIONS & REVEAL CLASSES
   ========================================================================== */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: none !important;
    filter: none !important;
}

.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(40px); }
.scale { transform: scale(0.9); }
.blur { filter: blur(10px); }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVO)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-container { text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-visual { display: none; /* Simplificando para tablet/mobile */ }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
    .beneficio-row { grid-template-columns: 1fr; text-align: center; }
    .beneficio-list li { justify-content: center; }
    .beneficio-row.reverse .beneficio-text { order: 1; }
    .beneficio-row.reverse .beneficio-image { order: 2; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-pad: 4rem; }
    
    .nav-links, .nav-cta { display: none; }
    
    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 11, 0.95);
        backdrop-filter: blur(12px);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
    }
    
    .nav-cta.active {
        display: block;
        position: absolute;
        top: 250px;
        left: 2rem;
        z-index: 101;
    }

    .mobile-menu-btn { display: block; }
    
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 2rem; }
    
    .grid-diferenciais { grid-template-columns: 1fr; }
    .servicos-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    
    .footer-container { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
    
    .scroll-top-btn {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
