:root {
  --verde-neon: #00FF48;
  --fundo-escuro: #1B003D;
  --texto-claro: #eee;
  --roxo-escuro: #12002F;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--fundo-escuro);
  color: white;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* NAVBAR */
.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--fundo-escuro);
  padding: 20px;
  border-bottom: 1px solid var(--fundo-escuro);
}
.logo {
  width: 130px;
  margin-bottom: 10px;
}
.menu-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.menu-links a {
  color: var(--verde-neon);
  border: 2px solid var(--verde-neon);
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: bold;
  transition: 0.3s;
}
.menu-links a:hover {
  background-color: var(--verde-neon);
  color: #000;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color: var(--verde-neon);
  border: none;
  cursor: pointer;
}

/* HERO BANNER */
.hero-servicos {
  height: 60vh;
  background: url('/img/governo\ digital.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-content {
  text-align: center;
  animation: fadeInUp 1s ease forwards;
  padding: 0 20px;
}
.hero-content h1 {
  font-size: 2.5rem;
  color: var(--verde-neon);
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--texto-claro);
}

/* SERVIÇOS */
/* SERVIÇOS EM ZIGUE-ZAGUE */
.servico {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 5%;
  border-bottom: 1px solid #333;
  animation: fadeInUp 0.8s ease forwards;
}

.servico:nth-child(even) {
  flex-direction: row-reverse;
}

.servico-texto {
  flex: 1 1 300px;
  text-align: center;
  margin-bottom: 20px;
}

.servico-texto h2 {
  color: var(--verde-neon);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.servico-texto p {
  color: var(--texto-claro);
  font-size: 1rem;
  margin-bottom: 15px;
}

.btn-hero {
  margin-bottom: 10px;
}

/* IMAGEM DE SERVIÇO */
.servico-img {
  flex: 1 1 300px;
  max-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 255, 72, 0.0);
  margin: 0 auto;
}

.servico-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .servico {
    flex-direction: column !important;
    padding: 10px 20px;
    gap: 10px;
  }

  .servico-texto {
    margin-bottom: 0;
  }

  .servico-img {
    margin-top: -110px;
    max-width: 200px;
  }
}


/* FOOTER */
.footer {
  background: #111;
  color: #ccc;
  padding: 60px 20px 20px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-logo {
  width: 100px;
  margin-bottom: 10px;
}
.footer-links,
.footer-newsletter {
  flex: 1 1 300px;
}
.footer-links h4,
.footer-newsletter h4 {
  color: white;
  margin-bottom: 10px;
}
.footer-links a {
  color: #ccc;
  display: block;
  margin-bottom: 8px;
}
.footer-links a:hover {
  color: var(--verde-neon);
}
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: none;
}
.newsletter-form button {
  padding: 10px 20px;
  border: none;
  background: var(--verde-neon);
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  color: #999;
}
.footer-social a {
  margin: 0 10px;
  color: #ccc;
  font-size: 1.6rem;
  transition: 0.3s;
}
.footer-social a:hover {
  color: var(--verde-neon);
}

/* ANIMAÇÃO */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }
  .logo {
    width: 70px;
  }
  .menu-toggle {
    display: block;
  }
  .menu-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: var(--fundo-escuro);
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #333;
  }
  .menu-links.show {
    display: flex;
  }
  .menu-links a {
    display: block;
    margin: 8px auto;
    padding: 10px;
    width: 80%;
  }

  .servico {
    flex-direction: column !important;
    padding: 30px 5%;
    gap: 20px;
  }
  .servico-img img {
    max-width: 160px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.bloco-informacao {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

.bloco-informacao h2 {
  color: var(--verde-neon);
  margin-bottom: 10px;
  font-size: 1.8rem;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.bloco-informacao p {
  color: var(--texto-claro);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.bloco-informacao ul {
  padding-left: 20px;
  margin-bottom: 30px;
}

.bloco-informacao ul li {
  margin-bottom: 8px;
  color: #ccc;
  font-size: 0.95rem;
}

.tabela-funcionalidades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.tabela-funcionalidades h4 {
  color: var(--verde-neon);
  margin-bottom: 5px;
  font-size: 1rem;
}

.tabela-funcionalidades p {
  font-size: 0.95rem;
  color: #ccc;
}

.destaque-final {
  text-align: center;
}

.destaque-final .btn-hero {
  margin-top: 30px;
}

.btn-hero {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  background-color: transparent;
  border: 2px solid var(--verde-neon);
  color: var(--verde-neon);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 72, 0.2);
}

.btn-hero:hover {
  background-color: var(--verde-neon);
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 72, 0.4);
}

@media (max-width: 768px) {
  .bloco-informacao h2 {
    font-size: 1.4rem;
  }
  .bloco-informacao p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .btn-hero {
    width: 100%;
    text-align: center;
  }
}

.footer-social a {
  margin: 0 10px;
  font-size: 1.6rem;
  transition: 0.3s;
  color: #ffffff; /* Cor branca para aparecer em fundo escuro */
}

.footer-social a:hover {
  color: var(--verde-neon); /* Mantém o destaque ao passar o mouse */
}

.footer-social a[title="Instagram"] { color: #E1306C; }
.footer-social a[title="Facebook"] { color: #3b5998; }
.footer-social a[title="LinkedIn"]  { color: #0077b5; }
.footer-social a[title="YouTube"]   { color: #FF0000; }

.footer-social a:hover {
  color: var(--verde-neon);
}

.footer-social a {
  margin: 0 10px;
  font-size: 1.8rem;
  color: #fff; /* branco visível no fundo escuro */
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: var(--verde-neon); /* realce no hover */
}
