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

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --bg3: #13131f;
  --primary: #7c3aed;
  --primary-light: #9d5cf6;
  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(124, 58, 237, 0.25);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-purple: 0 0 40px rgba(124, 58, 237, 0.3);
  --shadow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { margin-top: 1rem; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.section-title-row .tag {
  margin-bottom: 0;
  transform: translateY(-0.08em);
}
.section-title-row h2 {
  line-height: 1.15;
}

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

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6); }
.btn-outline { background: transparent; color: var(--secondary); border: 1.5px solid var(--secondary); }
.btn-outline:hover { background: rgba(6, 182, 212, 0.1); transform: translateY(-2px); box-shadow: var(--shadow-cyan); }
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6); }

/* ===== NAVBAR ===== */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.2rem 0; transition: var(--transition); }
#navbar.scrolled { background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); padding: 0.8rem 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 800; background: linear-gradient(135deg, var(--primary-light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--secondary); transition: var(--transition); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: 0.6rem 1.4rem; font-size: 0.85rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
#particles-canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(124, 58, 237, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px); background-size: 60px 60px; z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(124, 58, 237, 0.4); padding: 0.5rem 1.2rem; border-radius: 100px; font-size: 0.85rem; color: var(--primary-light); margin-bottom: 1.5rem; animation: fadeInDown 0.6s ease; }
.hero-badge .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
.hero-title { margin-bottom: 0.5rem; animation: fadeInUp 0.7s ease 0.1s both; }
.hero-subtitle { font-size: clamp(1.1rem, 2.5vw, 1.5rem); color: var(--text-muted); margin-bottom: 1.5rem; animation: fadeInUp 0.7s ease 0.2s both; }
.hero-desc { font-size: 1.05rem; max-width: 560px; margin-bottom: 2.5rem; animation: fadeInUp 0.7s ease 0.3s both; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeInUp 0.7s ease 0.4s both; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3.5rem; animation: fadeInUp 0.7s ease 0.5s both; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--primary-light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-stat span { font-size: 0.85rem; color: var(--text-muted); }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-muted); font-size: 0.75rem; animation: bounce 2s infinite; }
.scroll-indicator i { font-size: 1.2rem; }

/* ===== ABOUT ===== */
#sobre { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-avatar { width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, var(--bg3), var(--bg)); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; font-size: 8rem; position: relative; overflow: hidden; }
.about-avatar::before { content: ''; position: absolute; inset: -2px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: calc(var(--radius) + 2px); z-index: -1; opacity: 0.5; }
.about-badge { position: absolute; bottom: -1rem; right: -1rem; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 0.8rem 1.2rem; border-radius: var(--radius); font-weight: 700; font-size: 0.85rem; text-align: center; box-shadow: var(--shadow-purple); }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.5rem; }
.skills-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.skill-header { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.9rem; font-weight: 600; }
.skill-bar { height: 6px; background: var(--glass-border); border-radius: 3px; overflow: hidden; }
.skill-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--secondary)); width: 0; transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); }
.capabilities-list { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.capability-item { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; }
.capability-item i { width: 36px; height: 36px; border-radius: 10px; background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.25); color: var(--secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.capability-item strong { display: block; font-size: 0.92rem; margin-bottom: 0.25rem; color: var(--text); }
.capability-item span { display: block; font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); }

/* ===== AUDIENCE & SIGNALS ===== */
#para-quem { background: var(--bg); }
#sinais { background: var(--bg2); }
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.audience-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1.6rem; transition: var(--transition); }
.audience-card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.35); }
.audience-card i { width: 44px; height: 44px; border-radius: 12px; background: rgba(6,182,212,0.12); border: 1px solid rgba(6,182,212,0.25); color: var(--secondary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.05rem; margin-bottom: 0.55rem; }
.audience-card p { font-size: 0.9rem; line-height: 1.6; }
.signals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0.9rem; }
.signal-item { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.1rem; border-radius: 12px; background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border); }
.signal-item i { color: #4ade80; margin-top: 0.2rem; }
.signal-item span { color: var(--text-muted); font-size: 0.92rem; line-height: 1.55; }
.proof-strip { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.2rem 1.4rem; border-radius: 14px; background: rgba(124,58,237,0.07); border: 1px solid rgba(124,58,237,0.22); }
.proof-strip strong { color: var(--text); }
.proof-strip span { color: var(--text-muted); flex: 1; min-width: 260px; }
.proof-strip a { color: var(--secondary); font-weight: 700; font-size: 0.9rem; }

/* ===== PORTFOLIO ===== */
#portfolio { background: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.project-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); backdrop-filter: blur(10px); }
.project-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--shadow-purple); }
.project-thumb { height: 180px; background: linear-gradient(135deg, var(--bg3), var(--bg2)); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; position: relative; overflow: hidden; }
.project-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(10,10,15,0.8)); }
.project-body { padding: 1.5rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.8rem; }
.project-tag { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 100px; background: rgba(124, 58, 237, 0.15); color: var(--primary-light); border: 1px solid rgba(124, 58, 237, 0.3); }
.project-body h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.project-body p { font-size: 0.9rem; margin-bottom: 1.2rem; }
.project-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--secondary); transition: var(--transition); }
.project-link:hover { gap: 0.7rem; }
.case-proof { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: -0.2rem 0 1rem; }
.case-proof span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--secondary); background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.22); border-radius: 100px; padding: 0.22rem 0.55rem; }

/* ===== SERVICES ===== */
#servicos { background: var(--bg2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 2rem; transition: var(--transition); backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); transform: scaleX(0); transition: var(--transition); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, 0.4); }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.2)); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.2rem; color: var(--secondary); }
.service-card h3 { margin-bottom: 0.6rem; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; }
.service-cta { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.1rem; color: var(--secondary); font-size: 0.85rem; font-weight: 700; transition: var(--transition); }
.service-cta:hover { gap: 0.65rem; color: var(--secondary-light); }

/* ===== PROCESS ===== */
#processo { background: var(--bg); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.process-step { position: relative; background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 2rem; overflow: hidden; transition: var(--transition); }
.process-step:hover { transform: translateY(-4px); border-color: rgba(6, 182, 212, 0.35); box-shadow: var(--shadow-cyan); }
.process-number { position: absolute; top: 1rem; right: 1.2rem; font-family: 'Space Grotesk', sans-serif; font-size: 2.8rem; font-weight: 900; line-height: 1; color: rgba(255,255,255,0.045); }
.process-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(6,182,212,0.18)); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 1.2rem; margin-bottom: 1.2rem; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.9rem; line-height: 1.65; }
.diagnostic-strip { margin-top: 2rem; padding: 2rem; border-radius: 18px; border: 1px solid rgba(6,182,212,0.25); background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.06)); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.diagnostic-strip .tag { margin-bottom: 0.8rem; }
.diagnostic-strip h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.diagnostic-strip p { max-width: 680px; font-size: 0.95rem; }

/* ===== PRICING ===== */
#precos { background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.primary-offer { margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border-radius: 18px; border: 1px solid rgba(124,58,237,0.32); background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(6,182,212,0.06)); box-shadow: 0 18px 50px rgba(124,58,237,0.12); }
.primary-offer .tag { margin-bottom: 0.75rem; }
.primary-offer h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.primary-offer p { max-width: 680px; font-size: 0.95rem; }
.price-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 2rem; transition: var(--transition); backdrop-filter: blur(10px); position: relative; }
.price-card.featured { border-color: var(--primary); background: rgba(124, 58, 237, 0.08); box-shadow: var(--shadow-purple); }
.price-card.featured::before { content: 'MAIS POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; padding: 0.3rem 1rem; border-radius: 100px; white-space: nowrap; }
.price-card:hover { transform: translateY(-4px); }
.price-icon { font-size: 2rem; margin-bottom: 1rem; }
.price-card h3 { margin-bottom: 0.5rem; }
.price-range { font-size: 1.6rem; font-weight: 800; background: linear-gradient(135deg, var(--primary-light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0.8rem 0; }
.price-card p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.price-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.price-features li i { color: var(--secondary); font-size: 0.8rem; }

/* ===== CONTACT ===== */
#contato { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 12px; transition: var(--transition); }
.contact-item:hover { border-color: var(--primary); }
.contact-item i { width: 40px; height: 40px; background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--secondary); font-size: 1rem; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--text); }
.contact-item-text span { font-size: 0.8rem; color: var(--text-muted); }
.contact-form { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 2.5rem; backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border); border-radius: 10px; padding: 0.85rem 1rem; color: var(--text); font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.form-group select option { background: var(--bg3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; justify-content: center; padding: 1rem; font-size: 1rem; }
.form-success { display: none; text-align: center; padding: 2rem; color: #22c55e; }
.form-success i { font-size: 3rem; margin-bottom: 1rem; display: block; }

/* ===== FAQ ===== */
#faq { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.faq-item { background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border); border-radius: 14px; padding: 1.4rem; transition: var(--transition); }
.faq-item:hover { border-color: rgba(124,58,237,0.35); transform: translateY(-3px); }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.55rem; }
.faq-item p { font-size: 0.9rem; line-height: 1.65; }

/* ===== FOOTER ===== */
footer { background: var(--bg3); border-top: 1px solid var(--glass-border); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: 0.8rem; font-size: 0.9rem; max-width: 280px; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 800; background: linear-gradient(135deg, var(--primary-light), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-col h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.85rem; }
.social-links { display: flex; gap: 0.8rem; }
.social-link { width: 38px; height: 38px; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.visit-counter { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-muted); background: var(--glass); border: 1px solid var(--glass-border); padding: 0.5rem 1rem; border-radius: 100px; }
.visit-counter i { color: var(--secondary); }
#visit-count { font-weight: 700; color: var(--secondary); }

/* ===== SERVICE LANDING PAGES ===== */
.service-page-hero { min-height: auto; padding: 9rem 0 4rem; background: radial-gradient(circle at top left, rgba(124,58,237,0.16), transparent 35%), var(--bg); }
.service-page-hero .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 3rem; align-items: center; }
.service-page-copy h1 { margin-bottom: 1rem; }
.service-page-copy p { max-width: 640px; font-size: 1.05rem; margin-bottom: 1.5rem; }
.service-page-panel { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 18px; padding: 1.5rem; }
.service-page-panel h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.service-page-panel ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.service-page-panel li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-muted); font-size: 0.9rem; }
.service-page-panel li i { color: #4ade80; margin-top: 0.2rem; }
.service-content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.service-content-card { background: rgba(255,255,255,0.025); border: 1px solid var(--glass-border); border-radius: 14px; padding: 1.4rem; }
.service-content-card h3 { font-size: 1rem; margin-bottom: 0.55rem; }
.service-content-card p { font-size: 0.9rem; line-height: 1.65; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 75%; max-width: 320px; height: 100vh; background: rgba(13, 13, 26, 0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; gap: 2rem; padding: 2rem; transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); border-left: 1px solid var(--glass-border); }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { display: flex; justify-content: center; }
  .about-avatar { max-width: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 1.5rem; }
  .capabilities-list { grid-template-columns: 1fr; }
  .diagnostic-strip { flex-direction: column; align-items: flex-start; }
  .diagnostic-strip .btn { width: 100%; justify-content: center; }
  .primary-offer { flex-direction: column; align-items: flex-start; }
  .primary-offer .btn { width: 100%; justify-content: center; }
  .service-page-hero .container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .section-title-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ===== PRICING CATEGORIES ===== */
.pricing-category {
  margin-bottom: 3.5rem;
}

.pricing-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pricing-category-header h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.pricing-category-header p {
  font-size: 0.85rem;
}

.pricing-grid-single {
  grid-template-columns: minmax(280px, 480px) !important;
}

/* Price card top row */
.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.price-badge-deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.25);
  white-space: nowrap;
}

/* Estimated label */
.price-estimated-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  opacity: 0.7;
}

/* Price CTA link */
.price-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 1.5rem;
  transition: var(--transition);
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
  width: 100%;
}
.price-cta:hover { gap: 0.7rem; color: var(--secondary-light); }

/* Disclaimer */
.pricing-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin-top: 1rem;
}
.pricing-disclaimer i {
  color: var(--primary-light);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.pricing-disclaimer p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.pricing-disclaimer strong { color: var(--text); }
.pricing-disclaimer a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.pricing-disclaimer a:hover { color: var(--secondary-light); }

/* ===== GENERAL POLISH ===== */

/* Stronger section dividers */
#sobre, #servicos, #contato { position: relative; }
#sobre::before, #servicos::before, #contato::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), transparent);
}

/* Better hero gradient overlay */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 0;
  pointer-events: none;
}

/* Glow on featured card */
.price-card.featured {
  box-shadow: 0 0 0 1px var(--primary), 0 20px 60px rgba(124,58,237,0.2);
}

/* Optgroup styling */
select optgroup { font-weight: 700; color: var(--secondary); }

/* Better contact item hover */
.contact-item { cursor: default; }
.contact-item a { color: inherit; }

/* Smooth price card hover */
.price-card:hover {
  box-shadow: 0 12px 40px rgba(124,58,237,0.15);
}

/* ===== HERO STATS FIX ===== */
.hero-stat strong {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 1px;
}

/* ===== ABOUT AVATAR CARD ===== */
.about-avatar-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--bg3) 0%, var(--bg2) 100%);
  border: 1px solid var(--glass-border);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  z-index: -1;
  opacity: 0.35;
}

.avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.avatar-svg {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(124,58,237,0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Floating badges on avatar */
.avatar-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  backdrop-filter: blur(15px);
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.badge-top {
  top: 0.9rem;
  left: 0.65rem;
  font-size: 0.72rem;
  padding: 0.45rem 0.7rem;
  gap: 0.3rem;
  background: rgba(124, 58, 237, 0.55);
  border: 1.5px solid rgba(157, 92, 246, 0.8);
  color: #fff;
  animation: floatBadge1 3s ease-in-out infinite;
}

.badge-bottom {
  bottom: 4.5rem;
  right: 0.8rem;
  background: rgba(6, 182, 212, 0.55);
  border: 1.5px solid rgba(34, 211, 238, 0.8);
  color: #fff;
  animation: floatBadge2 3.5s ease-in-out infinite;
}

@keyframes floatBadge1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-6px) rotate(-2deg); }
}
@keyframes floatBadge2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

/* UNIFEI badge — reescrito */
.about-badge {
  position: absolute;
  bottom: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 30px rgba(124,58,237,0.5);
  white-space: nowrap;
}
.about-badge i { font-size: 1rem; }
.about-badge strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.about-badge span { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.85; }

/* Adjust about section spacing for new badge */
.about-image-wrap {
  padding-bottom: 2rem;
}

/* ===== SERVICE CARD — VISÃO COMPUTACIONAL ===== */
.service-card-highlight {
  border-color: rgba(34,197,94,0.3);
  background: rgba(34,197,94,0.04);
  position: relative;
}
.service-card-highlight::before {
  background: linear-gradient(90deg, #22c55e, #06b6d4) !important;
}
.service-card-highlight:hover {
  border-color: rgba(34,197,94,0.5);
  box-shadow: 0 0 30px rgba(34,197,94,0.15);
}

.service-icon-vision {
  background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(6,182,212,0.2)) !important;
  border-color: rgba(34,197,94,0.3) !important;
  color: #4ade80 !important;
}

.service-new-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.service-features-mini {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.service-features-mini li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.service-features-mini li i {
  color: #4ade80;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ===== ABOUT TIMELINE ===== */
.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.8rem 0 2rem;
  padding-left: 0.5rem;
  border-left: 2px solid var(--glass-border);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0 0.9rem 1.2rem;
  position: relative;
  transition: var(--transition);
}

.timeline-item:hover .timeline-content {
  transform: translateX(4px);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  position: absolute;
  left: -7px;
  top: 1.15rem;
  box-shadow: 0 0 10px currentColor;
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: var(--transition);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.timeline-content strong {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 700;
}

.timeline-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== HERO IMPROVEMENTS ===== */

/* Radial glow behind hero text */
#hero .hero-content::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Hero title bigger glow */
.hero-title .gradient-text {
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(124,58,237,0.4));
}

/* Hero badge pulse ring */
.hero-badge {
  box-shadow: 0 0 0 0 rgba(124,58,237,0.3);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(124,58,237,0); }
}

/* ===== SECTION HEADERS IMPROVEMENT ===== */
.section-header h2 {
  position: relative;
  display: inline-block;
}

/* ===== PORTFOLIO CARDS IMPROVEMENT ===== */
.project-thumb {
  background: linear-gradient(135deg, #0f0f1a 0%, #13131f 100%);
  border-bottom: 1px solid var(--glass-border);
}

/* Colored top accent per card */
.project-card:nth-child(1) { border-top: 2px solid var(--primary); }
.project-card:nth-child(2) { border-top: 2px solid var(--secondary); }
.project-card:nth-child(3) { border-top: 2px solid #f59e0b; }
.project-card:nth-child(4) { border-top: 2px solid #22c55e; }

/* ===== SERVICES GRID IMPROVEMENT ===== */
.service-card {
  position: relative;
}

/* Numbered indicator */
.service-card:nth-child(1)::after,
.service-card:nth-child(2)::after,
.service-card:nth-child(3)::after,
.service-card:nth-child(4)::after,
.service-card:nth-child(5)::after,
.service-card:nth-child(6)::after {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'Space Grotesk', sans-serif;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
}
.service-card:nth-child(1)::after { content: '01'; }
.service-card:nth-child(2)::after { content: '02'; }
.service-card:nth-child(3)::after { content: '03'; }
.service-card:nth-child(4)::after { content: '04'; }
.service-card:nth-child(5)::after { content: '05'; }
.service-card:nth-child(6)::after { content: '06'; }

/* ===== FOOTER IMPROVEMENT ===== */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

/* ===== NAVBAR LOGO GLOW ===== */
.nav-logo {
  transition: var(--transition);
}
.nav-logo:hover {
  filter: drop-shadow(0 0 12px rgba(124,58,237,0.6));
}

/* ===== CONTACT ITEMS IMPROVEMENT ===== */
.contact-item i {
  transition: var(--transition);
}
.contact-item:hover i {
  transform: scale(1.15);
  color: var(--primary-light);
}

/* ===== PRICING CATEGORY IMPROVEMENT ===== */
.pricing-category {
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
}

.pricing-category-header {
  border-bottom-color: rgba(255,255,255,0.06);
}

/* ===== SCROLL INDICATOR IMPROVEMENT ===== */
.scroll-indicator {
  opacity: 0.5;
  transition: opacity 0.3s;
}
.scroll-indicator:hover { opacity: 1; }

/* ===== MOBILE ABOUT TIMELINE ===== */
@media (max-width: 768px) {
  .about-timeline { margin: 1.2rem 0 1.5rem; }
}

/* ===== LOGO IMAGE ===== */
.nav-logo {
  display: flex;
  align-items: center;
  background: none !important;
  -webkit-text-fill-color: unset !important;
}

.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 8px rgba(124,58,237,0.35));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.nav-logo-img:hover {
  filter: drop-shadow(0 0 14px rgba(124,58,237,0.65));
  transform: scale(1.04);
}

#navbar.scrolled .nav-logo-img {
  height: 36px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(124,58,237,0.3));
  margin-bottom: 0.8rem;
  transition: filter 0.3s ease;
}

.footer-logo-img:hover {
  filter: drop-shadow(0 0 16px rgba(124,58,237,0.55));
}

/* ===== ABOUT PHOTO ===== */
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 22px;
  display: block;
  position: relative;
  z-index: 1;
}

/* O card agora tem altura fixa para a foto preencher bem */
.about-avatar-card {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about-avatar-card .avatar-inner {
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
}

/* Badges ficam sobre a foto */
.avatar-float-badge {
  z-index: 2;
}
