body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.container {
  position: relative;
  display: inline-block;
}

.container img {
  width: 100%;
}

/* área clicável */
.area-clicavel {
  fill: rgba(255, 0, 0, 0.2); /* No SVG usamos 'fill' em vez de 'background' */
  stroke: red; /* 'stroke' em vez de 'border' */
  stroke-width: 2;
  cursor: pointer;
  transition: 0.3s;
}

.area-clicavel:hover {
  fill: rgba(255, 0, 0, 0.5);
}
.area-clicavel::after {
  content: attr(data-arquivo); /* Pega o texto do data-arquivo */
  position: absolute;
  top: -20px;
  font-size: 12px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.imagem-principal {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Modal */
#modal-container {
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.modal-content {
  background-color: #fff;
  margin: 2% auto; /* Pequena margem no topo */
  padding: 20px;
  width: 90%; /* Largura responsiva */
  max-width: 800px; /* Limite máximo de largura para telas grandes */

  /* LIMITAÇÃO DE ALTURA */
  max-height: 90vh; /* Não ultrapassa 90% da altura da tela */
  overflow-y: auto; /* Adiciona scroll interno se o conteúdo for maior que a tela */

  border-radius: 8px;
  position: relative;
}
#btn-fechar {
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  right: 15px;
  top: 10px;
}
.camada-interativa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
