:root {
  --bg: #030805;
  --bg-2: #07110a;
  --bg-3: #0b1810;
  --card: #08120b;
  --card-2: #0c1810;
  --text: #f3fff6;
  --muted: #97b59e;
  --line: rgba(68, 255, 128, 0.12);
  --primary: #39ff6a;
  --primary-dark: #15b543;
  --primary-soft: rgba(57, 255, 106, 0.08);
  --danger: #ff5e5e;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
  --radius: 26px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(57, 255, 106, 0.08), transparent 20%),
    radial-gradient(circle at top left, rgba(57, 255, 106, 0.04), transparent 18%),
    linear-gradient(180deg, #010302 0%, #030805 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 255, 106, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 106, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.24;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(3, 8, 5, 0.82);
  border-bottom: 1px solid rgba(57, 255, 106, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.marca-icone {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(57, 255, 106, 0.12), rgba(57, 255, 106, 0.03));
  border: 1px solid rgba(57, 255, 106, 0.18);
  box-shadow: 0 0 24px rgba(57, 255, 106, 0.12);
  overflow: hidden;
  flex-shrink: 0;
}

.marca-icone img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}

.marca-texto {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.marca-texto strong {
  font-size: 1rem;
  color: var(--text);
}

.marca-texto span {
  font-size: 0.82rem;
  color: var(--muted);
}

.menu {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--muted);
  font-weight: 500;
  transition: 0.2s ease;
}

.menu a:hover {
  color: var(--primary);
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 106, 0.2);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #021006;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(21, 181, 67, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(21, 181, 67, 0.26);
  filter: brightness(1.03);
}

.botao-secundario {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: rgba(57, 255, 106, 0.16);
  box-shadow: none;
}

.botao-secundario:hover {
  background: rgba(57, 255, 106, 0.06);
}

.botao-header {
  white-space: nowrap;
  padding: 12px 22px;
}

.hero {
  padding: 82px 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.selo,
.mini-titulo {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--primary);
  background: rgba(57, 255, 106, 0.06);
  border: 1px solid rgba(57, 255, 106, 0.14);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -1.8px;
  max-width: 780px;
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(57, 255, 106, 0.14);
}

.hero-subtexto {
  margin-top: 20px;
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-botoes {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-info {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-info-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
  box-shadow: var(--shadow-soft);
}

.hero-info-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.hero-info-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 32px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(57, 255, 106, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(57, 255, 106, 0.14);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  background: #000;
}

.hero-flutuante {
  position: absolute;
  left: -18px;
  bottom: 26px;
  max-width: 290px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(3, 8, 5, 0.94);
  border: 1px solid rgba(57, 255, 106, 0.14);
  box-shadow: var(--shadow);
}

.hero-flutuante strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
}

.hero-flutuante span {
  color: var(--muted);
  font-size: 0.94rem;
}

.secao {
  padding: 78px 0;
}

.secao-topo {
  margin-bottom: 28px;
}

.secao-topo h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -1px;
}

.secao-topo p {
  margin-top: 10px;
  max-width: 740px;
  color: var(--muted);
}

.faixa-destaque {
  padding-top: 8px;
  padding-bottom: 8px;
}

.faixa-destaque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.destaque-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
  box-shadow: var(--shadow-soft);
}

.destaque-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.06rem;
  color: var(--text);
}

.destaque-card span {
  color: var(--muted);
}

.cards-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card-servico,
.projeto-card,
.sobre-box,
.cta-box,
.sobre-foto-card,
.sistema-card,
.sistema-box {
  box-shadow: var(--shadow-soft);
}

.card-servico {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card-servico:hover,
.projeto-card:hover,
.sistema-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 106, 0.22);
}

.icone {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-weight: 900;
  color: var(--primary);
  background: rgba(57, 255, 106, 0.06);
  border: 1px solid rgba(57, 255, 106, 0.14);
}

.card-servico h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.card-servico p {
  color: var(--muted);
}

.secao-escura {
  background: linear-gradient(180deg, rgba(57, 255, 106, 0.02), rgba(255, 255, 255, 0.01));
  border-top: 1px solid rgba(57, 255, 106, 0.06);
  border-bottom: 1px solid rgba(57, 255, 106, 0.06);
}

.sistema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sistema-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sistema-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.sistema-conteudo {
  padding: 22px;
}

.sistema-conteudo h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.sistema-conteudo p {
  color: var(--muted);
}

.sistema-box {
  margin-top: 24px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(57, 255, 106, 0.08), transparent 22%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.12);
}

.sistema-box h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 10px;
}

.sistema-box p {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.projeto-card {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.projeto-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.projeto-conteudo {
  padding: 24px;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(57, 255, 106, 0.06);
  border: 1px solid rgba(57, 255, 106, 0.14);
}

.projeto-conteudo h3 {
  font-size: 1.34rem;
  margin-bottom: 10px;
}

.projeto-conteudo p {
  color: var(--muted);
}

.projeto-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.projeto-acoes a {
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(57, 255, 106, 0.12);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.projeto-acoes a:hover {
  color: var(--primary);
  border-color: rgba(57, 255, 106, 0.24);
  background: rgba(57, 255, 106, 0.05);
}

.secao-sobre {
  padding-top: 56px;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.sobre-texto h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.sobre-texto p {
  margin-top: 14px;
  max-width: 680px;
  color: var(--muted);
}

.sobre-lateral {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sobre-foto-card {
  min-height: 300px;
  padding: 16px;
  border-radius: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
}

.sobre-foto {
  width: 100%;
  max-width: 260px;
  height: 250px;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  margin: 0 auto;
}

.sobre-box {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.1);
}

.sobre-item + .sobre-item {
  margin-top: 14px;
}

.sobre-item {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.08);
}

.sobre-item strong {
  display: block;
  margin-bottom: 4px;
}

.sobre-item span {
  color: var(--muted);
}

.secao-cta {
  padding-top: 56px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(57, 255, 106, 0.1), transparent 24%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(57, 255, 106, 0.12);
}

.cta-box h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.cta-box p {
  margin-top: 12px;
  max-width: 680px;
  color: var(--muted);
}

.cta-botoes {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.rodape {
  padding: 28px 0 42px;
}

.rodape-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(57, 255, 106, 0.08);
  padding-top: 24px;
}

.rodape-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.rodape-links a:hover {
  color: var(--primary);
}

.rodape-links a:not(:last-child)::after {
  content: " | ";
  margin: 0 8px;
  color: var(--muted);
}

.whatsapp-fixo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #18a64a);
  color: #fff;
  box-shadow: 0 18px 32px rgba(24, 166, 74, 0.3);
  z-index: 120;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fixo:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 36px rgba(24, 166, 74, 0.38);
}

.whatsapp-fixo svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .faixa-destaque-grid,
  .cards-servicos,
  .sistema-grid,
  .portfolio-grid,
  .sobre-grid,
  .cta-box,
  .hero-info {
    grid-template-columns: 1fr;
  }

  .cta-botoes {
    justify-content: flex-start;
  }

  .sobre-lateral {
    max-width: 420px;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
    min-height: auto;
  }

  .menu {
    justify-content: center;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-flutuante {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  .rodape-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .topo {
    background: rgba(3, 8, 5, 0.92);
  }

  .nav {
    flex-direction: row;
    min-height: 68px;
    padding: 10px 0;
    gap: 12px;
  }

  .menu {
    display: none;
  }

  .botao-header {
    padding: 9px 14px;
    font-size: 0.9rem;
  }

  .marca-texto span {
    display: none;
  }

  .marca-texto strong {
    font-size: 0.95rem;
  }

  .marca-icone {
    width: 44px;
    height: 44px;
  }

  .sobre-foto {
    max-width: 240px;
    height: 230px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .secao-topo h2,
  .sobre-texto h2,
  .cta-box h2,
  .sistema-box h3 {
    font-size: 2rem;
  }

  .hero-botoes,
  .cta-botoes {
    flex-direction: column;
  }

  .hero-botoes .botao,
  .cta-botoes .botao {
    width: 100%;
  }

  .botao-header {
    width: auto;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .marca {
    gap: 10px;
  }

  .marca-icone {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .marca-texto strong {
    font-size: 0.9rem;
  }

  .whatsapp-fixo {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-fixo svg {
    width: 24px;
    height: 24px;
  }
}
.imagem-expansivel {
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: block;
  overflow: hidden;
}

.imagem-expansivel img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.imagem-expansivel:hover img {
  transform: scale(1.03);
  filter: brightness(0.82);
}

.imagem-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(3, 8, 5, 0.84);
  border: 1px solid rgba(57, 255, 106, 0.18);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.imagem-expansivel:hover .imagem-overlay {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.ativo {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox-conteudo {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  max-height: 90vh;
  padding: 18px;
  border-radius: 28px;
  background: #050805;
  border: 1px solid rgba(57, 255, 106, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-conteudo img {
  width: 100%;
  max-height: calc(90vh - 36px);
  object-fit: contain;
  border-radius: 18px;
  background: #000;
}

.lightbox-fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(57, 255, 106, 0.18);
  border-radius: 50%;
  background: rgba(3, 8, 5, 0.9);
  color: var(--primary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-fechar:hover {
  transform: scale(1.06);
  background: rgba(57, 255, 106, 0.08);
}

@media (max-width: 768px) {
  .imagem-overlay {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.84rem;
    min-height: 38px;
    padding: 8px 12px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-conteudo {
    padding: 12px;
    border-radius: 20px;
  }

  .lightbox-fechar {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }
}