/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #0d0d12;
    --bg-card: #14141d;
    --bg-card-hover: #1b1b27;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --primary: #8b5cf6;          /* Violeta Neon */
    --primary-glow: rgba(139, 92, 246, 0.35);
    
    --secondary: #f97316;        /* Laranja Neon */
    --secondary-glow: rgba(249, 115, 22, 0.35);
    
    --magenta: #ec4899;          /* Magenta Neon */
    --magenta-glow: rgba(236, 72, 153, 0.35);
    
    --text-main: #f3f4f6;        /* Light Gray */
    --text-muted: #9ca3af;       /* Gray */
    --white: #ffffff;
    
    /* Fonts */
    --font-title: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

body {
    overflow-x: hidden;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

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

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Glow Background Orbs */
body::before, body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

body::before {
    background-color: var(--primary);
    top: 10%;
    left: -100px;
}

body::after {
    background-color: var(--secondary);
    top: 60%;
    right: -100px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
}

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

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

/* Botão de Download do Catálogo Técnico */
.btn-catalog {
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.btn-catalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.08), transparent);
    transition: left 0.5s ease;
}

.btn-catalog:hover::before {
    left: 100%;
}

.btn-catalog:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.2);
    background-color: rgba(249, 115, 22, 0.05);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mensagem de Erro do Formulário */
.form-error {
    display: none;
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 10px;
}

.form-error a {
    color: var(--secondary);
    font-weight: 700;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background-color: rgba(13, 13, 18, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: -0.03em;
}

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

.logo-good {
    color: var(--secondary);
}

.logo-vibes {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid var(--primary);
    color: var(--white);
    background: rgba(139, 92, 246, 0.05);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    border-color: transparent;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(rgba(13, 13, 18, 0.7), rgba(13, 13, 18, 0.9)), url('https://images.unsplash.com/photo-1486218119243-13883505764c?q=80&width=1600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 80px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Quick Pillars Cards grid at Hero Bottom */
.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-quick-card {
    background-color: rgba(20, 20, 29, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: all var(--transition-normal);
}

.pillar-quick-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(27, 27, 39, 0.7);
}

.quick-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.quick-icon-wrapper.purple {
    background-color: rgba(139, 92, 246, 0.15);
    color: var(--primary);
}

.quick-icon-wrapper.orange {
    background-color: rgba(249, 115, 22, 0.15);
    color: var(--secondary);
}

.quick-icon-wrapper.magenta {
    background-color: rgba(236, 72, 153, 0.15);
    color: var(--magenta);
}

.pillar-quick-card h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pillar-quick-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   ABOUT / STRATEGIC VISION
   ========================================================================== */
.about {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-img {
    border-radius: 16px;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.img-glow {
    position: absolute;
    bottom: -30px;
    left: 5%;
    width: 90%;
    height: 50px;
    background: var(--primary);
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
}

.about-text {
    display: flex;
    flex-direction: column;
}

.about-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.about-feature-item svg {
    flex-shrink: 0;
}

/* ==========================================================================
   SERVICES (3 MAIN PILLARS)
   ========================================================================== */
.services {
    padding: 120px 0;
    background-color: rgba(20, 20, 29, 0.2);
    border-bottom: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-card-hover);
}

/* Specific glows for each pillar service card */
.service-card.border-glow-purple:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.service-card.border-glow-orange:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.service-card.border-glow-magenta:hover {
    border-color: var(--magenta);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.15);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.service-overlay-grad {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.service-card:hover .service-overlay-grad {
    background: linear-gradient(to top, var(--bg-card-hover), transparent);
}

.service-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon.purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: var(--primary);
}

.service-icon.orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
}

.service-icon.magenta {
    background-color: rgba(236, 72, 153, 0.1);
    color: var(--magenta);
}

.service-icon-title h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-bullets {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-bullets li {
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.service-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.border-glow-purple .service-bullets li::before {
    color: var(--primary);
}

.border-glow-magenta .service-bullets li::before {
    color: var(--magenta);
}

/* ==========================================================================
   METRICS SECTION (DASHBOARD)
   ========================================================================== */
.metrics {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-bottom: 1px solid var(--border-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.metrics-cta {
    margin-top: 32px;
}

.metrics-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.metric-number-card {
    background-color: rgba(20, 20, 29, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-normal);
}

.metric-number-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.3);
    background-color: rgba(27, 27, 39, 0.6);
}

.metric-number {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 10px;
}

.metric-number-card:hover .metric-number {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   PORTFOLIO (SLIDER)
   ========================================================================== */
.portfolio {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.portfolio-controls {
    display: flex;
    gap: 12px;
}

.portfolio-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.portfolio-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* Slider Track Layout */
.portfolio-slider-container {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    width: 100%;
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%; /* 5 slides */
}

.portfolio-slide {
    width: 20%; /* 1 slide visível por vez (100 / 5) */
    flex-shrink: 0;
    padding: 0 10px;
}

.slide-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 460px;
    border: 1px solid var(--border-color);
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.slide-image-wrapper:hover img {
    transform: scale(1.03);
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(13, 13, 18, 0.95) 0%, rgba(13, 13, 18, 0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.slide-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.slider-dots .dot {
    width: 28px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dots .dot.active {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    width: 48px;
}

/* ==========================================================================
   CONTACT (B2B FUNNEL)
   ========================================================================== */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark), rgba(139, 92, 246, 0.03));
}

.contact-container {
    max-width: var(--container-width);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 80px;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(20, 20, 29, 0.6);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Styling */
.contact-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group select, .form-group textarea {
    background-color: rgba(13, 13, 18, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all var(--transition-normal);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
    background-color: rgba(13, 13, 18, 0.8);
}

.form-group select {
    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='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 48px;
}

.form-group textarea {
    resize: none;
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
    margin-top: 10px;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 115, 22, 0.4);
}

.form-success {
    display: none;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 14px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #06060a;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 350px;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

/* Medium Devices (Tablets, max 1024px) */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-pillars {
        gap: 16px;
    }
    
    .about-grid, .metrics-grid, .contact-grid {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .services-grid > :last-child {
        grid-column: span 2;
    }
    
    .about-img {
        height: 380px;
    }
}

/* Small Devices (Mobile landscape & portrait, max 768px) */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .hero {
        padding-top: calc(var(--header-height) + 30px);
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-pillars {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }
    
    .about-grid, .metrics-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        direction: rtl; /* Muda ordem para texto ficar no topo */
    }
    
    .about-text {
        direction: ltr;
    }
    
    .about-img {
        height: 280px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid > :last-child {
        grid-column: span 1;
    }
    
    .metrics-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .metric-number-card {
        padding: 30px 20px;
    }
    
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .slide-image-wrapper {
        height: 320px;
    }
    
    .slide-info {
        padding: 24px;
    }
    
    .contact-form-wrapper {
        padding: 30px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Navigation Hamburguer Menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        border-top: 1px solid var(--border-color);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        padding: 60px 40px;
        gap: 30px;
        align-items: stretch;
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
    }
    
    .nav-btn {
        text-align: center;
    }
    
    /* Toggle active state */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    stroke: currentColor;
    fill: currentColor;
}

@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 24px;
        right: 24px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Brands Marquee */
.brands {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(6, 6, 10, 0.4);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.brands-title {
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.brands-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.brands-track {
    display: flex;
    gap: 80px;
    animation: marquee 25s linear infinite;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.35;
    transition: all var(--transition-normal);
    cursor: default;
    color: var(--white);
    white-space: nowrap;
}

.brand-logo-svg {
    height: 28px;
    width: auto;
    display: block;
}

.brand-item:hover {
    opacity: 0.9;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

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

/* Background Tech Grid Pattern */
body {
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (PREMIUM)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background-color: #20c45a;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 72px;
    background-color: rgba(13, 13, 18, 0.92);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    white-space: nowrap;
    border: 1px solid rgba(37, 211, 102, 0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(13, 13, 18, 0.92);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulso animado */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

@keyframes whatsapp-pulse-ring {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Para de pulsar no hover */
.whatsapp-float:hover .whatsapp-pulse {
    animation-play-state: paused;
}

