*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0c10; --surface: #111318; --surface2: #181c24;
  --border: rgba(255,255,255,0.07); --accent: #3b82f6;
  --accent-dim: rgba(59,130,246,0.12); --text: #f0f2f5;
  --muted: #8a93a6; --muted2: #4f5668;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.65; min-height: 100vh; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 60px;
  background: rgba(10,12,16,0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
nav ul { display: flex; gap: 2rem; list-style: none; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
nav a:hover { color: var(--text); }
.nav-cta { background: var(--accent); color: #fff !important; padding: 0.45rem 1rem; border-radius: 6px; font-weight: 500; font-size: 0.875rem; }
.nav-cta:hover { background: #2563eb !important; }

.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 2rem 4rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.11) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent-dim); border: 1px solid rgba(59,130,246,0.3);
  color: #93c5fd; border-radius: 99px; font-size: 0.8rem; font-weight: 500;
  padding: 0.3rem 0.85rem; margin-bottom: 1.75rem;
}
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 1.25rem; max-width: 720px;
}
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 0.75rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: #2563eb; transform: translateY(-1px); }
.btn-ghost { background: var(--surface2); color: var(--text); padding: 0.75rem 1.75rem; border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 0.95rem; border: 1px solid var(--border); transition: background 0.2s, transform 0.15s; }
.btn-ghost:hover { background: var(--surface); transform: translateY(-1px); }

section { padding: 5rem 2rem; }
.container { max-width: 960px; margin: 0 auto; }
.section-label { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.75rem; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 540px; margin-bottom: 3rem; }

#servicos { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; transition: border-color 0.2s, transform 0.2s; }
.service-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-3px); }
.service-icon { width: 44px; height: 44px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 1.1rem; }
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.88rem; color: var(--muted); }

#orcamento { background: var(--bg); }
.form-wrap { max-width: 680px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.83rem; font-weight: 500; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.65rem 0.9rem;
  color: var(--text); font-size: 0.9rem; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.2s;
  appearance: none; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: rgba(59,130,246,0.5); }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a93a6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem; }
.form-group select option { background: var(--surface2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-btn {
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  padding: 0.8rem 2rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600;
  font-family: 'Inter', sans-serif; transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
.form-btn:hover { background: #2563eb; transform: translateY(-1px); }
.form-btn:disabled { background: var(--muted2); cursor: not-allowed; transform: none; }
.form-success {
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: #86efac; border-radius: 10px; padding: 1.25rem 1.5rem;
  font-size: 0.95rem; margin-top: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; }

#sobre { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
@media (max-width: 680px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.about-text p { color: var(--muted); margin-bottom: 1rem; font-size: 0.95rem; }
.values-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.5rem; }
.value-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.value-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 0.45rem; }
.value-item strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.value-item p { font-size: 0.85rem; color: var(--muted); margin: 0; }
.stack-block { margin-top: 2rem; }
.stack-label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 0.75rem; }
.stack-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stack-tag { background: var(--surface2); border: 1px solid var(--border); border-radius: 6px; padding: 0.3rem 0.7rem; font-size: 0.8rem; color: var(--muted); }
.about-cards { display: flex; flex-direction: column; gap: 1rem; }
.about-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.5rem; }
.about-card-title { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; }
.about-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

#contato { background: var(--bg); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 3rem; text-align: center; max-width: 600px; margin: 0 auto; }
.contact-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact-card p { color: var(--muted); margin-bottom: 2rem; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.contact-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: border-color 0.2s, transform 0.15s; }
.contact-link:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-2px); }

footer { text-align: center; padding: 2.5rem; border-top: 1px solid var(--border); color: var(--muted2); font-size: 0.82rem; }

@media (max-width: 600px) { nav ul { display: none; } }
