/* --- Variáveis Globais e Reset --- */
:root {
  --dark-blue: #0a192f;
  --primary-blue: #1e3a8a;
  --accent-blue: #3b82f6;
  --light-slate: #ccd6f6; /* Texto claro principal */
  --slate: #8892b0; /* Cor de texto secundária clara */
  --white: #ffffff;
  --bg: #0a192f; /* Fundo principal escuro */
  --card-bg: #112240; /* Fundo dos cards */
  --shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
  --radius: 8px;
  --max-width: 1100px;
  --container-pad: 24px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg);
  color: var(--light-slate); /* Cor de texto padrão clara */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Animações --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.content-section {
  padding-top: 80px;
  padding-bottom: 80px;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* --- Cabeçalho e Navegação --- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 200px; /* ALTERADO: Logo aumentada */
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  transition: transform 0.3s ease;
}
.logo-link:hover .logo-img {
  transform: scale(1.05);
}
.desktop-nav ul {
  display: flex;
  gap: 32px; /* AUMENTADO: Mais espaço entre links */
  list-style: none;
}
.desktop-nav a {
  color: var(--light-slate);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 8px 0; /* AUMENTADO: Mais padding vertical */
  font-size: 18px; /* AUMENTADO: Tamanho da fonte */
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-blue);
  transition: width 0.3s ease;
}
.desktop-nav a:hover {
  color: var(--white);
}
.desktop-nav a:hover::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cta {
  background-color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  color: var(--white);
  padding: 12px 22px; /* AUMENTADO: Botão maior */
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 17px; /* AUMENTADO: Tamanho da fonte */
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.cta:hover {
  background-color: transparent;
  color: var(--accent-blue);
}

/* --- Menu Mobile --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.bar {
  width: 100%;
  height: 3px;
  background-color: var(--light-slate);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg);
  z-index: 1001;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  padding: 20px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 15px;
}
.mobile-nav .nav-link {
  color: var(--light-slate);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 10px;
  transition: color 0.3s ease;
}
.mobile-nav .nav-link:hover {
  color: var(--accent-blue);
}

/* --- Seções de Conteúdo --- */
.hero {
  padding: 60px 0;
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-content h2 {
  font-size: 38px;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.2;
}
.hero-content p {
  font-size: 18px;
  margin-bottom: 24px;
  color: var(--light-slate);
  max-width: 600px;
}
.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.hero-card {
  background: linear-gradient(145deg, var(--primary-blue), var(--dark-blue));
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--light-slate);
}
.hero-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--white);
}
.hero-card p {
  font-size: 14px;
  margin-bottom: 14px;
  color: var(--light-slate);
}
.hero-card hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 14px 0;
}
.hero-card .highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--light-slate);
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h3 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 12px;
}
.lead {
  font-size: 18px;
  color: var(--light-slate);
  max-width: 760px;
  margin: 0 auto;
}
.services-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card,
.feature {
  background-color: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover,
.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
}
.card h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--white);
}
.card p,
.feature p {
  color: var(--light-slate);
  font-size: 15px;
}
.feature {
  text-align: center;
}
.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
  color: var(--white);
  margin-bottom: 16px;
}
.feature .icon svg {
  width: 28px;
  height: 28px;
}
.feature h5 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--white);
}
.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background-color: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.3);
}
.value-card h4 {
  font-size: 18px;
  color: var(--accent-blue);
  margin-bottom: 12px;
}
.value-card p {
  font-size: 14px;
  color: var(--light-slate);
}

/* --- Rodapé --- */
footer {
  margin-top: 48px;
  padding: 60px 0;
  background-color: var(--dark-blue);
  color: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.footer-col h2 {
  font-size: 24px;
}
.footer-col h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--light-slate);
}
.muted {
  color: var(--light-slate);
  font-size: 15px;
  line-height: 1.7;
}
.muted a {
  color: var(--light-slate);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}
.muted a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--light-slate);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-blue);
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--slate);
  padding-top: 24px;
  color: var(--slate);
  font-size: 14px;
}

/* --- Media Queries (ajustes para mobile se necessário) --- */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p {
    margin: 0 auto 24px;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  .desktop-nav,
  .header-actions .cta {
    display: none;
  }

  .logo-img {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 40px 0;
  }
  .hero-content h2 {
    font-size: 30px;
  }
  .hero-content p {
    font-size: 16px;
  }
  .content-section {
    padding: 60px 0;
  }
  .section-title h3 {
    font-size: 28px;
  }
  .lead {
    font-size: 16px;
  }
  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
}
