/* ============================================
   BKDEVELOPMENT - STYLE.CSS COMPLETO
   Tema: Premium | Responsivo | Acessível | SEO-ready
   ============================================ */

/* ===== 1. VARIÁVEIS & RESET ===== */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --accent: #8b5cf6;
  --success: #10b981;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-light: #ffffff;
  
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --container-max: 1200px;
  --header-height: 80px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-base); }
ul { list-style: none; }

/* ===== 2. UTILITÁRIOS ===== */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }
.gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-text-light { background: linear-gradient(135deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-gradient { background: var(--gradient-hero); }
.bg-light { background: var(--bg-secondary); }

.section { padding: 6rem 0; position: relative; }
.section-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 1rem; padding: 0.4rem 1rem; background: rgba(59,130,246,0.1); border-radius: var(--radius-full); }
.section-tag-light { color: var(--text-light); background: rgba(255,255,255,0.15); }
.section-title { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.section-title-light { color: var(--text-light); }
.section-description { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.8; max-width: 650px; margin-bottom: 1.5rem; }
.section-description-light { color: rgba(255,255,255,0.85); }

/* ===== 3. NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background: rgba(255,255,255,0.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); z-index: 1000; transition: var(--transition-base); }
.navbar.scrolled { background: rgba(255,255,255,0.98); box-shadow: var(--shadow-md); height: 70px; }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; }
.logo-icon { width: 38px; height: 38px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }
.logo-text .gradient { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-weight: 500; color: var(--text-secondary); position: relative; padding: 0.5rem 0; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: var(--transition-base); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.btn-nav { background: var(--gradient-primary); color: white !important; padding: 0.6rem 1.5rem; border-radius: var(--radius-full); font-weight: 600; margin-left: 0.5rem; }
.btn-nav::after { display: none; }
.btn-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text-primary); border-radius: 2px; transition: var(--transition-fast); }

/* ===== 4. LANGUAGE MODAL ===== */
.lang-selector-btn { display: flex; align-items: center; gap: 0.5rem; background: white; border: 2px solid var(--bg-tertiary); padding: 0.5rem 1rem; border-radius: var(--radius-full); cursor: pointer; font-family: inherit; font-weight: 600; color: var(--text-primary); margin-left: 1rem; transition: var(--transition-base); }
.lang-selector-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.lang-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 9998; opacity: 0; visibility: hidden; transition: var(--transition-base); }
.lang-modal-overlay.active { opacity: 1; visibility: visible; }
.lang-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); z-index: 9999; width: 90%; max-width: 420px; opacity: 0; visibility: hidden; transition: var(--transition-base); }
.lang-modal.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.lang-modal-content { padding: 1.5rem; }
.lang-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bg-tertiary); }
.lang-modal-header h3 { font-size: 1.25rem; font-weight: 700; }
.lang-modal-close { background: none; border: none; font-size: 1.2rem; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--text-muted); transition: var(--transition-fast); }
.lang-modal-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.lang-option { display: flex; align-items: center; gap: 1rem; padding: 0.8rem 1rem; border-radius: var(--radius-lg); border: 2px solid var(--bg-tertiary); margin-bottom: 0.5rem; text-decoration: none; color: var(--text-primary); transition: var(--transition-base); }
.lang-option:hover { border-color: var(--primary); background: rgba(59,130,246,0.05); transform: translateX(4px); }
.lang-option.active { border-color: var(--primary); background: rgba(59,130,246,0.1); }
.lang-flag { font-size: 1.5rem; }
.lang-name { flex: 1; font-weight: 600; }
.check-icon { color: var(--primary); opacity: 0; transition: var(--transition-fast); }
.lang-option.active .check-icon { opacity: 1; }

/* ===== 5. MAIN & HERO ===== */
main { padding-top: var(--header-height); min-height: 100vh; display: block; visibility: visible; opacity: 1; }
.hero-premium { min-height: 100vh; padding: 4rem 0 6rem; position: relative; overflow: hidden; background: var(--gradient-hero); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 20s infinite ease-in-out; }
.orb-1 { width: 600px; height: 600px; background: rgba(59,130,246,0.3); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: rgba(139,92,246,0.3); bottom: -100px; left: -100px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(16,185,129,0.2); top: 50%; left: 50%; animation-delay: -10s; }
@keyframes float { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-50px) scale(1.1); } 66% { transform: translate(-20px,40px) scale(0.9); } }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px); background-size: 60px 60px; }

.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; background: white; padding: 0.5rem 1.4rem; border-radius: var(--radius-full); font-size: 0.9rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; box-shadow: var(--shadow-md); border: 1px solid rgba(59,130,246,0.2); }
.badge-icon { width: 28px; height: 28px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 550px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.9rem 2rem; border-radius: var(--radius-full); font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: var(--transition-base); position: relative; overflow: hidden; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.btn-glow { box-shadow: var(--shadow-glow); }
.btn-glow:hover { box-shadow: 0 0 60px rgba(59,130,246,0.6); }
.btn-secondary { background: white; color: var(--text-primary); border: 2px solid var(--bg-tertiary); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.btn-full { width: 100%; }

.hero-stats { display: flex; align-items: center; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.stat-card { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 800; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; line-height: 1; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-top: 0.3rem; }
.stat-divider { width: 1px; height: 50px; background: rgba(0,0,0,0.1); }

.hero-visual { position: relative; }
.hero-image-wrapper { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2xl); }
.hero-image { width: 100%; height: auto; border-radius: var(--radius-xl); }
.image-glow { position: absolute; inset: 0; background: var(--gradient-primary); opacity: 0.1; border-radius: var(--radius-xl); }
.floating-card { position: absolute; background: white; padding: 0.8rem 1.2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.9rem; animation: floatCard 6s infinite ease-in-out; z-index: 2; }
.card-1 { top: 20px; left: -20px; }
.card-2 { bottom: 30px; right: -15px; animation-delay: -3s; }
.floating-card i { font-size: 1.3rem; color: var(--primary); }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.85rem; z-index: 2; }
.mouse { width: 26px; height: 40px; border: 2px solid var(--text-muted); border-radius: 20px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--text-muted); border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(15px); } }

/* ===== 6. MARQUEE ===== */
.clients-marquee { padding: 3rem 0; background: var(--bg-secondary); overflow: hidden; border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.marquee-track { display: flex; gap: 4rem; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { font-size: 1.5rem; font-weight: 700; color: var(--text-muted); opacity: 0.6; transition: var(--transition-base); }
.marquee-item:hover { opacity: 1; color: var(--primary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== 7. SECTIONS & COMPONENTS ===== */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.parallax-image-container { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); aspect-ratio: 4/3; }
.parallax-img { width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; left: 0; transition: transform 0.3s ease; }
.experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--gradient-primary); color: white; padding: 1.5rem 2rem; border-radius: var(--radius-xl); text-align: center; box-shadow: var(--shadow-xl); z-index: 2; }
.exp-number { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.exp-text { font-size: 0.9rem; font-weight: 600; opacity: 0.9; }

.features-grid { display: flex; flex-direction: column; gap: 1.2rem; margin: 2rem 0; }
.feature-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem; border-radius: var(--radius-lg); transition: var(--transition-base); }
.feature-item:hover { background: var(--bg-secondary); transform: translateX(5px); }
.feature-icon { width: 40px; height: 40px; background: rgba(59,130,246,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.feature-text h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.feature-text p { font-size: 0.9rem; color: var(--text-muted); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.service-card { background: white; padding: 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); transition: var(--transition-slow); border: 1px solid rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--gradient-primary); transform: scaleX(0); transition: var(--transition-base); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2xl); }
.service-card:hover::before { transform: scaleX(1); }
.card-icon-wrapper { width: 70px; height: 70px; background: var(--gradient-hero); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 2rem; color: var(--primary); transition: var(--transition-base); }
.service-card:hover .card-icon-wrapper { background: var(--gradient-primary); color: white; transform: rotateY(360deg); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.service-card > p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primary); font-weight: 600; }
.card-link:hover { gap: 0.8rem; }

/* ===== 8. TECH PARALLAX ===== */
.section-tech { padding: 8rem 0; position: relative; overflow: hidden; background: var(--bg-dark); }
.parallax-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.overlay-dark { position: absolute; inset: 0; background: rgba(15,23,42,0.88); z-index: 1; }
.section-centered { position: relative; z-index: 2; text-align: center; }
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 3rem; }
.tech-item { display: flex; align-items: center; gap: 0.6rem; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); padding: 0.9rem 1.8rem; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.2); color: white; font-weight: 600; transition: var(--transition-base); }
.tech-item:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.tech-item i { font-size: 1.3rem; }

/* ===== 9. PROCESS ===== */
.process-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-top: 3rem; }
.process-step { text-align: center; padding: 2rem; position: relative; }
.process-step:not(:last-child)::after { content: ''; position: absolute; top: 40px; right: -1rem; width: 2rem; height: 2px; background: var(--bg-tertiary); }
.step-number { width: 80px; height: 80px; background: var(--gradient-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 2rem; font-weight: 800; margin: 0 auto 1.5rem; box-shadow: var(--shadow-lg); }
.process-step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== 10. CLIENTS ===== */
.clients-logos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin: 3rem 0; }
.client-logo-item { text-align: center; padding: 2rem; background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); transition: var(--transition-base); }
.client-logo-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.logo-placeholder { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
.client-logo-item span { font-size: 0.9rem; color: var(--text-muted); }

/* ===== 11. FAQ ===== */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: var(--radius-lg); margin-bottom: 1rem; box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem; font-size: 1.05rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: var(--text-primary); font-family: inherit; transition: var(--transition-base); }
.faq-question:hover { color: var(--primary); }
.faq-question i { color: var(--primary); transition: transform 0.3s ease; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 1.5rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 1.5rem 1.5rem; }

/* ===== 12. CONTACT ===== */
.section-contact { background: var(--bg-dark); position: relative; overflow: hidden; }
.section-contact::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%); border-radius: 50%; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; position: relative; z-index: 1; }
.contact-info { color: var(--text-light); }
.contact-cards { display: flex; flex-direction: column; gap: 1.2rem; margin: 2.5rem 0; }
.contact-card { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,0.05); padding: 1.2rem; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition-base); }
.contact-card:hover { background: rgba(255,255,255,0.1); transform: translateX(5px); }
.contact-card-icon { width: 50px; height: 50px; background: var(--gradient-primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; flex-shrink: 0; }
.contact-card-content .label { font-size: 0.8rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; display: block; }
.contact-card-content a, .contact-card-content span { font-size: 1.05rem; font-weight: 500; color: white; display: block; }
.contact-card-content a:hover { color: var(--primary-light); }

.social-links { display: flex; gap: 1rem; margin-top: 2rem; }
.social-link { width: 48px; height: 48px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; transition: var(--transition-base); border: 1px solid rgba(255,255,255,0.2); }
.social-link:hover { background: var(--gradient-primary); transform: translateY(-4px); border-color: transparent; }

.contact-form-container { background: white; padding: 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-2xl); }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { position: relative; }
.form-input { width: 100%; padding: 1.1rem 1.2rem; padding-left: 3rem; border: 2px solid var(--bg-tertiary); border-radius: var(--radius-lg); font-family: inherit; font-size: 1rem; background: var(--bg-secondary); color: var(--text-primary); transition: var(--transition-base); }
.form-input:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(59,130,246,0.1); }
.form-label { position: absolute; left: 3rem; top: 1.1rem; color: var(--text-muted); pointer-events: none; transition: var(--transition-base); background: transparent; padding: 0 0.3rem; }
.form-input:focus + .form-label, .form-input:not(:placeholder-shown) + .form-label { top: -0.6rem; left: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--primary); background: white; }
.form-icon { position: absolute; left: 1.2rem; top: 1.2rem; color: var(--text-muted); transition: var(--transition-base); }
.form-input:focus ~ .form-icon { color: var(--primary); }
.form-select { cursor: pointer; appearance: none; }

/* ===== 13. FOOTER ===== */
.footer { background: var(--bg-dark); color: var(--text-light); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; margin-bottom: 2rem; }
.footer-brand p { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.95rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-muted); font-weight: 500; }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ===== 14. ANIMAÇÕES & REVEAL ===== */
.reveal-left, .reveal-right { opacity: 0; transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.animate__animated { opacity: 0; }
.animate__animated.visible { opacity: 1; }

/* ===== 15. RESPONSIVO ===== */
@media (max-width: 1024px) {
  .grid-2-col, .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .process-step:not(:last-child)::after { display: none; }
  .hero-container { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-menu { position: fixed; top: var(--header-height); left: 0; width: 100%; background: white; flex-direction: column; padding: 2rem; gap: 1.5rem; box-shadow: var(--shadow-xl); transform: translateY(-150%); transition: var(--transition-base); z-index: 999; }
  .nav-menu.active { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .lang-selector-btn { margin-left: 0; margin-top: 1rem; width: 100%; justify-content: center; }
  .hero-premium { padding: 3rem 0 4rem; min-height: auto; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; gap: 2rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
  .experience-badge { right: 1rem; bottom: 1rem; padding: 1rem 1.5rem; }
  .contact-form-container { padding: 1.5rem; }
}

/* ===== 16. ACCESSIBILIDADE & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .parallax-bg, .parallax-img { transform: none !important; }
  .reveal-left, .reveal-right, .animate__animated { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
@media print { .navbar, .lang-selector-btn, .scroll-indicator, .hero-visual, .footer { display: none !important; } main { padding-top: 0 !important; } body { background: white; color: black; } }


/* ============================================
   RESPONSIVIDADE PREMIUM (MOBILE & TABLET)
   ============================================ */

/* ===== TABLETS (Até 1024px) ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem; /* Reduzir margens laterais */
  }

  /* Hero Section Ajuste */
  .hero-container {
    grid-template-columns: 1fr; /* Coluna única */
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    order: 1; /* Texto primeiro */
    margin: 0 auto;
  }

  .hero-visual {
    order: 2; /* Imagem depois */
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-subtitle, .section-description {
    margin-left: auto;
    margin-right: auto;
  }

  /* Grids Gerais */
  .grid-2-col, 
  .contact-wrapper,
  .client-showcase,
  .client-showcase:nth-child(even) {
    grid-template-columns: 1fr; /* Tudo numa coluna */
    gap: 2rem;
  }

  .client-img {
    min-height: 250px; /* Altura fixa para imagens de clientes */
    order: -1; /* Imagem sempre acima no mobile */
  }

  .timeline::before {
    left: 20px; /* Linha da timeline à esquerda */
  }

  .timeline-item, 
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    max-width: 100%;
  }
}

/* ===== MOBILE (Até 768px) ===== */
@media (max-width: 768px) {
  /* Navbar Mobile */
  .navbar {
    height: auto;
    padding: 0.5rem 0;
  }

  .nav-container {
    flex-wrap: wrap;
  }

  .nav-menu {
    position: fixed;
    top: 70px; /* Abaixo da navbar */
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%); /* Escondido por padrão */
    transition: var(--transition-base);
    z-index: 999;
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .nav-menu.active {
    transform: translateY(0); /* Aparece quando ativo */
  }

  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }

  .btn-nav {
    margin-left: 0;
    display: block;
    width: 100%;
    text-align: center;
  }

  .lang-selector-btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex; /* Mostrar botão hamburger */
    z-index: 1001;
  }

  /* Hero Mobile */
  .hero-premium {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem; /* Título menor */
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
  }

  .stat-divider {
    display: none; /* Remover divisores no mobile */
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%; /* Botões largura total */
    justify-content: center;
  }

  /* Secções Gerais */
  section {
    padding: 4rem 0; /* Menos espaço vertical */
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Cards e Grids */
  .services-grid,
  .features-grid,
  .clients-logos-grid,
  .workflow-steps,
  .team-grid,
  .apps-grid {
    grid-template-columns: 1fr; /* Uma coluna só */
    gap: 1.5rem;
  }

  .service-card,
  .feature-box,
  .app-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  /* Contact Form Mobile */
  .contact-form-container {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Evita zoom automático no iOS */
  }

  /* Modal de Idioma Mobile */
  .lang-modal {
    width: 95%;
    max-width: 400px;
  }

  /* Footer Mobile */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== MOBILE PEQUENO (Até 480px) ===== */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .experience-badge {
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    font-size: 0.8rem;
  }

  .exp-number {
    font-size: 1.8rem;
  }

  .tech-pill {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .step-num {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* ===== CORREÇÃO DE SCROLL HORIZONTAL ===== */
html, body {
  overflow-x: hidden; /* Impede scroll lateral indesejado */
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}