html,
body {
  width: 100vw;
  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;
  padding-top: 70px; /* Compensation for fixed menu */
}

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

#intro-video p {
  hyphens: none;
}

.parentheses-italic {
  font-style: italic;
}

.not-italic {
  font-style: normal !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: white !important;
}

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

/* 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: auto;
  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%;
}

.boat-icon {
  pointer-events: none;
  z-index: 999;
}

/* 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;
  }

  .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: 20px;
  font-weight: 600; /* Semi-bold para melhor legibilidade */
  line-height: 1;
  margin: 20px 0;
  padding: 0;
  color: white;
  font-family: "Segoe UI", Roboto, -apple-system, sans-serif; /* Fonte moderna */
  letter-spacing: 0.1px; /* Melhora a legibilidade */
  width: 100%;
  max-width: 800px; /* Largura máxima ideal para leitura */
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .titulo-assine {
    font-size: 18px;
    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 {

}

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;
}

.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; /* Redefine a linha */
  font-size: 13px;
  z-index: 5;
  padding-bottom: 40px;
}

#footer img {
  transform: scale(0.1);
  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;
}

#aventura {
  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;
}

.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;
}
