/* ===== RESET E BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; max-width: 100%; }
body { font-family: 'Manrope', sans-serif; color: #1a1a2e; background: #fff; line-height: 1.6; }
img { max-width: 100%; height: auto; }
/* ===== CORES ===== */
:root { --primary-cyan: #65e9d9; --primary-cyan-dark: #4dc9b9; --primary-cyan-light: #8af0e3; --dark-bg: #0a0a0a; --dark-secondary: #1a1a2e; --gray-light: #f8f9fa; --gray-muted: #6c757d; }
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--primary-cyan); border-radius: 4px; }
/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0.8rem 0; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; }
.navbar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.navbar-brand .logo-icon { background: rgba(101, 233, 217, 0.12); padding: 0.4rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.navbar-brand .logo-icon:hover { background: rgba(101, 233, 217, 0.2); transform: scale(1.05); }
.navbar-brand .logo-icon svg { width: 36px; height: 36px; color: var(--primary-cyan); }
.navbar-brand .logo-text { color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.5px; line-height: 1.2; }
.navbar-brand .logo-sub { color: var(--primary-cyan); font-size: 0.55rem; font-weight: 600; display: block; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 0.5rem; list-style: none; }
.nav-menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.5rem 1rem; transition: all 0.3s ease; border-radius: 8px; display: flex; align-items: center; gap: 0.5rem; }
.nav-menu a svg { width: 18px; height: 18px; color: var(--primary-cyan); transition: all 0.3s ease; stroke-width: 2; }
.nav-menu a:hover { color: var(--primary-cyan); background: rgba(101, 233, 217, 0.08); }
.nav-menu a:hover svg { transform: scale(1.2) rotate(-5deg); }
.nav-menu .btn-contato { background: var(--primary-cyan); color: #000; font-weight: 600; padding: 0.5rem 1.5rem; border-radius: 8px; }
.nav-menu .btn-contato svg { color: #000; }
.nav-menu .btn-contato:hover { background: var(--primary-cyan-dark); color: #000; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(101, 233, 217, 0.3); }
.nav-menu .btn-contato:hover svg { transform: scale(1.2) rotate(-10deg); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 0.5rem; }
.menu-toggle svg { width: 28px; height: 28px; color: #fff; }
/* ===== HERO ===== */
.hero-section { background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-secondary) 100%); padding: 120px 0 80px 0; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; width: 100%; max-width: 100%; overflow-x: hidden; }
@supports (-webkit-touch-callout: none) { .hero-section { min-height: -webkit-fill-available; padding: 110px 0 60px 0;} }
.hero-section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }
.hero-content, .hero-tech { min-width: 0; }
.hero-content h1 { color: #fff; font-size: 4rem; font-weight: 700; line-height: 1.1; margin-bottom: 0.5rem; word-wrap: break-word; }
.hero-content .subtitle { color: rgba(255,255,255,0.7); font-size: 1.8rem; font-weight: 300; margin-bottom: 1rem; word-wrap: break-word; }
.hero-content .description { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 90%; margin-bottom: 2rem; word-wrap: break-word; }
.hero-content .description strong { color: var(--primary-cyan); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
/* ===== BOTÕES ===== */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(5px); }
.btn-primary { background: var(--primary-cyan) !important; color: #000 !important; }
.btn-primary:hover { background: var(--primary-cyan-dark) !important; color: #000 !important; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(101, 233, 217, 0.3); }
.btn-outline-cyan { background: transparent !important; color: var(--primary-cyan) !important; border: 2px solid var(--primary-cyan) !important; }
.btn-outline-cyan:hover { background: var(--primary-cyan) !important; color: #000 !important; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(101, 233, 217, 0.3); }
.btn-outline-light { background: transparent !important; color: #fff !important; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1) !important; color: #fff !important; border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: #1a1a2e; color: #fff; }
.btn-dark:hover { background: #2a2a4e; transform: translateY(-2px); }
.hero-tech { text-align: center; }
.tech-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.tech-badge { display: inline-block; padding: 0.4rem 1.2rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; font-weight: 600; font-size: 0.85rem; color: #fff; transition: all 0.3s ease; }
.tech-badge:hover { background: var(--primary-cyan); color: #000; transform: scale(1.05); }
/* ===== CARROSSEL DE LOGOS ===== */
.carousel-wrapper { width: 100%; max-width: 500px; margin: 0 auto 1rem auto; overflow: hidden; position: relative; border-radius: 12px; background: rgba(255,255,255,0.03); padding: 0.5rem 0; }
.carousel-track { display: flex; gap: 0; animation: scroll 12s linear infinite; width: fit-content; }
.carousel-track:hover { animation-play-state: paused; }
.carousel-slide { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 1rem; min-width: 80px; }
.carousel-slide img { max-height: 45px; width: auto; filter: grayscale(0.2) brightness(0.85); transition: all 0.3s ease; opacity: 0.7; }
.carousel-slide img:hover { filter: grayscale(0) brightness(1); transform: scale(1.08); opacity: 1; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
/* ===== SEÇÕES ===== */
.section { padding: 5rem 0; overflow-x: hidden; }
.section .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-light { background: var(--gray-light); }
.section-dark { background: var(--dark-bg); color: #fff; }
.section-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-subtitle { color: var(--gray-muted); font-size: 1.2rem; max-width: 70%; margin-bottom: 2rem; }
.section-subtitle.white { color: rgba(255,255,255,0.6); }
.text-highlight { color: var(--primary-cyan); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
/* ===== QUEM SOU EU ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-grid > * { min-width: 0; }
.about-image img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-content h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.about-content .role { color: var(--primary-cyan); font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.about-content p { color: var(--gray-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.about-feature { padding: 1rem 1.2rem; background: var(--gray-light); border-radius: 10px; border-left: 4px solid transparent; transition: all 0.3s ease; }
.about-feature:hover { border-left-color: var(--primary-cyan); background: rgba(101, 233, 217, 0.05); }
.about-feature svg { width: 32px; height: 32px; color: var(--primary-cyan); margin-bottom: 0.3rem; stroke-width: 2; }
.about-feature h5 { font-size: 1rem; font-weight: 700; }
.about-feature p { font-size: 0.85rem; color: var(--gray-muted); margin-bottom: 0; }
/* ===== SERVIÇOS ===== */
.services-header { text-align: center; margin-bottom: 2.5rem; }
.services-header .label { font-weight: 700; font-size: 1.2rem; color: var(--primary-cyan); display: inline-flex; align-items: center; gap: 0.5rem; }
.services-header .label svg { width: 20px; height: 20px; }
.services-header h2 { font-size: 2.5rem; font-weight: 700; margin: 0.3rem 0 0.5rem 0; }
.services-header p { color: var(--gray-muted); font-size: 1.2rem; max-width: 70%; margin: 0 auto; }
.services-header p strong { color: #1a1a2e; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 0; }
.service-card { background: #fff; padding: 2rem 1.5rem; border-radius: 16px; border: 1px solid #eef2f6; transition: all 0.3s ease; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--primary-cyan); opacity: 0; transition: opacity 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.service-card:hover::before { opacity: 1; }
.service-card .icon svg { width: 40px; height: 40px; color: var(--primary-cyan); margin-bottom: 0.8rem; stroke-width: 2; }
.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.9rem; color: var(--gray-muted); line-height: 1.6; margin-bottom: 0; }
.services-actions { text-align: center; margin-top: 2.5rem; }
/* ===== TECNOLOGIAS ===== */
.tech-header { text-align: center; margin-bottom: 2.5rem; }
.tech-header h2 { font-size: 2.5rem; font-weight: 700; margin: 0 0 0.5rem 0; color: #fff; }
.tech-header h2 svg { color: var(--primary-cyan); margin-right: 0.5rem; width: 36px; height: 36px; }
.tech-header p { color: rgba(255,255,255,0.6); font-size: 1.2rem; max-width: 70%; margin: 0 auto; }
.tech-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: center; align-items: center; margin-top: 0; }
.tech-grid img { max-height: 55px; width: auto; filter: grayscale(0.2) brightness(0.8); transition: all 0.3s ease; }
.tech-grid img:hover { filter: grayscale(0) brightness(1); transform: scale(1.1); }
/* ===== CONTATO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-grid > * { min-width: 0; }
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label { font-weight: 600; display: flex; align-items: center; gap: 0.3rem; margin-bottom: 0.3rem; }
.contact-form label svg { width: 18px; height: 18px; color: var(--primary-cyan); }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.8rem 1rem; border: 2px solid #eef2f6; border-radius: 10px; font-size: 1rem; font-family: inherit; transition: border 0.3s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-cyan); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-info { background: var(--gray-light); padding: 2.5rem; border-radius: 16px; }
.contact-info h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.contact-info h3 svg { width: 28px; height: 28px; color: var(--primary-cyan); }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item svg { width: 26px; height: 26px; color: var(--primary-cyan); min-width: 40px; padding-top: 0.2rem; stroke-width: 2; }
.contact-item strong { display: block; }
.contact-item p { color: var(--gray-muted); margin-bottom: 0; }
.social-links { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; border: 2px solid #ddd; color: #1a1a2e; text-decoration: none; transition: all 0.3s ease; }
.social-link svg { width: 24px; height: 24px; }
.social-link:hover { border-color: var(--primary-cyan); background: var(--primary-cyan); color: #000; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(101, 233, 217, 0.3); }
.social-link:hover svg { color: #000; }
/* ===== FOOTER ===== */
.footer { background: var(--dark-bg); color: #fff; padding: 3rem 0 1.5rem 0; overflow-x: hidden; }
.footer .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-grid > * { min-width: 0; }
.footer-brand p { color: rgba(255,255,255,0.5); max-width: 80%; }
.footer h6 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.3rem; }
.footer h6 svg { width: 18px; height: 18px; color: var(--primary-cyan); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.3s ease; display: flex; align-items: center; gap: 0.3rem; }
.footer ul li a svg { width: 14px; height: 14px; }
.footer ul li a:hover { color: var(--primary-cyan); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 1.5rem 0; }
.footer-bottom { text-align: center; color: rgba(255,255,255,0.3); font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.footer-bottom svg { width: 16px; height: 16px; }
/* ===== RESPONSIVO - GERAL ===== */
@media (max-width: 992px) {.hero-row { grid-template-columns: 1fr; gap: 2rem; } .hero-content { text-align: center; } .hero-content .description { max-width: 100%; } .hero-buttons { justify-content: center; } .about-grid { grid-template-columns: 1fr; gap: 2rem; } .services-grid { grid-template-columns: repeat(2, 1fr); } .services-header p { max-width: 100%; } .tech-header p { max-width: 100%; } .contact-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand p { max-width: 100%; } }
/* ===== RESPONSIVO - MOBILE (768px) ===== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav-menu { display: none; flex-direction: column; width: 100%; padding: 1rem 0; gap: 0.3rem; }
    .nav-menu.open { display: flex; }
    .nav-menu a { width: 100%; justify-content: center; padding: 0.7rem 1rem; }
    .navbar .container { flex-wrap: wrap; }
    
    .hero-section { padding: 100px 0 40px 0; min-height: auto; min-height: 100dvh; }
    
    /* === CORREÇÃO: GARANTE QUE O TEXTO VENHA PRIMEIRO === */
    .hero-row { 
        display: flex; 
        flex-direction: column; 
        gap: 1.5rem;
    }
    .hero-content { order: 1; }
    .hero-stats { order: 2; margin-top: 0.5rem; }
    
    .hero-content h1 { font-size: 2.2rem !important; line-height: 1.2; }
    .hero-content .subtitle { font-size: 1.2rem !important; line-height: 1.4; }
    .hero-content .description { font-size: 0.95rem !important; max-width: 100%; padding: 0 0.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 0.8rem; }
    .hero-buttons .btn { width: 100%; max-width: 280px; justify-content: center; padding: 0.7rem 1.5rem; font-size: 0.95rem; }
    .carousel-wrapper { max-width: 100%; padding: 0.5rem 0; }
    .carousel-slide { min-width: 60px; padding: 0 0.5rem; }
    .carousel-slide img { max-height: 35px; }
    .tech-badges { gap: 0.4rem; }
    .tech-badge { font-size: 0.7rem; padding: 0.25rem 0.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .services-header h2 { font-size: 2rem; }
    .services-header p { font-size: 1rem; }
    .tech-header h2 { font-size: 2rem; }
    .tech-header p { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .navbar-brand .logo-text { font-size: 1.1rem; }
    .navbar-brand .logo-icon svg { width: 28px; height: 28px; }
    .hero-tech { order: 2; margin-top: 0.5rem; }
    .hero-content { order: 1; }
    
    /* CORREÇÃO PARA OS STATS NO MOBILE */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card { padding: 20px 12px; }
    .stat-number { font-size: 28px; }
    .stat-icon { width: 48px; height: 48px; margin-bottom: 12px; }
    .stat-icon i { width: 24px; height: 24px; }
}
@supports (-webkit-touch-callout: none) {
    .hero-section { min-height: -webkit-fill-available; }
    @media (max-width: 768px) {
        .hero-section { min-height: -webkit-fill-available; padding: 90px 0 30px 0; }
    }
}
@media (max-width: 480px) {
    .hero-section { padding: 90px 0 30px 0; }
    .hero-content h1 { font-size: 1.8rem !important; }
    .hero-content .subtitle { font-size: 1rem !important; }
    .hero-content .description { font-size: 0.85rem !important; }
    .hero-buttons .btn { font-size: 0.85rem; padding: 0.6rem 1.2rem; max-width: 240px; }
    .carousel-slide { min-width: 50px; padding: 0 0.3rem; }
    .carousel-slide img { max-height: 28px; }
    .tech-badge { font-size: 0.65rem; padding: 0.2rem 0.6rem; }
    .contact-info { padding: 1.5rem; }
}
@media (max-width: 360px) {
    .hero-content h1 { font-size: 1.5rem !important; }
    .hero-content .subtitle { font-size: 0.9rem !important; }
    .hero-content .description { font-size: 0.8rem !important; }
    .hero-buttons .btn { font-size: 0.8rem; padding: 0.5rem 1rem; max-width: 200px; }
}
.tech-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:25px; margin-top:50px; }
.tech-card{ background:#111827; border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:28px; transition:.35s; box-shadow:0 15px 35px rgba(0,0,0,.18); }
.tech-card:hover{ transform:translateY(-8px); border-color:#00c8ff; box-shadow:0 20px 45px rgba(0,200,255,.25); }
.tech-card i{ width:42px; height:42px; color:#00c8ff; margin-bottom:18px; }
.tech-card h3{ margin-bottom:18px; color:#fff; font-size:22px; }
.tech-card span{ display:inline-block; margin:5px; padding:8px 14px; border-radius:30px; background:#1f2937; color:#d6d6d6; font-size:14px; transition:.3s; }
.tech-card span:hover{ background:#00c8ff; color:#000; }
.hero-stats{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; align-self:center; }
.stat-card{ background:linear-gradient(180deg,#111827,#0d1524); border:1px solid rgba(255,255,255,.08); border-radius:18px; padding:30px; transition:.35s; text-align:center; position:relative; overflow:hidden; }
.stat-card:hover{ transform:translateY(-8px); border-color:#00d8ff; box-shadow:0 25px 50px rgba(0,216,255,.18); }
.stat-icon{ width:64px; height:64px; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(0,216,255,.12); }
.stat-icon i{ width:32px; height:32px; color:#00d8ff; }
.stat-number{ font-size:38px; font-weight:700; color:#fff; margin-bottom:10px; }
.stat-title{ font-size:15px; color:#9ca3af; line-height:1.5; }
.hero-label{ display:inline-flex; align-items:center; gap:10px; padding:8px 18px; margin-bottom:25px; border-radius:50px; background:rgba(0,216,255,.10); border:1px solid rgba(0,216,255,.25); color:#00d8ff; font-size:14px; }
.hero-label i{ width:18px; height:18px; }