/* ==========================================================================
   VARIÁVEIS E RESET
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-blue: #0A4ECB;
    --dark-blue: #052a70;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); scroll-behavior: smooth; }
body { background-color: var(--white); color: var(--text-dark); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.header { background-color: var(--bg-blue); padding: 15px 0; position: sticky; top: 0; z-index: 1000; transition: var(--transition-smooth); }
.header.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--white); font-size: 1.8rem; font-weight: 800; display: flex; align-items: center; gap: 10px; cursor: pointer; letter-spacing: -0.5px; }
.nav-menu ul { display: flex; list-style: none; gap: 25px; }
.nav-menu a { color: var(--white); text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: 0.3s; }
.nav-menu a:hover { opacity: 0.7; }
.header-buttons { display: flex; gap: 15px; }
.btn-outline-header, .btn-solid-header { padding: 10px 20px; border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; transition: var(--transition-smooth); }
.btn-outline-header { border: 1px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-header:hover { background: rgba(255,255,255,0.1); }
.btn-solid-header { background-color: var(--dark-blue); color: var(--white); }
.btn-solid-header:hover { background-color: #031c4a; transform: translateY(-2px); }
.mobile-menu-btn { display: none; color: var(--white); font-size: 1.8rem; cursor: pointer; }
.header-buttons-mobile { display: none; margin-top: 20px; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero { background-color: var(--bg-blue); padding: 60px 0 80px; color: var(--white); overflow: hidden; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { max-width: 50%; }
.badge { display: inline-block; background-color: rgba(255,255,255,0.15); padding: 6px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 1px; backdrop-filter: blur(5px); }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; opacity: 0.9; }
.check-list { list-style: none; margin-bottom: 40px; }
.check-list li { margin-bottom: 12px; font-size: 1rem; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { font-size: 1.2rem; color: #42df8b; background: rgba(66, 223, 139, 0.2); padding: 4px; border-radius: 50%; }
.btn-primary { background-color: #F05A42; color: var(--white); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 800; display: inline-block; transition: var(--transition-smooth); box-shadow: 0 10px 20px rgba(240, 90, 66, 0.3); }
.btn-primary:hover { background-color: #d14933; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(240, 90, 66, 0.4); }
.hero-image { max-width: 45%; position: relative; }
.hero-image img { width: 100%;  }

/* ==========================================================================
   TECH MARQUEE (ESTEIRA DE TECNOLOGIAS)
   ========================================================================== */
.tech-marquee-wrapper { background-color: var(--dark-blue); padding: 20px 0; overflow: hidden; position: relative; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tech-marquee { width: 100%; display: flex; }
.tech-track { display: flex; gap: 50px; white-space: nowrap; animation: scroll 20s linear infinite; }
.tech-track span { color: var(--white); font-size: 1.1rem; font-weight: 600; display: flex; align-items: center; gap: 10px; opacity: 0.8; transition: 0.3s; }
.tech-track span:hover { opacity: 1; transform: scale(1.05); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   SERVICES CARDS
   ========================================================================== */
.services { padding: 100px 0; background-color: var(--light-bg); }
.section-title { text-align: center; font-size: 2.5rem; color: var(--text-dark); margin-bottom: 20px; font-weight: 700; letter-spacing: -0.5px; }
.section-title strong { font-weight: 800; color: var(--bg-blue); }
.section-subtitle { text-align: center; color: var(--text-gray); font-size: 1.1rem; margin-bottom: 60px;}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--white); border: 1px solid #e2e8f0; border-radius: 24px; padding: 40px 30px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: var(--transition-smooth); cursor: pointer; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #F05A42, var(--bg-blue)); transform: scaleX(0); transition: var(--transition-smooth); transform-origin: left; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(10, 78, 203, 0.08); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.icon-box { width: 70px; height: 70px; margin: 0 auto 25px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #ff7e67; background: #fff1f0; border-radius: 20px; transition: var(--transition-smooth); }
.service-card:hover .icon-box { transform: scale(1.1) rotate(5deg); }
.service-card:nth-child(2) .icon-box { color: #1800ad; background: #f3ecff; }
.service-card:nth-child(3) .icon-box { color: #20c997; background: #e6fcf5; }
.service-card:nth-child(4) .icon-box { color: #4285F4; background: #ebf2ff; }
.service-card:nth-child(5) .icon-box { color: #28a745; background: #e8f8ec; }
.service-card:nth-child(6) .icon-box { color: #1800ad; background: #f4ecff; }
.service-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 15px; color: var(--text-dark); }
.service-card p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; font-weight: 500; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 25px; border: 1px solid #e2e8f0; color: var(--text-dark); border-radius: 50px; text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: var(--transition-smooth); }
.btn-link i { font-size: 0.8rem; transition: 0.3s; }
.service-card:hover .btn-link { background-color: var(--bg-blue); color: var(--white); border-color: var(--bg-blue); }
.service-card:hover .btn-link i { transform: translateX(5px); }

/* ==========================================================================
   PORTFOLIO: ÚLTIMO PROJETO
   ========================================================================== */
.portfolio { background-color: var(--bg-blue); padding: 80px 0; }
.white-text { color: var(--white); }
/* Correção do Destaque do Portfólio */
.white-text strong { color: red; }

.portfolio-showcase { display: flex; background: linear-gradient(135deg, #073896 0%, #052a70 100%); border-radius: 30px; padding: 50px; align-items: center; box-shadow: 0 30px 60px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05); }
.portfolio-info { flex: 1; color: var(--white); padding-right: 40px; }
.stars { color: #ffbd2e; margin-bottom: 15px; }
.portfolio-info h3 { font-size: 2.8rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.portfolio-info p { font-size: 1.1rem; margin-bottom: 30px; color: #cbd5e1; line-height: 1.6; }
.btn-solid-white { background-color: var(--white); color: var(--bg-blue); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 800; display: inline-block; transition: 0.3s; }
.btn-solid-white:hover { background-color: #f1f1f1; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.portfolio-mockups { flex: 1; text-align: right; }
.portfolio-mockups img { max-width: 100%; border-radius: 10px; transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.interactive-mockup:hover img { transform: scale(1.03) rotate(-2deg); }

/* ==========================================================================
   PORTFOLIO: GRID DE PROJETOS
   ========================================================================== */
.portfolio-grid-section { padding: 100px 0; background-color: var(--white); }
.portfolio-filters { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; flex-wrap: wrap; }
.filter-btn { padding: 10px 25px; background: transparent; border: 1px solid #cbd5e1; border-radius: 50px; color: var(--text-gray); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.3s; font-family: var(--font-main); }
.filter-btn:hover, .filter-btn.active { background-color: var(--bg-blue); color: var(--white); border-color: var(--bg-blue); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.portfolio-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; transition: all 0.4s ease; }
.portfolio-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.card-image { position: relative; width: 100%; height: 240px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover .card-image img { transform: scale(1.05); }

.card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 78, 203, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.4s; backdrop-filter: blur(3px); }
.portfolio-card:hover .card-overlay { opacity: 1; }
.btn-circle { width: 60px; height: 60px; background: var(--white); color: var(--bg-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; transform: translateY(20px); transition: 0.4s; }
.portfolio-card:hover .btn-circle { transform: translateY(0); }
.btn-circle:hover { background: #F05A42; color: var(--white); }

.card-content { padding: 30px; }
.category-tag { font-size: 0.8rem; font-weight: 700; color: var(--bg-blue); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.card-content h3 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.card-content p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }

/* ==========================================================================
   SEO E SPEED
   ========================================================================== */
.seo-speed { padding: 100px 0; overflow: hidden; background-color: var(--light-bg); }
.split-block { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.split-block.reverse { flex-direction: row-reverse; }
.mt-100 { margin-top: 100px; }
.split-text { flex: 1; }
.split-text h2 { font-size: 2.2rem; font-weight: 600; color: var(--text-dark); line-height: 1.3; margin-bottom: 20px; }
.split-text h2 strong { font-weight: 800; }
.split-text p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 30px; line-height: 1.6; }
.btn-secondary { background-color: #1800ad; color: var(--white); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; box-shadow: 0 10px 20px rgba(138, 78, 255, 0.2); }
.btn-secondary:hover { background-color: #1800ad; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(138, 78, 255, 0.3); }
.split-visual { flex: 1; position: relative; }
.google-card { background: var(--white); border-radius: 15px; padding: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.1); max-width: 450px; margin: 0 auto; transition: transform 0.3s; }
.google-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.g-logo { font-weight: 800; font-size: 1.2rem; color: #4285F4; }
.search-bar { flex: 1; background: #f1f3f4; padding: 10px 15px; border-radius: 50px; color: #5f6368; display: flex; justify-content: space-between; font-size: 0.9rem; }
.google-result .url { color: #202124; font-size: 0.85rem; margin-bottom: 5px; }
.google-result h4 { color: #1a0dab; font-size: 1.2rem; margin-bottom: 5px; cursor: pointer; }
.google-result h4:hover { text-decoration: underline; }
.google-result .desc { color: #4d5156; font-size: 0.9rem; line-height: 1.4; }
.circle-bg-img { width: 100%; border-radius: 50% 50% 0 0; border-bottom: 10px solid var(--bg-blue); }

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
.floating-anim { animation: float 6s ease-in-out infinite; }
.interactive-hover { transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.interactive-hover:hover { transform: translateY(-10px) scale(1.02); }

/* ==========================================================================
   VIDEO & TESTIMONIALS
   ========================================================================== */
.video-top-half { background-color: var(--bg-blue); padding: 80px 0 150px; color: var(--white); }
.video-container { display: flex; align-items: center; gap: 40px; }
.video-text { flex: 1; }
.video-text h2 { font-size: 2rem; margin-bottom: 15px; font-weight: 600;}
.video-text h2 strong { font-weight: 800; }
.video-player { flex: 1; position: relative; z-index: 2; transform: translateY(50px); border-radius: 15px; overflow: hidden; cursor: pointer; }
.video-thumbnail { width: 100%; display: block; transition: 0.5s; }
.video-player:hover .video-thumbnail { transform: scale(1.05); filter: brightness(0.8); }
.play-btn-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #F05A42; transition: 0.3s; z-index: 3; }
.video-player:hover .play-btn-overlay { background: var(--white); transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 30px rgba(240, 90, 66, 0.5); }

.testimonials-bottom-half { background-color: #fcfcfc; padding: 100px 0 80px; }
.testimonial-header { text-align: center; margin-bottom: 50px; }
.testimonial-header h2 { font-size: 2rem; color: var(--text-dark); margin-bottom: 10px; font-weight: 800; }
.reviews-grid { display: flex; gap: 20px; align-items: center; }
.review-score { text-align: center; padding: 20px; min-width: 200px; }
.score-title { font-weight: 800; font-size: 1.2rem; color: var(--text-dark); }
.stars-google { color: #fbbc05; font-size: 1.2rem; margin: 5px 0; }
.score-base { font-size: 0.8rem; color: var(--text-gray); margin-bottom: 10px; }
.google-icon { font-size: 2rem; color: #4285F4; }
.review-card { background: var(--white); border: 1px solid #eef2f6; border-radius: 10px; padding: 25px; flex: 1; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.review-user { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; position: relative; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background-color: #607d8b; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.blue-av { background-color: #9c27b0; }
.dark-av { background-color: #03a9f4; }
.review-user h4 { font-size: 0.95rem; color: var(--text-dark); }
.review-user span { font-size: 0.8rem; color: var(--text-gray); }
.g-small { position: absolute; right: 0; top: 10px; color: #4285F4; }
.stars-google.small { font-size: 0.9rem; margin-bottom: 10px; }

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats { background: linear-gradient(135deg, rgba(10, 78, 203, 0.95), rgba(7, 56, 150, 0.95)), url('https://via.placeholder.com/1200x400') center/cover; padding: 80px 0; color: var(--white); text-align: center; }
.stats-title { font-size: 2rem; font-weight: 600; margin-bottom: 50px; }
.stats-grid { display: flex; justify-content: space-around; }
.stat-item h3 { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; display: inline-block;}
.stat-item span { font-size: 3.5rem; font-weight: 800;}
.stat-item p { font-size: 1rem; max-width: 250px; margin: 0 auto; font-weight: 600; }

/* ==========================================================================
   FOOTER PROFISSIONAL
   ========================================================================== */
.footer { background-color: var(--dark-blue); color: #e2e8f0; padding: 80px 0 30px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-size: 1.5rem; margin-bottom: 20px; }
.brand-info p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; color: #94a3b8; }
.social-links { display: flex; gap: 15px; }
.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; color: var(--white); text-decoration: none; transition: 0.3s; }
.social-links a:hover { background: #F05A42; transform: translateY(-3px); }
.footer-col h4 { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 25px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: #94a3b8; text-decoration: none; transition: 0.3s; font-size: 0.95rem; font-weight: 500; }
.footer-col ul a:hover { color: var(--white); padding-left: 5px; }
.newsletter p { font-size: 0.9rem; color: #94a3b8; margin-bottom: 15px; }
.subscribe-form { display: flex; margin-bottom: 25px; }
.subscribe-form input { flex: 1; padding: 12px 15px; border: none; border-radius: 8px 0 0 8px; background: rgba(255,255,255,0.1); color: var(--white); outline: none; font-family: var(--font-main); }
.subscribe-form input::placeholder { color: #64748B; }
.subscribe-form button { padding: 12px 20px; border: none; background: #F05A42; color: var(--white); border-radius: 0 8px 8px 0; cursor: pointer; transition: 0.3s; }
.subscribe-form button:hover { background: #d14933; }
.contact-info p { font-size: 0.9rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; color: #cbd5e1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 0.85rem; color: #64748B; font-weight: 500; }

/* ==========================================================================
   WIDGET WHATSAPP E REVEAL
   ========================================================================== */
.floating-widget { position: fixed; bottom: 30px; right: 30px; display: flex; align-items: flex-end; gap: 15px; z-index: 1000; cursor: pointer; transition: 0.3s; }
.floating-widget:hover { transform: scale(1.05); }
.widget-msg { background: var(--white); padding: 15px; border-radius: 10px 10px 0 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); font-size: 0.9rem; color: var(--text-dark); max-width: 250px; position: relative; font-weight: 600; }
.widget-msg::after { content: ''; position: absolute; bottom: 0; right: -10px; border-width: 10px 0 0 10px; border-style: solid; border-color: transparent transparent transparent var(--white); }
.widget-avatar { position: relative; width: 60px; height: 60px; }
.widget-avatar img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: 2px solid var(--white); }
.online-dot { position: absolute; bottom: 2px; right: 2px; width: 15px; height: 15px; background-color: #25D366; border: 3px solid var(--white); border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.slide-left { transform: translateX(-50px); }
.slide-right { transform: translateX(50px); }
.slide-left.active, .slide-right.active { transform: translateX(0); }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.5rem; }
    .split-block { gap: 30px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-menu-btn { display: block; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: rgba(10, 78, 203, 0.98); backdrop-filter: blur(10px); padding: 80px 30px; transition: 0.4s ease-in-out; box-shadow: -10px 0 30px rgba(0,0,0,0.2); }
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; gap: 30px; }
    .nav-menu a { font-size: 1.2rem; }
    .header-buttons-mobile { display: block; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-image { max-width: 100%; margin-top: 30px; }
    .check-list li { justify-content: center; }
    .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .portfolio-showcase { flex-direction: column; text-align: center; padding: 30px; }
    .portfolio-info { padding-right: 0; }
    .portfolio-mockups { margin-top: 30px; }
    .split-block, .split-block.reverse { flex-direction: column; text-align: center; }
    .split-visual, .split-text { width: 100%; }
    .mt-100 { margin-top: 50px; }
    .video-container { flex-direction: column; text-align: center; }
    .video-player { transform: translateY(0); margin-top: 30px; }
    .video-top-half { padding-bottom: 80px; }
    .reviews-grid { flex-direction: column; }
    .review-score { padding: 10px; }
    .stats-grid { flex-direction: column; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .social-links, .contact-info p { justify-content: center; }
    .subscribe-form { flex-direction: column; gap: 10px; }
    .subscribe-form input, .subscribe-form button { border-radius: 8px; }
    .floating-widget { display: none; }
}