@font-face {
  font-family: "Goldman-Bold";
  src: url("../fonts/Goldman-Bold.ttf");
}

@font-face {
  font-family: "Pushster-Regular";
  src: url("../fonts/Pushster-Regular.ttf");
}

@font-face {
  font-family: "Lobster-Regular";
  src: url("../fonts/Lobster-Regular.ttf");
}

@font-face {
  font-family: "Play-Bold";
  src: url("../fonts/Play-Bold.ttf");
}

@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
    filter: blur(40px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
    transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-filter: blur(0);
    filter: blur(0);
    opacity: 1;
  }
}

@-webkit-keyframes tracking-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px);
    transform: translateZ(-700px);
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

@keyframes tracking-in-expand-fwd {
  0% {
    letter-spacing: -0.5em;
    -webkit-transform: translateZ(-700px);
    transform: translateZ(-700px);
    opacity: 0;
  }

  40% {
    opacity: 0.6;
  }

  100% {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    opacity: 1;
  }
}

@-webkit-keyframes text-shadow-drop-bottom {
  0% {
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  100% {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
}

@keyframes text-shadow-drop-bottom {
  0% {
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  100% {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
}

/*============================= ESTRUTURA DA PAGINA =============================*/

.pagina {
  max-width: 807px;
  min-width: 300px;
  margin: auto;
  background-color: whitesmoke;
  padding: 10px;
  border-radius: 10px;
}

header,
article {
  background-color: white;
  border: 1px outset #764ba2;
  border-radius: 10px;
  margin: auto;
  padding: 10px;
  min-height: 190px;
  position: relative;
}

article{
  border-top: 10px solid #764ba2;
  position: relative;
}

 #logo {
  background-image: url("../img/logo.png");
  background-size: cover;
  background-position: center;
  width: 170px;
  height: 150px;
  float: left;
  margin-left: 20px;
  margin-right: 30px;
  padding-top: 30px;
  -webkit-animation: slide-in-blurred-top 2s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation: slide-in-blurred-top 2s cubic-bezier(0.23, 1, 0.32, 1) both;
}


/*============================= PARAGRAFOS =============================*/

h1 {
  display: table;
  margin: auto;
  margin-left: -15px;
  text-align: center;
  text-shadow: 2px 2px 1px black, -2px 2px 1px black, 2px -2px 1px black,
    -2px -2px 1px black;
  font-family: "Goldman-Bold";
  font-size: 40px;
  color: red;
}

#h1 {
  -webkit-animation: tracking-in-expand-fwd 2s cubic-bezier(0.215, 0.61, 0.355, 1) 2s both;
  animation: tracking-in-expand-fwd 2s cubic-bezier(0.215, 0.61, 0.355, 1) 2s both;
}

h2 {
  margin: 30px auto;
  text-align: center;
  display: table;
  padding: 10px;
  font-family: "Pushster-Regular";
  font-size: 35px;
  color: #2e2e2e;
}

#h2 {
  -webkit-animation: text-shadow-drop-bottom 2s 4s both;
  animation: text-shadow-drop-bottom 2s 4s both;
}

h3 {
  font-family: "Lobster-Regular";
  font-size: 25px;
  color: #585858;
  margin: 10px;
}

h4 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  color: #585858;
  margin: 10px;
}

h4::before {
  content: "\2937";
  margin-right: 10px;
  font-size: 25px;
}

h5 {
  font-family: "Play-Bold";
  font-size: 20px;
  margin: 20px 0px 0px 10px;
}

p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  text-indent: 30px;
  margin: 5px 10px;
}

hr {
  border-color: #764ba2;
}

/*============================= LINKS =============================*/
.link {
  text-decoration: none;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  display: table;
  margin-left: 10px;
}

.link:hover {
  color: blue;
}

.link::before {
  content: "\1F449";
  margin-right: 10px;
}

#sub_links {
  display: none;
  margin: auto;
}

.link_simples {
  text-decoration: none;
  color: blue;
}

.link_simples:hover {
  color: red;
}

/*============================= MENU =============================*/
nav {
  margin-bottom: 10px;
  margin: auto;
  display: table;
}

#sub_tutoriais {
  display: none;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.botao_menu {
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  color: #764ba2;
  font-size: 20px;
  margin: 5px;
  background-color: white;
  border-radius: 5px;
  padding: 5px 7px;
  border: 1px solid #764ba2;
  transition: 500ms;
  -webkit-transition: 500ms;
  -o-transition: 500ms;
  cursor: pointer;
}

.botao_menu:hover {
  color: white;
  background-color: #764ba2;
  transition: 500ms;
  -webkit-transition: 500ms;
  -o-transition: 500ms;
}

/*============================= BOTOES =============================*/
.btn-voltar {
  background-color: #764ba2;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  border-radius: 0 0 0 8px;
  cursor: pointer;
  /* Cursor de clique */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  /* Sombra discreta */
  transition: 0.3s;
  /* Transição suave */
  position: absolute;
  top: 0px;
  right: 0px;
}

.btn-voltar:hover {
  color: #667eea;
  box-shadow: 0px 2px 4px black;
}

#btnTopo {
  position: fixed;
  bottom: 30px;
  border: 1px solid gray;
  border-top: 0px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 60px solid #764ba2;
  border-left: 20px solid transparent;
  border-radius: 15px;
  box-shadow: 0px 5px 7px black;
  -webkit-box-shadow: 0px 5px 7px black;
  display: none;
}

.btn_sair {
  background-color: #764ba2;
  border: none;
  color: #fff;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 0 0 8px 0;
  cursor: pointer;

  

  transition: 0.3s;
  position: absolute;
  top: 0px;
  left: 0px;
}

.btn_sair:hover {
  color: red;
  box-shadow: 0px 2px 4px black;
}

/* ======================================== BTN CUBO =============================== */
/* Container para organizar os cubos em linha */
.grid-botoes {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    padding: 40px;
    perspective: 1200px; /* Profundidade do ambiente */
}

/* Base do Cubo */
.cubo-3d {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    /* Posição inicial: inclinado (de lado) */
    transform: rotateX(25deg) rotateY(-25deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.face {
    position: absolute;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Play-Bold", sans-serif;
    font-size: 14px;
    color: white;
    padding: 15px;
    box-sizing: border-box;
    border: 2px solid rgba(102, 126, 234, 0.3);
    backface-visibility: hidden; /* Garante que não veremos o 'verso' das faces */
}

/* Face Frontal */
.face-frente {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateZ(75px);
    text-decoration: none;
}

/* Face Direita */
.face-direita {
    background: #4a3375;
    transform: rotateY(90deg) translateZ(75px);
}

/* Face Superior */
.face-topo {
    background: #8e74c5;
    transform: rotateX(90deg) translateZ(75px);
}

/* NOVA Face de Baixo (Preenche o vazio) */
.face-baixo {
    background: #2a1b4a; /* Tom bem escuro para simular sombra própria */
    transform: rotateX(-90deg) translateZ(75px);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); /* Sombra projetada no 'chão' */
}

/* Face Esquerda (Opcional, para fechar o lado oculto) */
.face-esquerda {
    background: #5d3f94;
    transform: rotateY(-90deg) translateZ(75px);
}

/* --- AJUSTE DO HOVER --- */

.cubo-3d:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1.1);
}

.cubo-3d:hover .face-frente {
    border-color: #00f2ff;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), 
                inset 0 0 20px rgba(0, 242, 255, 0.5);
}

/* Efeito de brilho no 'chão' quando passa o mouse */
.cubo-3d:hover .face-baixo {
    box-shadow: 0 20px 60px rgba(0, 242, 255, 0.4);
    background: #00f2ff; /* A base acende no hover */
    transition: 0.3s;
}

/* --- EFEITOS HOVER (AÇÃO) --- */

.cubo-3d:hover {
    /* Fica de frente e cresce um pouco */
    transform: rotateX(0deg) rotateY(0deg) scale(1.1);
}

.cubo-3d:hover .face-frente {
    /* Efeito de acender/energia */
    border-color: #00f2ff;
    color: #00f2ff;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.8), inset 0 0 20px rgba(0, 242, 255, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Animação de pulsar energia nas bordas */
@keyframes pulso-energia {
    0% { border-color: rgba(102, 126, 234, 0.5); color: rgba(102, 126, 234, 0.5);}
    50% { border-color: #00f2ff; color: #00f2ff; }
    100% { border-color: rgba(102, 126, 234, 0.5); color: rgba(102, 126, 234, 0.5); }
}

.cubo-3d:hover .face {
    animation: pulso-energia 1.5s infinite;
}

/*============================= RODAPE =============================*/

footer {
  background-color: white;
  border: 1px outset #764ba2;
  border-radius: 10px;
  margin: auto;
  padding: 0px;
}

.endereco {
  font-size: 15px;
  text-align: center;
  margin: 7px;
  font-family: Arial, Helvetica, sans-serif;
  color: #585858;
}

figure {
  margin: 0px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, Helvetica, sans-serif;
}

th,
td {
  padding: 7px;
  text-align: center;
  border: 1px solid #ddd;
}

th {
  background-color: #764ba2;
  color: #fff;
  text-align: center;
}

/*============================= PRINT =============================*/

@media print {
  body * {
    visibility: hidden;
  }

  .print-area,
  .print-area * {
    visibility: visible;
  }

  .print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/*============================= LISTAS E TEXTAREA =============================*/

ul {
  list-style-type: none;
  padding-left: 0px;
}

ul li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin-bottom: 8px;
  padding: 10px 10px;
  border-radius: 6px;
  color: #2e2e2e;
  list-style: none;
   background-color: #e5eafc;
}

ul li p{
  margin-left: 0px;
}

ul li ul li {
  background-color: #8fa3f0;
}

ul li ul li p{
  margin-left: 0px;
}

li {
  border-left: 4px solid #764ba2;
  background-color: transparent;
}

li a {
  color: #1a0dab;
  text-decoration: none;
  font-weight: 500;
}

li a:hover {
  text-decoration: underline;
}

textarea {
  width: 100%;
  margin-left: -3px;
  resize: none;
  box-sizing: border-box;
  border-left: 4px solid #764ba2;
  border-radius: 6px;
  background-color: #000;
  color: #00ff00;
  font-family: monospace;
  font-size: 17px;
  margin-bottom: 17px;
  overflow-y: hidden;
}

.copiado {
    position: absolute;
    background: #333;
    color: #00ff00;
    padding: 3px 3px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 9999;
}


/*============================= RELATORIO XML =============================*/
.bolinha {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.bolinha.azul {
    background-color: #0d6efd;
}

.bolinha.vermelha {
    background-color: #dc3545;
}

.bolinha.cinza {
    background-color: #adb5bd;
}

/*============================= CELULAR =============================*/
@media screen and (max-width: 800px) {
  #logo {
    float: none;
    margin: auto;
    margin-top: 5px;
    width: 130px;
    height: 100px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #mapa iframe {
    height: 300px;
  }
}

/*========================================================================*/