:root {
  --green-dark: #1b8c1f;
  --green-light: #8fd14f;
  --teal: #16a085;
  --white: #ffffff;
  --black: #000000;
  --bg: #020202;
  --text-main: #f5f5f5;
  --text-muted: #c0c0c0;
  --card-bg: #111111;
  --border-subtle: #222222;
}

/* Reset básico */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* Layout base */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navegação */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #111;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-dark), var(--teal));
  color: var(--white);
  font-weight: 700;
}

.logo-text {
  font-weight: 500;
}

.logo-text strong {
  color: var(--green-light);
}

.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--green-light);
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--green-light);
  color: var(--green-light) !important;
}

/* Menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  background: radial-gradient(circle at top left, #104a11 0, #020202 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight {
  display: block;
  color: var(--green-light);
}

.hero-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-dark), var(--teal));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--green-light);
  border-color: var(--green-light);
}

.btn-secondary:hover {
  background: rgba(143, 209, 79, 0.1);
}

.hero-contact p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero-contact a {
  color: var(--green-light);
  text-decoration: none;
}

.hero-contact a:hover {
  text-decoration: underline;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-metric,
.card-stack {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.card-metric h3 {
  font-size: 1.6rem;
  color: var(--green-light);
  margin-bottom: 0.2rem;
}

.card-metric p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card-stack h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card-stack ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-stack li::before {
  content: "• ";
  color: var(--green-light);
}

/* Seções gerais */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #050505;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* Cards de serviços */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--green-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card ul {
  list-style: disc;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Como trabalhamos */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step {
  background: #090909;
  border-radius: 1rem;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border-subtle);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Casos / Benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
}

.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

.about-grid p {
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.about-highlight {
  background: #090909;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
}

.about-highlight h3 {
  margin-bottom: 0.6rem;
}

.about-highlight ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-main);
}

.about-highlight li {
  margin-bottom: 0.3rem;
}

.about-highlight li::before {
  content: "› ";
  color: var(--green-light);
}

/* Contato */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.contact-info a {
  color: var(--green-light);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.social-links span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.social-links a {
  margin-right: 0.9rem;
  color: var(--green-light);
  text-decoration: none;
  font-weight: 500;
}

.social-links a:hover {
  text-decoration: underline;
}

/* Formulário */
.contact-form {
  background: #090909;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #333;
  background: #050505;
  color: var(--text-main);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
}

.btn-full {
  width: 100%;
  margin-top: 0.3rem;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Rodapé */
.footer {
  border-top: 1px solid #111;
  padding: 1.4rem 0;
  background: #020202;
}

.footer-content {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsividade */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 1.5rem;
    top: 64px;
    background: #050505;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    border: 1px solid #111;
    gap: 0.7rem;
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .cards-grid,
  .steps-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }
}
