:root {
  --bg: #0b0f17;
  --bg-alt: #101624;
  --surface: #161d2e;
  --surface-2: #1d2740;
  --border: #24304d;
  --text: #e8edf7;
  --muted: #9aa7c0;
  --accent: #22c55e;
  --accent-strong: #4ade80;
  --accent-2: #3b82f6;
  --green: #34d399;
  --red: #f87171;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1080px, 92%);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0f17;
  font-weight: 800;
  font-size: 18px;
}

.brand-text { font-size: 18px; }
.brand-text strong { color: var(--accent); font-weight: 800; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("foto.png");
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.85);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(600px 320px at 85% 0%, rgba(34, 197, 94, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(11, 15, 23, 0.45) 0%, rgba(11, 15, 23, 0.68) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 96px 0 112px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-wrap: balance;
}

.accent { color: var(--accent); }

.hero-subtitle {
  margin: 22px auto 32px;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.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: 44px 44px;
  mask-image: radial-gradient(700px 400px at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* ---------- Fundo ilustrativo: Produtos em destaque ---------- */
#produtos {
  position: relative;
  overflow: hidden;
}
#produtos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("foto_corrugado_escura.png");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
}
#produtos::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(620px 320px at 12% 100%, rgba(34, 197, 94, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(11, 15, 23, 0.78) 0%, rgba(11, 15, 23, 0.42) 50%, rgba(11, 15, 23, 0.88) 100%);
}
#produtos > .container {
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--accent-2);
  color: #fff;
}

.btn-primary:hover { box-shadow: 0 6px 22px rgba(59, 130, 246, 0.45); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { text-align: center; margin-bottom: 48px; }

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--muted);
  margin-top: 10px;
  font-size: 16px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.28);
  font-size: 20px;
}

.badge {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.badge-ativo { background: rgba(52, 211, 153, 0.14); color: var(--green); border: 1px solid rgba(52, 211, 153, 0.35); }
.badge-em-melhoria { background: rgba(34, 197, 94, 0.14); color: var(--accent); border: 1px solid rgba(34, 197, 94, 0.35); }
.badge-beta { background: rgba(148, 163, 184, 0.14); color: var(--muted); border: 1px solid rgba(148, 163, 184, 0.35); }

.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.3px; }

.card .card-tagline { color: var(--accent); font-size: 14px; font-weight: 500; margin: 6px 0 12px; }

.card-description { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.card-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.card-features li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 13.5px;
}

.card-features li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 700;
}

.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.tag {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.card .btn { margin-top: auto; }

.loading { grid-column: 1 / -1; color: var(--muted); text-align: center; }

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.about-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.about-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--accent); }
.about-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Experiência: cards / botões flutuantes ---------- */
.experience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.experience-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.experience-pill::before {
  content: "◆";
  font-size: 9px;
  color: var(--accent);
}

.experience-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.55);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(59, 130, 246, 0.08));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 197, 94, 0.18);
  cursor: default;
}

/* ---------- Contato ---------- */
.contact { text-align: center; }

.contact-links { margin-top: 26px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-tag { font-family: var(--mono); }
.footer-tag span { color: var(--accent); }

/* ---------- Responsivo ---------- */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .hero-inner { padding: 64px 0 80px; }
  .section { padding: 64px 0; }
  .footer-inner { justify-content: center; text-align: center; }
}