/* ===== Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.2px;
}

/* ===== Corpo ===== */
body {
  background-color: #0a111f;
  color: #e9eef9;
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* ===== Títulos ===== */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 17, 31, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 999;
  padding: 18px 0;
}
.nav-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== Logo Atualizado ===== */
.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  font-weight: 800;
  font-size: 1.7rem;
  color: #63a4ff;
  letter-spacing: -0.5px;
}

.sub-logo {
  font-size: 0.85rem;
  color: #a7bde0;
  margin-top: 2px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* ===== Links do Menu ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: #e9eef9;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.nav-links a:hover { color: #63a4ff; }

/* ===== Ícone do menu ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
}
.menu-toggle span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Menu Mobile ===== */
.menu-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 5%;
  background: rgba(20, 30, 50, 0.98);
  padding: 25px;
  border-radius: 15px;
  gap: 15px;
  box-shadow: 0 0 20px rgba(99,164,255,0.3);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #0f1b31, #0a111f);
  text-align: center;
  padding: 160px 20px 100px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #b7d4ff;
}
.hero p {
  font-size: 1.1rem;
  color: #cdd9f2;
  margin-bottom: 30px;
}
.cta-button {
  background: linear-gradient(90deg, #4a8eff, #1e5eff);
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.cta-button:hover {
  background: linear-gradient(90deg, #3a7dfd, #164bdd);
  transform: scale(1.05);
}

/* ===== Serviços ===== */
.services {
  background: #0c162a;
  text-align: center;
  padding: 100px 20px;
}
.services h2 {
  font-size: 2.2rem;
  color: #a8d1ff;
  margin-bottom: 50px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.service-card {
  background: #101d38;
  border: 2px solid #4a8eff;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: left;
  transition: 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(74, 142, 255, 0.4);
}
.icon {
  font-size: 2.8rem;
  color: #4a8eff;
  margin-bottom: 15px;
}
.service-card h3 { color: #a8c8ff; margin-bottom: 15px; }
.service-card p { color: #c9d6ea; margin-bottom: 20px; }
.service-btn {
  background: linear-gradient(90deg, #4a8eff, #1e5eff);
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}
.service-btn:hover {
  background: linear-gradient(90deg, #3a7dfd, #164bdd);
  transform: scale(1.05);
}

/* ===== Autoridade ===== */
.authority {
  background: #0f1b31;
  text-align: center;
  padding: 100px 20px;
}
.authority h2 { color: #a8d1ff; margin-bottom: 50px; }
.authority-card {
  background: #101d38;
  border: 2px solid #3b7cf9;
  border-radius: 15px;
  padding: 25px 20px;
  transition: 0.3s;
}
.authority-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(59, 124, 249, 0.4);
}
.authority-card h3 { color: #8abfff; margin-bottom: 10px; }
.authority-card p { color: #c9d6ea; }

/* ===== CTA Final ===== */
.final-cta {
  background: linear-gradient(180deg, #15305a, #0a111f);
  text-align: center;
  padding: 100px 20px;
}
.final-cta h2 { color: #cde3ff; margin-bottom: 20px; }
.final-cta p {
  color: #d6e4ff;
  max-width: 700px;
  margin: auto;
  margin-bottom: 30px;
}

/* ===== Rodapé ===== */
.footer {
  background: #0b1324;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer p {
  color: #a7bde0;
  font-size: 0.95rem;
  margin-bottom: 15px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.social-links img {
  width: 28px;
  height: 28px;
  filter: invert(70%) sepia(80%) saturate(250%) hue-rotate(190deg);
  transition: 0.3s;
}
.social-links img:hover {
  transform: scale(1.1);
  filter: invert(100%);
}

/* ===== WhatsApp ===== */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: 0.3s;
  z-index: 1000;
}
.whatsapp-button:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}

/* ===== Animações ===== */
.hidden { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 2rem; }
  .service-cards, .authority-cards { grid-template-columns: 1fr; }
}
