
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

header {
  justify-content: flex-start;
  text-align: left;
  background-color: #003366;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
}

header h1 {
  text-align: left;
  font-size: 1.5rem;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

.wrapper {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 120px);
}

nav {
  width: 220px;
  background-color: #034ea2;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease-in-out;
}

nav a {
  color: white;
  text-decoration: none;
  margin-bottom: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover {
  background-color: #00796b;
}

main {
  flex: 1;
  background-color: #ffffff;
  padding: 2rem;
}

footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
  }

  nav.active {
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }
}



/* Header layout refinado */
header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 20px;
  flex-wrap: wrap;
}

/* Título */
h1 {
  text-align: left;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0;
}

/* Conteúdo principal com padding */
main {
  padding: 20px;
}

/* Navegação responsiva */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
}

/* Botões do chatbot */
button.option-button {
  padding: 10px 16px;
  font-size: 1rem;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background-color: #003366;
  color: white;
}

button.option-button:hover {
  background-color: #034ea2;
}

/* Responsivo para telas menores */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  main {
    padding: 10px;
  }
}


.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 10px 20px;
}

.site-header .left-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header h1 {
  font-size: 1.2rem;
  margin: 0;
}


.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 10px 20px;
  flex-wrap: nowrap;
}

.site-header .left-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.site-header h1 {
  font-size: 1.2rem;
  margin: 0;
  white-space: nowrap;
}


.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 10px 20px;
}

.logo {
  height: 48px;
  margin-right: 10px;
}

.titulo {
  font-size: 1.2rem;
  margin: 0 10px 0 0;
  white-space: nowrap;
  flex-grow: 1;
}


.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  color: white;
  padding: 10px 16px;
}

.logo {
  height: 36px;
  margin-right: 8px;
  flex-shrink: 0;
}

.titulo {
  font-size: clamp(1rem, 4vw, 1.2rem);
  margin: 0 8px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  min-width: 0;
}

.menu-toggle {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Ajustes para telas pequenas */
@media (max-width: 400px) {
  .site-header {
    padding: 8px 12px;
  }

  .logo {
    height: 32px;
  }

  .menu-toggle {
    font-size: 1.3rem;
  }
}


.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: #003366;
  color: white;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  height: 36px;
  flex-shrink: 0;
  margin-right: 10px;
}

.titulo {
  flex-grow: 1;
  margin: 0;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.menu-toggle {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Header reestilizado */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  padding: 0.5rem 1rem;
  color: white;
}

.site-header .left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header .logo {
  height: 32px;
}

.site-header .titulo {
  font-size: 1rem;
  margin: 0;
}

.menu-toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

/* Cabeçalho */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366;
  padding: 0.75rem 1rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header .logo {
  height: 32px;
}

.site-header .titulo {
  font-size: 1.1rem;
  margin: 0;
}

/* Menu toggle */
.menu-toggle {
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.2);
}

/* Navegação */
nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  background-color: #f0f0f0;
  padding: 0.75rem;
  transition: max-height 0.3s ease;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #005bb5;
}

/* Responsivo */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    align-items: center;
  }

  nav.active {
    display: flex;
  }

  .site-header {
    flex-direction: row;
  }
}
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f5f5f5;
  padding: 15px;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  text-align: center;
  font-family: sans-serif;
}

#cookie-consent p {
  margin: 0 0 10px 0;
  color: #333;
}

#cookie-consent a {
  color: #0066cc;
  text-decoration: underline;
}

#cookie-consent button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
}

#cookie-consent button:hover {
  background-color: #0056b3;
}

