* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins, sans-serif;
}

body {
  background-color: #e3e3e3;
}

.interface {
  max-width: 1280px;
  margin: 0 auto;
}

.interface img {
  /* max-width: 100%; */
  height: auto;
  width: 400px;
  margin-right: -40px;
  /* display: flex; */
}

section.hero-site {
  padding-top: 70px;
  height: 90vh;
  background-image: url(../img/background/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-site .interface {
  display: flex;
  align-items: center;
  justify-content: center; /* Adicionado para centralizar */
  height: 100%;
  padding: 0 20px; /* Adicionado para evitar colar nas bordas */
}

.txt-hero {
  max-width: 100%;
  word-wrap: break-word; /* Quebra o texto se for maior que o espaço */
}

.hero-site .txt-hero h1 {
  font-size: 4em;
  line-height: 70px;
  font-weight: 200;
}

.hero-site .txt-hero h1 span {
  display: block;
  font-weight: 800;
}

.hero-site .txt-hero P {
  font-size: 20px;
  font-weight: 300;
  margin: 20px 0;
}

.hero-site .txt-hero p span {
  display: block;
  margin: 10px 0;
}

.hero-site button {
  background-color: firebrick;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: 0.5s;
}

/* Carrossel PROMOCIONAL */

.promo {
  margin-top: 80px;
  margin-bottom: 120px;
}

.carousel {
  position: relative;
  overflow: hidden;
  margin: 20px auto;
  max-width: 90%;
  background: transparent;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel img {
  width: 400px;
  border-radius: 5px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: firebrick;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}

.carousel-button:hover {
  background-color: firebrick;
}

/* Estilo dos Cards */
.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  min-width: 440px;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card h2 {
  margin-top: 0;
  color: firebrick;
}

/* CARROSSEL DA COMUNIDADE */

.slider {
  max-width: 960px;
  width: 100%;
  height: 500px;
  border-radius: 16px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 40px;
}
.list {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  width: max-content;
  transition: 1s;
}

.list img {
  width: 960px;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
}
.buttons {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
}

.buttons button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff5;
  color: #fff;
  border: none;
  font-family: monospace;
  font-weight: bold;
}

.dots {
  position: absolute;
  bottom: 10px;
  color: #fff;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 20px;
  border-radius: 20px;
  transition: 1s;
}

.dots li.active {
  width: 30px;
}

.slider-section h2 {
  text-align: center;
  margin: 20px 0;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 800;
  color: firebrick;
}

.slider-section p {
  text-align: justify;
  padding-left: 40px;
  padding-right: 40px;
  margin-left: 80px;
  margin-right: 80px;
  font-size: 1.2em;
  font-weight: 300;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.slider-section {
  margin: 50px 0;
}

/*  CAMPFIRE */

.campfire-section {
  background-color: #f14312;
  padding: 20px 20px;
  margin: 10px auto;
  border-radius: 12px;
  max-width: 960px;
  margin-bottom: 40px;
}

.campfire-content {
  border: 4px double white; /* borda dupla, cor branca */
  padding: 20px 20px 20px 40px; /* espaço entre borda e conteúdo */
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; /* ajuda no responsivo */
}

.campfire-texto {
  flex: 1;
  min-width: 280px;
}

.campfire-texto h2 {
  color: white;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 15px;
}

.campfire-texto p {
  font-family: "Bebas Neue", sans-serif;
  color: white;
  text-align: justify;
  font-size: 18px;
  line-height: 1.6;
}

.campfire-imagem {
  flex: 1;
  min-width: 220px;
  display: flex;
  justify-content: center;
}

.campfire-imagem img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.comunidade {
  margin-top: 120px;
  margin-bottom: 120px;
  background-color: #e3e3e3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%236aa7bf' fill-opacity='0.18'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  padding-top: 38px;
  padding-bottom: 20px;
}
.comunidade h2 {
  text-align: center;
  margin: 20px 0;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 800;
  color: firebrick;
}

.comunidade p {
  text-align: justify;
  padding-left: 40px;
  padding-right: 40px;
  margin-left: 80px;
  margin-right: 80px;
  font-size: 1.2em;
  font-weight: 300;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hidden {
  opacity: 0;
  filter: blur(15px);
  transform: translateX(-100%);
  transition: all 1s;
}

.show {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(0);
  transition: all 1s;
}

.bairros {
  display: flex;
  flex-wrap: wrap; /* permite quebrar linha */
  justify-content: center; /* centraliza horizontalmente */
  gap: 10px;
}

.bairro {
  height: 160px;
  border-radius: 8px;
  margin: 3px;
  flex: 1 1 160px; /* permite que elas se adaptem */
  max-width: 200px; /* limite por imagem */
  object-fit: cover;
}

.bairros > div:nth-child(2) {
  transition-delay: 200ms;
}
.bairros > div:nth-child(3) {
  transition-delay: 500ms;
}
.bairros > div:nth-child(4) {
  transition-delay: 800ms;
}
.bairros > div:nth-child(5) {
  transition-delay: 1100ms;
}
.bairros > div:nth-child(6) {
  transition-delay: 1400ms;
}

.inicialmap {
  height: 540px;
  border-radius: 12px;
  max-width: 960px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaflet-popup-content-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.leaflet-popup-tip {
  background: transparent !important;
  border: none !important;
}
  .leaflet-popup-content-wrapper {
    height: auto;
    max-width: 400px !important; /* Ajuste o valor conforme necessário */
  }

  .leaflet-popup-content img {
    width: 220px !important;
    height: 120px !important;
      
  }
  
@media screen and (max-width: 600px) {
  .hero-site .interface {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .interface img {
    /* max-width: 100%; */
    width: 200px;
    margin-right: 0px;
    margin-bottom: -10px;
    /* display: flex; */
  }

  .hero-site .txt-hero h1 {
    font-size: 2.2em;
    /* Ajusta o tamanho da fonte */
    line-height: 40px;
  }

  .hero-site .txt-hero h1 span {
    display: block;
    font-weight: 600;
  }

  .hero-site .txt-hero P {
    font-size: 20px;
    font-weight: 300;
    margin: 20px 0;
  }

  .hero-site .txt-hero p span {
    display: block;
    margin: 10px 0;
  }

  .hero-site button {
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 300;
  }

  .promo {
    margin-top: 40px;
    margin-bottom: 80px;
  }

  .carousel {
    margin: 10px auto;
  }

  .carousel img {
    width: 285px;
    border-radius: 5px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }

  .carousel-button {
    background-color: transparent;
    color: black;
    padding: 5px;
  }

  .carousel-button.left {
    left: 2px;
  }

  .carousel-button.right {
    right: 2px;
  }

  .carousel-button:hover {
    background-color: transparent;
  }

  /* Estilo dos Cards */
  .card {
    padding: 20px;
    min-width: 440px;
    margin-right: 20px;
    transition: transform 0.3s ease;
  }

  .card:hover {
    transform: scale(1.03);
  }

  .slider {
    width: auto;
    height: 220px;
    border-radius: 12px;
    margin: 20px;
  }

  .buttons button {
    width: 20px;
    height: 20px;
  }

  .dots {
    position: absolute;
    bottom: 4px;
    color: #fff;
    left: 0;
    width: 100%;
  }

  .dots li {
    list-style: none;
    width: 5px;
    height: 5px;
    background-color: #fff;
    margin: 20px;
  }

  .dots li.active {
    width: 20px;
  }

  .slider-section h2 {
    margin: 20px 0;
    margin-bottom: 40px;
  }

  .slider-section p {
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .slider-section {
    margin: 50px 0;
  }

  /*  CAMPFIRE */

  .campfire-section {
    background-color: #f14312;
    padding: 20px 20px;
    margin: 10px 20px;
    border-radius: 12px;
    max-width: 6000px;
    margin-bottom: 60px;
  }

  .campfire-content {
    border: 4px double white; /* borda dupla, cor branca */
    padding: 10px 20px; /* espaço entre borda e conteúdo */
    border-radius: 10px;
    display: block;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap; /* ajuda no responsivo */
  }

  .campfire-texto {
    flex: 1;
    padding-right: 40px;
    max-width: 280px;
  }

  .campfire-texto h2 {
    font-weight: 100;
    font-size: 22px;
    margin-bottom: 15px;
  }

  .campfire-texto p {
    text-align: justify;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .campfire-texto a {
    color: #fbfbfb;
  }

  .campfire-imagem {
    flex: 1;
    min-width: 220px;
    display: flex;
    justify-content: center;
  }

  .comunidade {
    margin-top: 20px;
    margin-bottom: 120px;
    padding-top: 38px;
    padding-bottom: 20px;
  }
  .comunidade h2 {
    margin: 20px 0;
    margin-bottom: 40px;
  }

  .comunidade p {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .bairros {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    justify-content: center; /* centraliza horizontalmente */
    gap: 4px;
  }

  .inicialmap {
    height: 240px;
    border-radius: 12px;
    max-width: 960px;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .leaflet-popup-content-wrapper {
    height: auto;
    max-width: 200px !important; /* Ajuste o valor conforme necessário */
  }

  .leaflet-popup-content img {
    width: 120px !important;
    height: 68px !important;
  }
}

