.flag {
  width: 1rem;
  margin-right: .5rem;
}

.menu-tag {
  background-color: var(--cnvs-themecolor);
  color: white;
  padding: 1vh;
  margin: 0.7vh 0 0.7vh 0;
  border-radius: 5px;
}

.menu-tag a {
  color: white;
}

.lfooter {
  margin: 2vh 0 2vh 0;
}

.footer-nac {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  /* ocupa toda a largura do footer */
  margin: 1dvh 0;
}

.footer-nac .fl {
  flex-grow: 2;
  padding: 1dvh;
  min-width: 0;
}

.footer-nac .fc,
.footer-nac .ft {
  flex-grow: 1;
  padding: 1dvh;
  min-width: 0;
}

.fc a {
  color: white;
}

.justify {
  text-align: justify;
}

.centralizar {
  justify-content:space-around;
}

.tag  {
  content: "";
  position: absolute;
  top: 1dvh;
  transform: skew(-10deg);
  left: -1dvh;
  width: 5rem;
  height: 2rem;
  background-color: var(--cnvs-secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
}

.ton {
  font-size: 1.5vh !important;
  font-weight: 500 !important;
}
.ton span{
  font-size: 3vh !important;
  font-weight: 800 !important;
}

.cachoeira {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.cascata {
  max-width:20rem;
  max-height: 6rem;
  margin: 1rem 0 1rem 0 ;
}

.selecao {
  cursor: pointer;
}

.video-wrapper {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  cursor: pointer; 
  border-radius: 5px;
  box-shadow: 10px 10px 25px gray;
}

.video-container iframe,
.video-capa {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Garante que a capa fique por cima do vídeo inicialmente */
.video-capa {
  z-index: 2;
  object-fit: cover;
}


.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--cnvs-themecolor) 80%, transparent);
  border-radius: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button::before {
  content: '';
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

.video-container:hover .play-button {
  background: rgba(255, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
  transition: all 0.2s ease;
}

/* Classe que esconde a capa e o botão quando o vídeo iniciar */
.video-container.ativo .video-capa,
.video-container.ativo .play-button {
  display: none;
}

.cartao-container {
  display: flex;
  justify-content: center;
  gap: 24px; /* Espaço entre os cards */
  flex-wrap: wrap; 
}

.cartao {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  width: 320px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
  display: flex;
  flex-direction: column;
}

.cartao img {
  width: 100%;
  height: 140px; 
  object-fit: cover; 
}

.cartao-content {
  padding: 24px 20px;
  text-align: center;
}

.cartao-content h3 {
  color: var(--cnvs-themecolor); 
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0;
}


.google-maps {
	background-color: #ffffff;
	color: #5f6368;
	border: 1px solid #dadce0;
}

.waze {
	background-color: #33CCFF;
	color: #000000;
}

.mapsn{
  border-radius: 5px;
  filter: drop-shadow(5px 5px 5px gray);
}

.bloco-nac {
  background-color: white;
  max-width: 60%;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgb(144, 144, 144);
  margin-top: 5rem;
}

.aviso {
  background-color: var(--cnvs-themecolor);
  max-width: 90%;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 10px 10px 10px rgb(144, 144, 144);
  color: white;
}

.case-s {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: rgb(240, 240, 240);
  padding: 0.3rem 1rem 2rem 1rem; /* Reduzido levemente o padding inferior */
  width: 98%;
  align-self: center;
  margin: 0 auto 20px auto;       /* Adicionada margem inferior para separar um quadro do outro */
  min-height: 260px;
  height: auto;                   /* Permite crescer de forma flexível sem travar */
  position: relative;
  box-sizing: border-box;
  overflow: hidden;               /* Garante que nada vaze para fora do card */
}

.case-s li + li{
  display: flex;
  margin: 0;
}

.case-s p {
  margin: 0.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
}

.case-s h3 {
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.case-s .n{
  margin: 0;
  font-weight: 700;
}

.case-s::after {
  content: "";
  background-color: var(--cnvs-themecolor);
  width: 150%;
  height: 2rem;
  position:absolute;
  bottom: 0px;
  left: 0px;
  transform: translate(-5%, -0%);
  clip-path: polygon(0 5px, 100% 0, 100% 100%, 0 100%);
}

.title-nac {
  color: var(--cnvs-themecolor) ;
  font-weight: bold;
  line-height: 1;
  font-style: italic;
  border-bottom: none ; 
  display: block ;
  position: relative ;
  padding-left: 115px ; 
  padding-bottom: 8px ; 
  margin-bottom: 15px ;
}
.title-nac span{
  color: rgb(118, 118, 118) !important;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;

}

.title-nac::before {
  content: "" ;
  position: absolute ;
  top: 0 ;
  bottom: 0 ; 
  left: 0 ;
  width: 6rem ;
  min-width: 2rem ;
  display: block ;
  visibility: visible ;
  opacity: 1;
  background-color: #c0c0c0; 
  border-radius: 0 5px 5px 0;
}

.title-nac::after {
  content: "";
  display: block;
  visibility: visible;
  opacity: 1;
  position: absolute;
  bottom: 0; 
  left: 115px; 
  width: calc(100% - 7.2rem); 
  height: 2px;
  background-color: var(--cnvs-themecolor);
}

.espaco {
  padding: 6vh 0 0 0;
}
.certificados {
  display: flex;
  flex-wrap: balance;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: row;
}
.cert {
  flex-grow: 1;
  flex-basis: 200;
  max-width: 190px;
}

.line2 {
  clear: both;
  position: relative;
  width: 100%;
  margin: 3dvh 0dvh 3dvh 0dvh;
  border-top: 1px solid rgba(var(--cnvs-contrast-rgb), 0.1);
}

.title-bg {
  display: flex !important;
  justify-content: center;
  align-items: center;
  overflow: hidden;         /* corta o excesso da imagem */
  max-height: 60vh !important;         /* altura máxima em telas grandes */
}

.title-img {
  width: 100%;              /* ocupa toda a largura */
  height: auto;             /* mantém proporção */
  object-fit: cover;        /* mantém efeito cover */
 
}

/* Modal */
.modalrevista {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;

}

.modalrevista.ativo {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modalrevista-content {
  background: #ffffff;
  position: relative;
  border-radius: 10px;
  

  /* Se ajusta ao conteúdo interno */
  display: inline-block;

  /* Margem interna para respiro */
  padding: 40px 20px 20px;
  box-sizing: content-box;

  /* Pequena sombra para destacar */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#fechar {
  position: absolute;
  top: 2px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  z-index: 2000;
}

#flipbook {
  margin: auto;
  filter: drop-shadow(0 0 0.75rem rgb(187, 187, 187));
}

/* Botões laterais */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3dvh;
  border-radius: 5px;
  height: 70%;
  background: rgba(255, 255, 255, 0.621);
  color: var(--cnvs-themecolor);
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1500;
}
#prevPage { left: -4dvh; }
#nextPage { right: -4dvh; }

.btnrevista {
  background-color: var(--cnvs-themecolor);
  border-radius: 5px;
  border: none;
  color: white;
  font-size: 1em;
  padding: 1.5dvh;
  font-weight: 700;
}

@media (max-width:1400px){
  .mobile3 {
    display: none;
  }
}

@media (max-width: 1024px){
   .title-bg {
    max-height: none;       /* remove limite de altura */
    padding: 0;
  }

  .title-img {
    object-fit: contain;    /* mostra a imagem inteira */
    transform: none;
  }
}

@media screen and (max-width: 1400px) {
  .mobile {
    display: none;
  }

  .title-img {
    object-fit: contain;    /* mostra a imagem inteira */
    transform: none;
  }


  .footer-nac .fl {
    flex: 1 1 100%;
    /* ocupa toda a largura na primeira linha */
  }

  .footer-nac .fc,
  .footer-nac .ft {
    flex: 1 1 50%;
    /* descem e dividem igualmente a segunda linha */
  }
}

@media  (min-width: 1400px) {
  .mobile2 {
    display: none;
  }
}

@media (max-width:900px){
    .bloco-nac {
  max-width: 90%;
}
}

@media (max-width:768px){
 .title-bg {
    max-height: none;       /* remove limite de altura */
    padding: 0;

  }

  .title-img {
    object-fit: contain;    /* mostra a imagem inteira */
    transform: none;
  }

}

@media (max-width: 600px) {

  .mfp-title {
  position: absolute;
  left: 50%;
  bottom: -15vh;
  top: auto;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  line-height: 1.35;
  color: var(--cnvs-mfp-caption-title-color);
  word-wrap: break-word;
  padding: var(--cnvs-mfp-title-padding);
  background: rgba(39, 60, 68, 0.2);
  -webkit-backdrop-filter: blur(3em);
  backdrop-filter: blur(3em);
  border-radius: var(--cnvs-mfp-title-border-radius);
}

  .espaco {
  padding: 2vh 0 8vh 0;
}
  .footer-nac .fc,
  .footer-nac .ft {
  flex: 1 1 100%;
  }
}

 .map {
  margin:10px;
  position: relative;
  display: inline-block;
  filter: drop-shadow(#404040 2px 2px 6px);
}

.map img {
  max-width:100%;
  display: block;
  border-radius: 5px;
}

.box {
  width:8%;
  height:8%;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
}

#pin-1 {
  top:18%;
  left:11%;
}
#pin-2 {
  top: 45%;
  left:35%;
}

.box:hover > .pin-text {
  display: block;
}

.pin-text1 {
  position: absolute;
  background-color: var(--cnvs-themecolor);
  padding: clamp(4px, calc(2.286px + 0.476vw), 8px) clamp(8px, calc(4.571px + 0.952vw), 16px);
  border-left: 4px solid #fff;
  top:50%;
  transform:translateY(-50%) skew(-10deg);
  left:75%;
  white-space:nowrap;
  filter: drop-shadow(#00000094 8px 8px 6px);
  
    
 }   

.pin-text1 h3 {
    color:white;
    text-shadow: 2px 2px #000;

}

.card-title {
    font-size: clamp(1rem, 5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
    font-family: "Oswald", sans-serif;
}

.card-subtitle {
    position: absolute;
    bottom: -25px; 
    left: 10px;   
    background-color: var(--cnvs-secondary-color); 
    color: black;            
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 800;
    padding: clamp(2px, calc(1.143px + 0.238vw), 4px) clamp(4px, calc(2.286px + 0.476vw), 8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Mantém a mesma inclinação do card principal */
    transform: skew(0deg);
    font-family: "Oswald", sans-serif;
}