:root {
  --primary: #004080;
  --secondary: #002B5C;
  --light: #f9f9f9;
  --accent: #00A8E8;
  --dark: #1c1c1c;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
}

header {
  background: var(--primary);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

header nav ul li {
  list-style: none;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.btn-acesso {
  background: var(--accent);
  color: white !important;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.hero {
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  color: white;
  padding: 4rem 0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* reforço visual da separação */
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta {
  background: white;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta:hover {
  background: var(--accent);
  color: white;
}

.section {
  padding: 4rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.bg-light {
  background-color: var(--light);
}

h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

footer {
  padding: 10px 0;
  background-color: #0d6efd; /* azul padrão Bootstrap */
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.2;
  color: white;
}


@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  nav ul {
    justify-content: center;
  }
}

.divisor {
  height: 6px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin-top: -3px;
}

section[id], div[id] {
  scroll-margin-top: 80px;
}

#autocompleteSuggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1055; /* acima de popovers e tooltips */
  max-height: 240px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#autocompleteSuggestions .list-group-item {
  padding: 0.5rem 1rem;
  cursor: pointer;
  border: none;
  border-bottom: 1px solid #eee;
  transition: background-color 0.15s ease-in-out;
}

#autocompleteSuggestions .list-group-item:last-child {
  border-bottom: none;
}

#autocompleteSuggestions .list-group-item:hover,
#autocompleteSuggestions .list-group-item.active {
  background-color: #f1f3f5;
  color: #212529;
}

.col-md-5 {
  position: relative;
}

#autocompleteSuggestions .list-group-item {
  background-color: #f8f9fc; /* azul muito claro */
  border-bottom: 1px solid #e4e9f2;
  transition: background-color 0.2s ease;
}

#autocompleteSuggestions .list-group-item:hover,
#autocompleteSuggestions .list-group-item:focus,
#autocompleteSuggestions .list-group-item.active {
  background-color: #e3f2fd; /* azul mais evidente */
  color: #0d47a1; /* azul escuro para texto */
}

#autocompleteSuggestions .list-group-item strong {
  font-weight: 600;
  color: #0d47a1;
}

#autocompleteSuggestions .list-group-item .text-muted {
  font-size: 0.85rem;
  color: #607d8b;
}
