.flex-container {
	display: flex;
	flex-wrap: wrap;
	margin: 0 45px 45px 0;
}

.qvplaceholder, .qvobject {
	flex: 1 1 auto;
	height: 400px;
	margin: 45px 0px 0 10px;
}

.btn-info{
	background-color: #1E90FF;
}

#popup {
	background-color: #c3534b;
	color: #FFFFFF;
	position: fixed;
	max-width: 250px;
	padding: 10px;
	margin: 10px;
	bottom: 0;
	right: 0;
	display: none;
	border-radius: 10px;
	z-index: 6;
	font-family: sans-serif;
}

.close {
	cursor: pointer;
	background: 0 0;
	border: 0;
	float: right;
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	opacity: .2;
	position: absolute;
	right: 9px;
	top: 7px;
}

.close:hover {
	opacity: .5;
}

#popupText {
	margin-right: 23px;
}
	
/* Cabecalho da Pagina */
.fundo_cima{
  background: linear-gradient(to bottom,rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgb(216, 216, 216) 100%);
  padding: 1px 0; 
}

.rotulo {
    padding: 0 10px;
}

.nome_orgao {
  font-size: clamp(1em, 1em + 1vw, 1.5em);
  font-weight: bold;
  color: #888B8C;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  padding-top: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .nome_orgao {
    text-align: left; 
    padding-top: 0;
  }
}

.nome_orgao a{
  color: #888B8C;
  text-decoration: none;
  display: flex;
  justify-content: center; 
}

@media (min-width: 768px) {
	.nome_orgao a{
		justify-content: flex-start;
	}
}

#barra{
	  border-left: 4px solid #888B8C;
	  padding-left: 10px; 
}
.sit{
  height: -100px;
  color: #fff;

}


/* Corpo da Página */

 html, body {
      height: 100%;
      margin: 0;
    }

    /* divisão 60% imagem / 40% branco */
    .topo {
      height: 60vh;
      background-image: url('img-turismo.jpg'); 
      background-size: cover;
      background-position: center;
    }

    .base {
      height: 40vh; /* 40% da altura da viewport */
      background-color: #ffffff;
    }

    

.area-amostra {
  position: absolute;
  top: 13vh;             
  left: 50%; 
  transform: translateX(-50%); 
  width: 100%; 
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  max-width: 1500px;    
  max-height: 1100px;
  pointer-events: auto;
  box-sizing: border-box;

  margin: 0 auto;
  padding: 10px;
}

@media (min-width: 768px) {
	.area-amostra {
		left: 50%;
		transform: translateX(-50%);
		width: 80vw;
	}
}

.quadrado {
  width: 100%;
  height: 100%;
  background: #b0e2ff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-sizing: border-box;
  margin-top: 0; 
}

.quadrado .inframe { 
	width: 100%; 
	height: calc(100% - 56px); 
	border: none; display: block; 
}

.icon-button {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: none; 
}

/* ===== TOOLBAR ===== */
.toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  padding-left: 0;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.toolbar > *:first-child {
  margin-left: 10px; 
}
.toolbar > *:last-child {
  margin-right: 10px;
}

/* ===== ÍCONES (o container que rola) ===== */
.icons-container {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start; 
  overflow-x: auto;               
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0 10px;
  margin: 0;                      
}

/* oculta scrollbar visual (opcional) */
.icons-container::-webkit-scrollbar { height: 8px; }
.icons-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 8px; }

/* ===== BOTÕES ===== */
.tab-btn {
  background: rgba(224,248,255,0.95);
  border: none;
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(6,62,86,0.06);
  transition: transform .12s, box-shadow .12s;
  scroll-snap-align: start; 
  padding: 8px; 
  font-family: "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
}
.desktop.tab-btn {
  background: rgba(224,248,255,0.95);
  border: none;
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(6,62,86,0.06);
  transition: transform .12s, box-shadow .12s;
  scroll-snap-align: start; 
  padding: 8px; 
  font-family: "Segoe UI", sans-serif;
  text-align: center;
}
.mobile.tab-btn {
  background: rgba(224,248,255,0.95);
  border: none;
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 12px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(6,62,86,0.06);
  transition: transform .12s, box-shadow .12s;
  scroll-snap-align: start; 
  padding: 8px; 
  font-family: "Segoe UI", sans-serif;
  text-align: center;
}

.tab-btn img { display:block; }


.tab-btn:hover {
  background:  rgba(224,248,255,0.95);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(180deg,#0b63a0,#08577f);
  box-shadow: 0 10px 26px rgba(6,62,86,0.18);
}
.desktop.tab-btn.active {
  background: linear-gradient(180deg,#0b63a0,#08577f);
  box-shadow: 0 10px 26px rgba(6,62,86,0.18);
}
.mobile.tab-btn.active {
  background: linear-gradient(180deg,#0b63a0,#08577f);
  box-shadow: 0 10px 26px rgba(6,62,86,0.18);
}

.icon-button {
  width: 36px;  
  height: 36px;
  object-fit: contain;
}

.btn-label {
  font-size: 12px; 
  font-weight: 500;
  color: #063e56;
  text-align: center;
  line-height: 1.1;
}

.tab-btn.active .btn-label {
  color: #fff;
}


/* ===== SETAS ===== (se estiver usando .arrow-btn) */
.arrow-btn {
  display: none;            
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #0b63a0;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.arrow-btn.left  { left: 8px; }
.arrow-btn.right { right: 8px; }

/* ===== IFRAME ajustado (ocupa resto do quadrado) ===== */
.quadrado .inframe {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  display: block;
}
.quadrado .desktop.inframe {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  display: block;
}
.quadrado .mobile.inframe {
  flex: 1 1 auto;
  width: 100%;
  border: none;
  display: block;
  background-color: white;
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 700px) {
  .arrow-btn { display: none; }

  .icons-container {
    justify-content: flex-start;
    padding: 0 10px;
    gap: 8px; 
  }

  .tab-btn {
    width: 80px;
    height: 80px;
  }
  
  .icon-button {
	  width: 30px;
	  height: 30px;
  }
  
  .btn-label {
	  font-size: 10px;
  }

  
  .quadrado { margin-top: 0; } 
  .quadrado .inframe { height: calc(100% - 104px); } 
  
  
  .area-amostra {
	  top: 180px;
	  height: 80vh;
	  width: 95vw;
  }
}

/* Rodape da Pagina */

.footer h3, .footer p {
    margin: 0;
    padding: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* ===== CONTAINER PRINCIPAL DO RODAPÉ ===== */
.footer {
    background-color: #2291D0; 
    color: #fff; 
    width: 100%;
}

/* NOVO: Wrapper para limitar a largura do conteúdo principal */
.footer-main-wrapper {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 30px 20px; 
}

/* ===== SEÇÃO 1: CONTEÚDO PRINCIPAL (Logo + Info) ===== */
.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; 
    align-items: flex-start; 
    padding: 0; 
    gap: 50px; 
}

/* ===== COLUNA 1: LOGO PREFEITURA ===== */
.footer-logo-container {
    background-color: #fff; 
    padding: 25px;
    border-radius: 8px; 
    box-shadow: 0 4px 19px rgba(0,0,0,0.1); 
}

.footer-logo-container img {
    display: block;
    max-width: 250px; 
    height: auto;
}

/* ===== COLUNA 2: INFORMAÇÕES SETUR ===== */
.footer-info {
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1; 
    text-align: left; 
}

.footer-info .setur-logo-link {
    display: block; 
    margin-bottom: 13px; 
	background-color: #fff; 
    padding: 6px;
    border-radius: 4px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 

}

.footer-info .setur-logo-link img {
    max-width: 150px; 
    height: auto;
    display: block; 
}

.footer-info p {
    margin-bottom: 5px; 
}

.footer-info .info-contato {
    font-size: 1rem; 
    line-height: 1.7;
    margin-top: 10px; 
    margin-bottom: 0; 
}

/* ===== SEÇÃO 2: BARRA DE CRÉDITOS (SEMIT + Copyright) ===== */
.footer-credits {
    background-color: #1a75ab; 
    padding: 20px 40px; 
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center;
    font-size: 0.9rem;
    gap: 15px; 

    max-width: 1200px; 
    margin: 0 auto; 
    
}

.credits-semit {
    font-weight: 500;
}

.credits-semit strong {
    font-weight: 700;
}

.credits-semit span {
    display: block; 
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 3px;
}

.credits-copyright {
    font-weight: 500;
}


/* ======================================== */
/* RESPONSIVIDADE (CELULAR)      */
/* ======================================== */
@media (max-width: 768px) {
    
    .footer-main-wrapper {
        padding: 20px 15px; 
    }

    .footer-main {
        flex-direction: column; 
        text-align: center; 
        align-items: center; 
        gap: 30px; 
    }

    
    .footer-info {
        text-align: center; 
    }
    
    .footer-credits {
        flex-direction: column; 
        justify-content: center; 
        text-align: center;
        padding: 15px; 
        margin: 0 auto; 
        max-width: 100%; 
    }
    
    .credits-semit span {
        display: inline;
        margin-top: 0;
        margin-left: 5px;
    }

    .credits-copyright {
        text-align: center; 
        margin-top: 10px; 
    }
}