/*
Theme Name: LOPTEX
Theme URI: https://loptex.com.br
Author: LOPTEX
Author URI: https://loptex.com.br
Description: Tema WordPress do site LOPTEX — Human Integration Solutions. Presença física, execução e resolução para empresas e famílias asiáticas no Brasil.
Version: 1.0
License: GPL v2 or later
Text Domain: loptex
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #0a0a0f; color: #e0e0e0; overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ANIMATED BG */
.hero-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; animation: orbFloat 20s ease-in-out infinite; }
.hero-bg .orb:nth-child(1) { width: 600px; height: 600px; background: #00c8ff; top: -10%; left: -10%; animation-delay: 0s; }
.hero-bg .orb:nth-child(2) { width: 500px; height: 500px; background: #7c3aed; bottom: -10%; right: -10%; animation-delay: -7s; }
.hero-bg .orb:nth-child(3) { width: 400px; height: 400px; background: #06d6a0; top: 50%; left: 50%; transform: translate(-50%,-50%); animation-delay: -14s; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 25% { transform: translate(80px,-60px) scale(1.1); } 50% { transform: translate(-40px,80px) scale(0.9); } 75% { transform: translate(60px,40px) scale(1.05); } }

/* NAV */
nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 24px; background: rgba(10,10,15,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; }
nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 800; background: linear-gradient(135deg,#00c8ff,#7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -0.5px; }
.logo span { font-weight: 300; font-size: 12px; display: block; -webkit-text-fill-color: rgba(255,255,255,0.5); letter-spacing: 2px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.3s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg,#00c8ff,#7c3aed); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }

/* LANGUAGE SELECTOR */
.lang-selector { display: flex; gap: 4px; background: rgba(255,255,255,0.05); border-radius: 8px; padding: 4px; }
.lang-btn { padding: 6px 10px; border: none; background: transparent; color: rgba(255,255,255,0.4); font-size: 12px; font-weight: 600; cursor: pointer; border-radius: 6px; transition: all 0.3s; font-family: 'Inter',sans-serif; }
.lang-btn:hover { color: rgba(255,255,255,0.8); }
.lang-btn.active { background: rgba(255,255,255,0.1); color: #fff; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* HERO */
.hero { position: relative; z-index: 1; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero .container { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: clamp(40px,5vw,68px); font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
.hero-content h1 .highlight { background: linear-gradient(135deg,#00c8ff,#7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 520px; margin-bottom: 36px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { padding: 14px 32px; border-radius: 12px; font-size: 15px; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; font-family: 'Inter',sans-serif; }
.btn-primary { background: linear-gradient(135deg,#00c8ff,#7c3aed); color: #fff; box-shadow: 0 4px 24px rgba(0,200,255,0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(0,200,255,0.35); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: #00c8ff; background: rgba(0,200,255,0.1); transform: translateY(-2px); }

/* HERO VISUAL — CAROUSEL */
.hero-visual { position: relative; width: 100%; }
.hero-carousel { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); }
.hero-carousel .slides { display: flex; width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.hero-carousel .slide { min-width: 100%; height: 100%; position: relative; overflow: hidden; }
.hero-carousel .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-carousel .slide .slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,15,0.7) 0%, transparent 50%); }
.hero-carousel .slide .slide-label { position: absolute; bottom: 24px; left: 24px; z-index: 1; }
.hero-carousel .slide .slide-label h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.hero-carousel .slide .slide-label p { font-size: 13px; color: rgba(255,255,255,0.6); }
.hero-carousel .carousel-dots { position: absolute; bottom: 12px; right: 20px; display: flex; gap: 8px; z-index: 2; }
.hero-carousel .carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; padding: 0; }
.hero-carousel .carousel-dots button.active { background: #00c8ff; width: 24px; border-radius: 4px; }
.hero-carousel .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); background: rgba(10,10,15,0.6); backdrop-filter: blur(8px); color: #fff; font-size: 18px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.hero-carousel .carousel-arrow:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }
.hero-carousel .carousel-arrow.prev { left: 12px; }
.hero-carousel .carousel-arrow.next { right: 12px; }

/* SECTION COMMON */
section { position: relative; z-index: 1; padding: 100px 0; }
.section-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 3px; color: #00c8ff; margin-bottom: 12px; }
.section-title { font-size: clamp(32px,4vw,48px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2; }
.section-subtitle { font-size: 18px; color: rgba(255,255,255,0.5); max-width: 600px; line-height: 1.7; }

/* UNITS */
.units-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.unit-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; transition: all 0.4s; position: relative; overflow: hidden; }
.unit-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; z-index: 2; }
.unit-card:nth-child(1)::before { background: #00c8ff; }
.unit-card:nth-child(2)::before { background: #7c3aed; }
.unit-card:nth-child(3)::before { background: #06d6a0; }
.unit-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.unit-card .unit-img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 19px 19px 0 0; transition: transform 0.6s; }
.unit-card:hover .unit-img { transform: scale(1.05); }
.unit-card .unit-body { padding: 32px 32px 40px; }
.unit-card .icon { font-size: 36px; margin-bottom: 20px; display: block; }
.unit-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.unit-card .unit-email { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 500; margin-bottom: 16px; }
.unit-card p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 20px; }
.unit-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.unit-tags span { font-size: 12px; padding: 5px 12px; background: rgba(255,255,255,0.05); border-radius: 100px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* BANNER IMAGE */
.banner { position: relative; z-index: 1; height: 360px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(10,10,15,0.85),rgba(10,10,15,0.5),rgba(10,10,15,0.85)); }
.banner .banner-content { position: relative; z-index: 1; text-align: center; max-width: 700px; padding: 0 24px; }
.banner .banner-content h2 { font-size: clamp(28px,3.5vw,42px); font-weight: 800; margin-bottom: 12px; }
.banner .banner-content p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ECOSYSTEM */
.ecosystem-flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.flow-step { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 32px; text-align: center; }
.flow-step .step-num { display: inline-flex; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,#00c8ff,#7c3aed); align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.flow-step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.pricing-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 40px 32px; transition: all 0.4s; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.1); }
.pricing-card.featured { background: rgba(0,200,255,0.04); border-color: rgba(0,200,255,0.2); position: relative; }
.pricing-card.featured::before { content: '★'; position: absolute; top: -12px; right: 24px; font-size: 24px; color: #00c8ff; }
.pricing-card .plan-name { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #00c8ff; margin-bottom: 8px; }
.pricing-card h3 { font-size: 36px; font-weight: 800; margin-bottom: 4px; }
.pricing-card .plan-period { font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.pricing-card .plan-desc { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 24px; line-height: 1.6; }
.pricing-card ul { list-style: none; margin-bottom: 28px; flex: 1; }
.pricing-card ul li { padding: 10px 0; font-size: 14px; color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; gap: 10px; }
.pricing-card ul li::before { content: '✓'; color: #06d6a0; font-weight: 700; }

/* DIFFERENTIALS */
.diff-intro { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 700px; margin: 0 auto 60px; text-align: center; line-height: 1.7; }
.diff-grid { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }
.diff-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding: 18px 24px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; transition: all 0.3s; }
.diff-row:hover { background: rgba(255,255,255,0.04); border-color: rgba(0,200,255,0.15); }
.diff-ai { font-size: 14px; color: rgba(255,255,255,0.35); text-align: right; line-height: 1.5; }
.diff-vs { font-size: 11px; font-weight: 700; color: #00c8ff; background: rgba(0,200,255,0.1); padding: 4px 10px; border-radius: 100px; text-align: center; flex-shrink: 0; letter-spacing: 1px; }
.diff-loptex { font-size: 14px; color: #fff; font-weight: 500; line-height: 1.5; }

/* METHODOLOGY */
.meth-wrapper { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.meth-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 36px 28px; transition: all 0.4s; }
.meth-card:hover { border-color: rgba(255,255,255,0.1); }
.meth-card .meth-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.meth-card .meth-header h3 { font-size: 20px; font-weight: 700; }
.meth-card .meth-tagline { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 24px; line-height: 1.5; }
.meth-steps { display: flex; flex-direction: column; gap: 10px; }
.meth-step { display: flex; gap: 14px; align-items: flex-start; padding: 12px 16px; background: rgba(255,255,255,0.03); border-radius: 12px; border-left: 3px solid; transition: all 0.3s; }
.meth-step:hover { background: rgba(255,255,255,0.06); }
.meth-step .sl { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0; }
.meth-step .si h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.meth-step .si p { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }

/* CULTURAL MAP */
.cultura-intro { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 700px; margin: 0 auto 60px; text-align: center; line-height: 1.7; }
.cultura-table-wrapper { overflow-x: auto; margin-top: 60px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); }
.cultura-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 13px; }
.cultura-table th, .cultura-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
.cultura-table th { background: rgba(255,255,255,0.03); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }
.cultura-table td { color: rgba(255,255,255,0.55); line-height: 1.5; }
.cultura-table tr:hover td { background: rgba(255,255,255,0.03); }
.cultura-table .c-dim { font-weight: 600; color: #00c8ff; white-space: nowrap; }
.cultura-table .c-flag { font-size: 16px; margin-right: 6px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,0.5); margin-bottom: 32px; line-height: 1.7; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.contact-item .ci-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(0,200,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-item .ci-label { font-size: 12px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px; }
.contact-item .ci-value { font-size: 15px; color: #fff; font-weight: 500; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea { padding: 16px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); color: #fff; font-size: 15px; font-family: 'Inter',sans-serif; transition: border-color 0.3s; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #00c8ff; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form select option { background: #1a1a2e; color: #fff; }

/* FOOTER */
footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,0.05); padding: 40px 0; }
footer .container { display: flex; align-items: center; justify-content: space-between; }
footer p { font-size: 14px; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.3); transition: color 0.3s; display: inline-flex; align-items: center; }
.footer-links a:hover { color: #fff; }
.footer-links a svg { transition: fill 0.3s; }
.footer-links a:hover svg { fill: #fff; }

/* RESPONSIVE */
@media (max-width:968px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-carousel { aspect-ratio: 16 / 9; }
  .units-grid, .ecosystem-flow, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .meth-wrapper { grid-template-columns: 1fr; }
  .cultura-table { min-width: 600px; font-size: 12px; }
  .cultura-table th, .cultura-table td { padding: 10px 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width:640px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10,10,15,0.95); backdrop-filter: blur(20px); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero-carousel { aspect-ratio: 4 / 3; }
  .hero .hero-carousel .slide-label h4 { font-size: 14px; }
  .hero .hero-carousel .slide-label p { font-size: 11px; }
  .hero .carousel-arrow { width: 32px; height: 32px; font-size: 14px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .units-grid, .ecosystem-flow, .pricing-grid { grid-template-columns: 1fr; }
  .diff-row { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .diff-vs { justify-self: center; }
  .diff-ai { text-align: center; }
  footer .container { flex-direction: column; gap: 16px; text-align: center; }
}

/* SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SOCIAL FABS */
.social-fabs { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.social-fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.3); transition: all 0.3s; cursor: pointer; border: none; }
.social-fab:hover { transform: scale(1.1); }
.social-fab svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-fab { background: #25D366; }
.whatsapp-fab:hover { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
.instagram-fab { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.linkedin-fab { background: #0A66C2; }
