/* Tipo de Letra */ 

/* Roboto (font-weight)
Roboto Light : 300
Roboto Regular : 400
Roboto Medium: 500
Roboto Semibold: 600
Roboto Bold: 700
Roboto Extrabold: 800
*/

html {
  scroll-behavior: smooth;
}


body {
  /* overflow-x: hidden;  */
  font-family: 'Roboto';
  font-size: 15px;
  color: #465a65;
  font-weight: 400;
  /* text-align: justify;
  text-align-last: left; */
  zoom: 0.7; /* 70% */
}


/* Titulos */
h1 {
  font-family: 'Roboto';
  color: #d9afa5;
  /* font-weight: 600; */
  font-weight: 300;
  font-size: 35px;
}

h2 {
      font-family: 'Roboto';
      color: #008da2;
      font-weight: 600;
      /*      font-weight: 500;*/
      font-size: 25px;
    }

h3 {
    font-family: 'Roboto';
    color: #465a65;
    font-weight: 600; /* Robot SemiBold */
    /*    font-weight: 400;*/
    font-size: 20px;
}


.legenda_numero {
  font-family: 'Roboto';
  /* color: #d9afa5; */
  color: #916F65 !important;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 100px;
  text-align: justify;
}


.legenda_texto {
  font-family: 'Roboto';
  color: #d9afa5;
  font-size: 18px;
  font-weight: 600;
  /* margin-bottom: 0px; */
  margin-top: 0px;
  text-align: left;
}

.legenda_data {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 14px;
  color: #d9afa5;
  /* margin-bottom: 0px; */
  margin-top: 0px;
  text-align: justify;
}



/* PC or DESKTOP */

/* Header */ 
.header {
  /* width: 100%;  */ /* garante que ocupe 100% da largura da página */
  background-color: #fbc9bc;
  position: relative;
  text-align: left; /* centraliza horizontalmente o conteúdo */
  padding: 30px 0; /* só espaçamento vertical */
  color: #465a65;
  font-size: 30px;
  line-height: 1.1;
  overflow: hidden;
  /*Adicionado esta parte */
  display: flex;
  align-items: center;
  gap: 150px;
}

/* Imagem de fundo */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/TramaHeader_RiskOutlook.png');
  background-size: cover;
  background-position: center;
  filter: brightness(1.7) saturate(0.6);
  opacity: 0.8;
  z-index: 0;
}

/* Conteúdo por cima da imagem */
.header-content {
  position: relative;
  z-index: 1;
}

.header-content p {
  margin: 0;
  line-height: 1.1;
}


/* Destaque azul e itálico para o Footer */
.destaque {
  font-style: italic;
  color: #2b7a8b;
}



/*Menu de Navegação */

.menu {
  position: relative;
  top: 3vh;
  left: 2vw;
  width: 250px;
  height: 480px;
  background-color: #fef2f1;
  padding: 30px 20px;
  box-sizing: border-box;
  font-family: 'Roboto';
  font-size: 14px;
  border: 1px solid #fbc9bc;
  margin: 30px 0 50px 20px;
  /* overflow: hidden; */
  position: sticky;
}

.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/TramaMenu_RiskOutlook.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.7) saturate(0.6);
  opacity: 0.8;
  z-index: 0;
}

.menu a {
  position: relative;
  z-index: 1;
  display: block;
  color: #465a65;
  text-decoration: none;
  padding: 5px;
  border-radius: 4px;
  margin-bottom: 6px;
  margin-left: 10px;
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}


/* Corpo do relatorio*/
.main-container {
  display: flex;       /* deixa os filhos lado a lado */
  align-items: flex-start; /* alinha ao topo */
  gap: 100px;           /* espaço entre menu e article */
  padding: 20px;       /* espaçamento interno */
}


article {
  flex: 1;          /* ocupa o espaço restante */
  min-width: 0;     /* evita overflow */
}


/* Box */

.box-destaques {
  display: flex;           /* lado a lado das colunas */
  gap: 40px;               /* distância entre colunas */
}

/* Colunas dentro da box */
.box-destaques > .coluna {
  flex: 1;                 /* cada coluna ocupa metade do espaço */
  display: flex;           /* sub-boxes lado a lado */
  gap: 20px;               /* distância entre as sub-boxes */
}

/* Cada sub-box */
.sub-box {
  flex: 1;                 /* faz com que todas tenham a mesma largura */
  border: 2px solid #fbc9bc;
  padding: 20px;
  display: flex;           /* para ajustar altura igual */
  flex-direction: column;
  justify-content: flex-start;  /* conteúdo começa do topo */
  text-align: justify;      /* justifica o texto dentro da box */
}
  
/* Texto e lista dentro das sub-boxes */
.sub-box p,
.sub-box ul {
  color: #465a65;
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: 400;
}

.sub-box ul li {
  margin-bottom: 5px;
  font-size: 15px;
}

.sub-box ul {
  list-style: none; /* remove os bullets padrão */
  padding-left: 30px; /* espaço para o ícone */
}

.sub-box ul li {
  position: relative;
  margin-bottom: 10px;
  color: #465a65;
}

/* Inserindo a imagem como marcador */
.sub-box ul li::before {
  content: "";
  position: absolute;
  left: -30px; /* ajusta a posição horizontal da imagem */
  top: 3px;    /* ajusta verticalmente conforme necessário */
  width: 20px;  /* largura da imagem */
  height: 20px; /* altura da imagem */
  background-image: url('images/Ponto_Box.jpg'); /* caminho da sua imagem */
  background-size: contain;  /* ajusta o tamanho para caber na caixa */
  background-repeat: no-repeat;
}


/* container */
/* table-wrapper */
table {
  /* width: 80%; */
  min-width: 300px;
  /* ou 600px se precisares de mais espaço */
  border-collapse: collapse;
}


th, td {
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  border-bottom: 1px solid #fbc9bc;
}


.circle-red {
  width: 20px;
  height: 20px;
  background-color: #b85952;
  border-radius: 50%;
  margin-right: 15px;
}

.circle-green {
  width: 20px;
  height: 20px;
  background-color: #407365;
  border-radius: 50%;
  margin-right: 15px;
}


.container {
  display: flex;
  justify-content: center;
  gap: 50px;
  align-items: flex-start;
  text-align: center;
}


/*Link*/
a {
  color: #008da2;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
}


/*Legenda das imagens*/

.legenda_numero {
  font-family: 'Roboto';
  color: #d9afa5;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 10px;
  text-align: justify;
}

.legenda_texto {
  font-family: 'Roboto';
  color: #d9afa5;
  font-size: 18px;
  font-weight: 600;
  /* margin-bottom: 0px; */
  margin-top: 5px;
  text-align: left;
}

.legenda_data {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 14px;
  color: #d9afa5;
  /* margin-bottom: 0px; */
  margin-top: 5px;
  text-align: justify;
}


/*Botão Info*/
.nota-hover {
  display: none;
  position: absolute;
  top: 30px; /* aparece logo abaixo do botão */
  left: 0;
  background: rgba(255,255,255,0.95);
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 14px;
  font-family: 'Roboto';
  text-align: justify;
  width: 400px;
  z-index: 1000;
  color: #465a65;
}

/* Hover no botão mostra a nota */
.botao_info:hover .nota-hover {
  display: block;
}


/*Footer*/
footer {
  background-color: #fbc9bc;
  padding: 10px;
  text-align: center;
  color: #465a65;
  position: relative;
  font-family: 'Roboto';
  font-size:18px;
  font-weight: 300;
}

footer .destaque {
  font-style: italic;
  color: #008da2;
  font-weight: 300;
}


/* Impressão */
@media print {
  iframe {
    zoom: 0.6 !important;   
    transform: scale(0.75) !important;
    transform-origin: top left !important;
    width: 3000px !important;
    height:1000px !important;
  }
}
