/* JL Tech — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --blue: #1a56db;
  --blue-dark: #0f3a9e;
  --blue-light: #e8f0fe;
  --navy: #0a1628;
  --accent: #38bdf8;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --gray-mid: #e2e8f0;
  --text: #0f172a;
  --text2: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Syne', sans-serif; }

/* ===== NAV ===== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  animation: fadeDown 0.6s ease both;
}

.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--white); letter-spacing: -0.5px; text-decoration: none; }
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: 0.5rem 1.2rem; border-radius: 6px; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--blue-dark) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 7rem 5% 4rem;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(26,86,219,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(6,182,212,0.12) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 680px; animation: fadeUp 0.8s 0.2s ease both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56,189,248,0.1); border: 1px solid rgba(56,189,248,0.3);
  color: var(--accent); font-size: 0.8rem; font-weight: 500;
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem; letter-spacing: 0.3px;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }

.hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1.5px; }
.hero h1 span { color: var(--accent); }

.hero-desc { font-size: 1.15rem; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2.5rem; font-weight: 300; max-width: 520px; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white); text-decoration: none;
  padding: 0.85rem 1.8rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: rgba(255,255,255,0.8); text-decoration: none;
  padding: 0.85rem 1.8rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2); transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.hero-stats { display: flex; gap: 2.5rem; margin-top: 4rem; animation: fadeUp 0.8s 0.4s ease both; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--white); }
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-top: 2px; }

.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 420px; animation: fadeLeft 0.8s 0.4s ease both; }

.terminal { background: #0d1117; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: #161b22; border-bottom: 1px solid rgba(255,255,255,0.07); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #ffbd2e; } .dot-g { background: #27c840; }
.terminal-title { margin-left: auto; margin-right: auto; font-size: 11px; color: rgba(255,255,255,0.3); font-family: monospace; }
.terminal-body { padding: 20px; font-family: monospace; font-size: 13px; line-height: 1.8; }
.t-line { display: block; }
.t-prompt { color: #38bdf8; } .t-ok { color: #4ade80; } .t-info { color: #94a3b8; }
.t-cursor { display: inline-block; width: 8px; height: 14px; background: #38bdf8; animation: blink 1s infinite; vertical-align: middle; }

/* ===== SECTION BASE ===== */
section { padding: 5rem 5%; }

.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--text); line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 1rem; }
.section-sub { font-size: 1.05rem; color: var(--gray); line-height: 1.7; max-width: 560px; font-weight: 300; }

/* ===== PROBLEMAS ===== */
.problems { background: var(--gray-light); }

.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 3rem; }

.problem-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: 12px; padding: 1.5rem; transition: border-color 0.2s, transform 0.2s; }
.problem-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.problem-icon { width: 42px; height: 42px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.problem-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ===== SERVIÇOS ===== */
.services-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }

.service-card { border: 1px solid var(--gray-mid); border-radius: 14px; padding: 1.75rem; transition: all 0.25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s; }
.service-card:hover { border-color: transparent; box-shadow: 0 8px 30px rgba(26,86,219,0.12); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.5rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }
.service-items { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.service-tag { font-size: 0.75rem; background: var(--blue-light); color: var(--blue-dark); padding: 3px 10px; border-radius: 100px; }

/* ===== PLANOS ===== */
.plans { background: var(--gray-light); }
.plans-header { text-align: center; margin-bottom: 3rem; }
.plans-header .section-sub { margin: 0 auto; }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }

.plan-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: 16px; padding: 1.75rem; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,86,219,0.1); }
.plan-card.featured { border: 2px solid var(--blue); }

.plan-popular { display: inline-block; background: var(--blue-light); color: var(--blue-dark); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 100px; margin-bottom: 1rem; }

.plan-icon-wrap { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1rem; }
.pi-prata { background: #f1f5f9; } .pi-ouro { background: #fef3c7; } .pi-plat { background: var(--blue-light); }

.plan-name { font-size: 1.25rem; font-weight: 800; color: var(--text); margin-bottom: 0.2rem; }
.plan-desc { font-size: 0.82rem; color: var(--gray); margin-bottom: 1.25rem; font-weight: 300; }
.plan-divider { height: 1px; background: var(--gray-mid); margin-bottom: 1.25rem; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text2); line-height: 1.4; }
.plan-features li::before { content: '✓'; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.plan-features li.no::before { content: '–'; color: #cbd5e1; }
.plan-features li.no { color: #94a3b8; }
.li-prata::before { color: #64748b; } .li-ouro::before { color: #d97706; } .li-plat::before { color: var(--blue); }

.plan-cta { display: block; width: 100%; text-align: center; padding: 0.7rem; border-radius: 8px; font-size: 0.88rem; font-weight: 600; text-decoration: none; cursor: pointer; border: none; font-family: 'Syne', sans-serif; transition: opacity 0.15s, transform 0.15s; }
.plan-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.cta-prata-btn { background: var(--gray-light); color: var(--text); }
.cta-ouro-btn { background: #fef3c7; color: #92400e; }
.cta-plat-btn { background: var(--blue); color: var(--white); }

.avulso-bar { background: var(--white); border: 1px solid var(--gray-mid); border-radius: 14px; padding: 1.25rem 1.75rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.avulso-bar-icon { width: 46px; height: 46px; background: var(--gray-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.avulso-bar-text h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
.avulso-bar-text p { font-size: 0.83rem; color: var(--gray); line-height: 1.5; }
.avulso-bar-cta { margin-left: auto; }
.avulso-bar-cta a { display: inline-block; padding: 0.6rem 1.3rem; border: 1px solid var(--gray-mid); border-radius: 8px; font-size: 0.85rem; font-weight: 600; color: var(--text); text-decoration: none; font-family: 'Syne', sans-serif; transition: border-color 0.2s, color 0.2s; }
.avulso-bar-cta a:hover { border-color: var(--blue); color: var(--blue); }

/* ===== POR QUÊ NÓS ===== */
.why { background: var(--navy); color: var(--white); }
.why .section-title { color: var(--white); }
.why .section-sub { color: rgba(255,255,255,0.55); }
.why .section-tag { color: var(--accent); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }

.why-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 1.75rem; transition: background 0.2s, border-color 0.2s; }
.why-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(56,189,248,0.3); }
.why-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 0.75rem; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ===== CONTATO ===== */
.contact { background: var(--gray-light); }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }

.contact-info h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.contact-info p { font-size: 0.95rem; color: var(--gray); line-height: 1.7; margin-bottom: 2rem; }

.contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.contact-item-icon { width: 40px; height: 40px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-item-text { font-size: 0.9rem; color: var(--text2); }
.contact-item-text strong { display: block; font-size: 0.78rem; color: var(--gray); font-weight: 500; margin-bottom: 2px; }

.contact-form { background: var(--white); border: 1px solid var(--gray-mid); border-radius: 16px; padding: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text2); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--gray-mid); border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--white); transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-form { width: 100%; background: var(--blue); color: var(--white); border: none; padding: 0.9rem; border-radius: 8px; font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn-form:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 2.5rem 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--accent); }
.site-footer p { font-size: 0.82rem; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== ANIMATIONS ===== */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ===== MOBILE ===== */
@media (max-width: 900px) { .hero-visual { display: none; } }

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .avulso-bar-cta { margin-left: 0; }
}

@media (max-width: 600px) {
  nav.site-nav { padding: 1rem 4%; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,22,40,0.98); padding: 1rem 5%; gap: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 6rem 4% 3rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  section { padding: 3.5rem 4%; }
  .form-row { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
}
