html,


#cap3 {
  width: 60vw;
  max-width: 100vw;
  overflow-x: hidden;
}



@font-face {
  font-family: "GreenpeaceSans";
  src: url("../fonts/GreenpeaceSans.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "WorkSans";
  src: url("../fonts/WorkSans.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: "GreenpeaceSans", "WorkSans", "Segoe UI", sans-serif;
  
}

p {
  font-family: "WorkSans", sans-serif;
  hyphens: auto;
}

#intro-video p {
  hyphens: none;
}

h2,
h3,
h4,
h5,
h6 {
  /* font-family: GreenpeaceSans; */
  color: white !important;
  /*font-family: "Work Sans";*/
}

h1{
  /* font-family: GreenpeaceSans; */
  color: white !important;
  /*font-family: "Work Sans";*/
}

/* Container principal - alinha as imagens em linha */
#aventura {
  display: flex;
  flex-direction: column;
  align-items: center;
}


a[href] {
    color: white !important;
}

/* Sobrescrever especificamente para o menu */
.menu-desktop a[href] {
    color: #000000 !important; /* ou a cor original que desejar */
}


/* Container das imagens (linha) */
.aventura-container {
  display: flex;
  justify-content: space-between; /* Distribui igualmente */
  width: 90%;
  max-width: 1200px; /* Limita a largura */
  gap: 20px; /* Espaço entre imagens */
}

/* Remove os alinhamentos individuais (esquerda/centro/direita) */
.div-esquerda,
.div-centro,
.div-direita {
  display: flex;
  justify-content: center;
  padding: 0;
  flex: 1; /* Cada imagem ocupa espaço igual */
}

/* Ajuste das imagens */
.florestas {
  width: 100%;
  height: 600px;
  border-radius: 8px; /* Opcional: bordas arredondadas */
  object-fit: cover; /* Garante que a imagem cubra o container */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



/* Container da imagem + texto (responsivo) */
.imagem-com-texto {
  position: relative;
  width: 100%;
}

.imagem-com-texto::after {
  content: "Nilmar Lage/Greenpeace";
  font-family: "WorkSans", sans-serif;
  white-space: pre-wrap;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  font-size: 10px;
  line-height: 1.3;
  border-radius: 4px;
  max-width: 250px;
  text-align: right;
  z-index: 10;
}

#ultima {

}

/* Texto sobreposto */
.texto-imagem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em;
  font-weight: bold;
  text-shadow: 0 0 15px black;
  max-width: 80%; /* Limita a largura para evitar que o texto ultrapasse a imagem */
  text-align: center; /* Centraliza o texto */
  word-wrap: break-word; /* Permite quebra de palavras longas */
  white-space: pre-line; /* Quebra em espaços ou \n */
}

/* Mobile (mantém o empilhamento vertical) */
@media screen and (max-width: 767px) {
  .aventura-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #cap3 {
    width: 90vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .florestas {
    width: 90%;
    max-height: 200px;
  }
}

/* Efeito hover */
.florestas:hover {
  transform: scale(1.03);
}

.imagem-com-texto {
  position: relative;
  display: inline-block; /* Para não ocupar largura total */
}

.texto-imagem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2em;
  font-weight: bold;
  white-space: nowrap;
  z-index: 2;
  max-width: 80%; /* Limita a largura para evitar que o texto ultrapasse a imagem */
  text-align: center; /* Centraliza o texto */
  word-wrap: break-word; /* Permite quebra de palavras longas */
  white-space: pre-line; /* Quebra em espaços ou \n */
}

/* Ajuste de espaçamento entre imagens */
.img-container {
  margin: 20px 0;
}

/* Efeito hover melhorado */
.imagem-com-texto:hover .texto-imagem {
  font-size: 3.2em;
  transition: all 0.3s ease;
}

.imagem-com-texto:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

.titulo-assine {
  text-align: center;
  font-size: 40px;
  font-weight: 600; /* Semi-bold para melhor legibilidade */
  line-height: 1;
  margin: 20px 0;
  padding: 0;
  color: white;
  letter-spacing: 0.1px; /* Melhora a legibilidade */
  width: 100%;
  max-width: 800px; /* Largura máxima ideal para leitura */
  margin-left: auto;
  margin-right: auto;
}

.link-assine {
  display: inline-block;
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  margin: 20px 0;
  padding: 0;
  color: white;
  letter-spacing: 0.1px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  transition: all 0.3s ease; /* animação suave */
}

/* efeito ao passar o mouse */
.link-assine:hover {
  color: #FFD700; /* muda a cor do texto */
  text-decoration: underline; /* destaca como link */
  transform: scale(1.20); /* leve aumento */
}

@media (max-width: 768px) {
  .titulo-assine {
    font-size: 1.2em;
    margin: 15px 10px;
    line-height: 1;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==================== */
/* FIXED MENU SOLUTIONS */
/* ==================== */
html {
  scroll-padding-top: 70px; /* Space for fixed menu */
}

body {
  padding-top: 70px; /* Compensation for fixed menu */
}

section,
.step {
  scroll-margin-top: 70px; /* Ensure chapters don't hide under menu */
  position: relative;
}

.step h2 {
  font-size: 2.2em;
  line-height: 1.3;
  margin-bottom: 0.8em;
}

/* HD */
@media ((max-width: 1366px) and (min-width: 769px)) {
  .step h2 {
    font-size: 2em;
    line-height: 1.1;
    margin-bottom: 0.8em;
  }
}

.step p {
  font-size: 1.3em;
  line-height: 1.5;
}



/* ==================== */
/* REST OF YOUR STYLES */
/* ==================== */

/* Ajuste especial para o primeiro capítulo */
#features > .step:first-child {
  padding-top: 120px; /* Espaço extra para o menu fixo */
  margin-top: -30px; /* Compensação para não criar espaço em branco */
  scroll-margin-top: 70px; /* Alinhamento com os demais capítulos */
}

a,
a:hover,
a:visited {
  color: #0071bc;
}

#map {
  top: 50px; /* Adjusted for fixed menu */
  height: calc(100vh - 50px);
  width: 100vw;
  position: fixed;
}

#header {
  position: fixed;
  margin: auto;
  width: 100%;
  z-index: 5;
  top: 70px; /* Below fixed menu */
}

#header h1,
#header h2,
#header p {
  margin: 0;
  padding: 2vh 2vw;
  text-align: center;
}

#headerfixo {
  margin: auto;
  width: 100%;
  position: fixed;
  z-index: 5;
}

#headerfixo h1 {
  margin: 0;
  padding: 2vh 2vw;
  text-align: center;
}

#footer {
  width: 100%;
  text-align: center;
  line-height: normal;
  font-size: 13px;
  position: relative;
  z-index: 5;
  padding: 20px; /* espaço interno para o fundo aparecer */

  background: rgba(0, 0, 0, 0.35); /* preto com 35% de transparência */
  border-radius: 15px; /* borda arredondada */

  display: inline-block;
}

#footer img {
  width: 150px; 
  transform-origin: bottom;
}

/* Mobile */
@media (max-width: 768px) {
  #footer img {
    /*transform: scale(0.5); /* Valor diferente para mobile */
    max-width: 100%;
  }
}


#assine {
  width: 100%;
  text-align: center;
  line-height: normal;
  font-size: 13px;
  position: relative;
  z-index: 5;
}


#features {
  padding-top: 0;
  margin-top: 0;
}

.hidden {
  visibility: hidden;
}

.centered {
  width: 50vw;
  margin: 0 auto;
}

.lefty {
  width: 33vw;
  margin-left: 5vw;
}

.righty {
  width: 33vw;
  margin-left: 62vw;
}

/* HD */
@media ((max-width: 1366px) and (min-width: 769px)) {
  .righty {
    width: 49vw;
    margin-left: 50vw;
  }
}

.fully {
  width: 100%;
  margin: auto;
}

.light {
  color: #444;
  background-color: #fafafa;
}

.dark {
  color: #fafafa;
  background-color: #444;
}

.step#intro-video.dark {
  background-color: transparent !important;
}

.step {
  padding-bottom: 20vh;
  padding-top: 20px;
  margin-top: -20px;
  opacity: 1;
}

.step.active {
  opacity: 1;
}

.step div {
  /*padding: 25px 50px;*/
  line-height: 25px;
  /*font-size: 13px;*/
}

.step img {
  width: 100%;
}

/* Fix issue on mobile browser where scroll breaks  */
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,
.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan
  .mapboxgl-canvas {
  touch-action: unset;
}

#intro-video.dark > div {
  background: none !important;
  background-color: transparent !important;
}
