/* ============================= */
/* RESET E BASE */
/* ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #f1f5f9; /* cor padrão para contraste com fundo azul escuro */
  background: #0a1f44; /* fundo principal */
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container {
  width: 95%;
  max-width: 1100px;
  margin: auto;
}

/* ============================= */
/* NAVBAR */
/* ============================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 1100;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

/* Links do menu */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background-color: #fff;
  color: #004080;
  border-radius: 4px;
}

/* Botão menu toggle (mobile) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  z-index: 1100;
  position: relative;
}

/* ============================= */
/* NAVBAR SEM MENU TOGGLE */
/* ============================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  position: relative;
  z-index: 1100;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}

/* Links do menu */
.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links li a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background-color: #fff;
  color: #004080;
  border-radius: 4px;
}

/* ============================= */
/* RESPONSIVO SEM MENU TOGGLE */
/* ============================= */
@media (max-width: 820px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .nav-links li a {
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
  }
}

/* ============================= */
/* HERO SLIDER FULLSCREEN */
/* ============================= */
html, body {
  height: 100%;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0; /* slider atrás da camada escura */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 0;
}

/* Camada escura para visibilidade do texto */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  z-index: 1;
}

/* Conteúdo do HERO */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  margin-bottom: 1.5rem;
}

.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  margin: 0.3rem;
}

.btn-primary {
  background: white;
  color: #1e3a8a;
}

.btn-secondary {
  background: #1e3a8a;
  color: #ffffff;
}

/* ============================= */
/* ABOUT, FEATURES, CTA, STATS, FOOTER */
/* ============================= */
.about,
.features,
.cta,
.stats,
.footer {
  background-color: #0a1f44;
  color: #f1f5f9;
}

.about a,
.features a,
.cta a,
.stats a,
.footer a {
  color: #ffffff;
}

.card {
  background: #1c2b50;
  color: #f1f5f9;
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.about {
  padding: 3rem 0;
}

.about h2, .cta h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about p {
  text-align: center;
  margin-bottom: 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cta {
  text-align: center;
  padding: 3rem 1rem;
}

.stats {
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat .number {
  font-size: 2rem;
  font-weight: 700;
}

.footer {
  padding: 2.5rem 1rem 1rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 2rem;
  margin-bottom: 1rem;
}

.copy {
  text-align: center;
  font-size: 0.9rem;
}

/* ============================= */
/* SETA VOLTAR LATERAL */
/* ============================= */
.back-arrow {
  font-size: 2.5rem;
  color: #016cf8;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.10rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  position: relative;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.back-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffdd00;
  transform: scale(1.1);
}