
    /* ==============================
   RESET BÁSICO
============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #f5f5f7;
  line-height: 1.5;
}

/* ==============================
   ELEMENTOS GERAIS
============================== */
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Títulos das seções */
.secao {
  padding: 64px 0;
}

.secao-header {
  text-align: center;
  margin-bottom: 32px;
}

.secao-header h2 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: #111827;
}

.secao-header p {
  margin: 0;
  color: #4b5563;
}

/* ==============================
   NAV
============================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111827;
}

.nav-logo img {
  width: 32px;
  height: 32px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  color: #4b5563;
  padding: 4px 8px;
  border-radius: 4px;
}

.nav-links a:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* ==============================
   BOTÕES
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
  white-space: nowrap;
}

.btn-primario {
  background: #e63946;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.btn-primario:hover {
  background: #c91e2c;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-hero {
  background: #ffffff;
  color: #111827;
  border-radius: 999px;
  border: none;
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.btn-secundario {
  background: #111827;
  color: #ffffff;
}

/* ==============================
   HERO
============================== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;

  /* Apenas o gradiente */
  background: linear-gradient(135deg, #e63946 0%, #111827 60%, #0f172a 100%);
  overflow: hidden;
}


/* Marca d’água do mosquito no hero */
/* Marca d’água do mosquito no hero */
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 420px;
  background: url("../img/mosquito-watermark.png") no-repeat center/contain;
  opacity: 0.28;  /* deixa mais fraco pra não brigar com o texto */
  pointer-events: none;
}



.hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.12) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.08) 0, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-texto {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 18px 16px 64px;
}

.hero-texto h1 {
  font-size: 2.6rem;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}

.hero-texto h2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 16px;
  color: #fde68a;
}

.hero-texto p {
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.hero-botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.texto-lgpd-hero {
  display: block;
  font-size: 0.75rem;
  color: #e5e7eb;
  opacity: 0.9;
}

/* ==============================
   MAPA E FILTROS
============================== */
.secao-mapa {
  background-color: #f9fafb;
}

.mapa-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
}

.mapa-filtros {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.mapa-filtros label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 4px;
  color: #374151;
}

.mapa-filtros select,
.mapa-filtros input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  outline: none;
}

.mapa-filtros select:focus,
.mapa-filtros input[type="text"]:focus {
  border-color: #e63946;
  box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.3);
}

.filtros-status {
  margin: 16px 0 12px;
  padding: 10px;
  border-radius: 8px;
  background-color: #f9fafb;
}

.filtros-status p {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
}

.filtros-status label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  margin: 2px 0;
}

.resumo-indicadores {
  margin-top: 16px;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
}

.resumo-indicadores h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
  color: #111827;
}

.resumo-indicadores ul {
  margin: 0;
  padding-left: 16px;
  font-size: 0.85rem;
  color: #4b5563;
}

.mapa-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.mapa {
  width: 100%;
  min-height: 380px;
}

.mapa-legenda {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #6b7280;
}

/* ==============================
   SEÇÃO SOBRE
============================== */
.sobre {
  background-color: #ffffff;
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.sobre-grid h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #111827;
}

.sobre-grid p {
  margin: 0 0 10px;
  color: #4b5563;
}

.sobre-grid ol {
  margin: 0 0 10px 16px;
  color: #4b5563;
}

/* ==============================
   SEÇÃO GESTORES
============================== */
.gestores {
  background-color: #f9fafb;
}

.gestores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gestores-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.gestores-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #111827;
}

.gestores-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

.gestores-cta {
  margin-top: 32px;
  text-align: center;
}

.gestores-cta p {
  margin: 0 0 8px;
  font-weight: 500;
  color: #111827;
}

/* ==============================
   SEÇÃO PRIVACIDADE
============================== */
.privacidade {
  background-color: #ffffff;
}

.privacidade-conteudo {
  max-width: 720px;
  margin: 0 auto;
}

.privacidade-conteudo p {
  margin: 0 0 10px;
  color: #4b5563;
}

.privacidade-conteudo ul {
  padding-left: 18px;
  margin: 0 0 10px;
  color: #4b5563;
}

/* ==============================
   RODAPÉ
============================== */
.rodape {
  background-color: #0f172a;
  color: #e5e7eb;
  padding: 20px 0;
  font-size: 0.85rem;
}

.rodape .container {
  text-align: center;
}

.rodape p {
  margin: 4px 0;
}

/* ==============================
   RESPONSIVIDADE
============================== */

@media (max-width: 992px) {
  .mapa-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .mapa-filtros {
    order: 2;
  }

  .mapa-container {
    order: 1;
  }

  .gestores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {

  .nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-links {
    display: none; /* se quiser depois, podemos fazer menu hamburguer */
  }

  .hero-texto h1 {
    font-size: 2.1rem;
  }

  .hero-texto h2 {
    font-size: 1.1rem;
  }

  .hero-botoes {
    flex-direction: column;
  }

  .sobre-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gestores-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==============================
   MODAIS
============================== */
.modal {
  display: none; /* padrão: escondida */
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto !important;
}

.modal.aberto {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-conteudo {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  padding: 16px 20px;
  animation: modalIn 0.25s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
   max-height: 75vh;
    overflow-y: auto;
    padding-right: 8px; /* evita corte à direita */
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #374151;
}

.modal-body label {
  display: block;
  margin: 10px 0 4px;
  font-weight: 600;
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-loading{
  opacity:.7;
  pointer-events:none;
  position:relative;
}
.btn-loading::after{
  content:"";
  width:14px;height:14px;
  border:2px solid #fff;
  border-top-color:transparent;
  border-radius:50%;
  position:absolute;
  right:12px;
  animation:spin .8s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}


/* ===== MODAL: header DengueDigital ===== */
.modal-header-dd{
  border-bottom:1px solid #f1f5f9;
  padding-bottom:10px;
  margin-bottom:10px;
}
.modal-header-left{
  display:flex;
  align-items:center;
  gap:10px;
}
.modal-logo{
  width:38px;
  height:38px;
  border-radius:8px;
  background:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
}
.modal-subtitle{
  color:#6b7280;
  font-weight:600;
  letter-spacing:.02em;
}

/* corpo mais “clean” */
.modal-body p{
  color:#374151;
}

/* footer padrão: botões alinhados e com cores consistentes */
.modal-footer{
  border-top:1px solid #f1f5f9;
  padding-top:12px;
}
.modal-footer .btn-primario{
  background:#e63946;
  box-shadow:0 6px 16px rgba(230,57,70,.30);
}
.modal-footer .btn-primario:hover{
  background:#c91e2c;
}
.modal-footer .btn-outline{
  border-color:#e5e7eb;
}


/* Lista de sintomas alinhada */
.sintomas-lista{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:6px 0 12px;
}

.sintomas-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:0.95rem;
  color:#111827;
}

.sintomas-item input[type="checkbox"]{
  width:18px;
  height:18px;
  accent-color:#e63946; /* vermelho padrão */
  flex:0 0 auto;
}

.btn-primario-outline {
  background: transparent;
  border: 2px solid #FFF; /* ou sua cor de destaque */
  color: #FFF;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primario-outline:hover {
  background: rgba(255,255,255,0.9);
  color:black;
}

.btn-secundario-outline {
  background: transparent;
  border: 2px solid #000; /* ou sua cor de destaque */
  color: #010101;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-secundario-outline:hover {
  background: #e63946;
  color:white;
}

