/* ----------------------------
   🌐 1. Estilização Global
---------------------------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
  overflow-x: hidden; /* Evita rolagem lateral */
}

h1, h2, h3, h4 {
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------
   🔰 Logo e Header
---------------------------- */
.container-header {
  max-width: 1200px;
  margin: 0.1%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 30px;
  width: auto;
  border-radius: 4px;
  margin-left: -10px;
}

header {
  background-color: #0e0e0e;
  color: rgb(0, 0, 0);
  padding: 20px;
  text-align: center;
}

nav a {
  margin: 0 15px;
  color: #ffffff; /* Cor inicial */
  text-decoration: none !important;
  font-weight: bold;
  transition: color 0.3s ease; /* Efeito suave de transição */
}

nav a:hover {
  color: #49ff38; /*ao passar o mouse mudar a cor*/
}

/* ----------------------------
   Página do sobre
---------------------------- */
.feature {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background: url('img/telaFundoSobre.png') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  transition: filter 0.2s ease, background-size 0.2s ease, opacity 0.2s ease;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.765);
  z-index: 1;
}

.sobre-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 170px auto;
  padding: 20px;
  text-align: center;
}

.sobre-titulo h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2d6a4f;
  
}

.sobre-titulo p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #444;
  
}

.sobre-titulo2 p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #444;
}

/* ----------------------------
   5. Localização (mapa)
---------------------------- */
.localizacao {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.localizacao h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #418b2e;
}

.localizacao iframe {
  border-radius: 12px;
  width: 90%;
  height: 300px;
  border: none;
}

/* ----------------------------
   6. Botões de Ação
---------------------------- */
.botoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 10px;
  margin-bottom: 45px;
}

.botoes a {
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  background-color: #25D366;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.botoes a:hover {
  background-color: #1ebe56;
}

.botoes a.instagram {
  background-color: #E1306C;
}

.botoes a.instagram:hover {
  background-color: #b72b58;
}

/* ----------------------------
   Botão Voltar ao Topo
---------------------------- */
#voltarTopo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: #2da756;
  color: rgb(255, 255, 255);
  border: none;
  padding: 25px 35px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
}

#voltarTopo.show {
  display: block;
}

/* ----------------------------
   7. Rodapé
---------------------------- */
.destaque {
  color: #18a2e2; 
  font-weight: bold; /* opcional: deixa em negrito */
}

.cnpj {
  color: #ffffff; 
  font-weight: bold; /* opcional: deixa em negrito */
}


.rodape {
  background-color: #000000; /* cor escura elegante */
  color: #ffffff; /* texto suave */
  text-align: center;
  padding: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.rodape a {
  color: #ffffff; 
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.rodape a:hover {
  color: #49ff38; /*ao passar o mouse mudar a cor*/
  text-decoration: underline;
}


/* ----------------------------
   8. Responsividade para tela pequena
---------------------------- */
@media (max-width: 768px) {
  .feature {
    background-attachment: scroll;
    background-size: cover;
    height: 100vh;
  }

  .logo {
    height: 1.55em;
    width: 7.25em;
  }

  nav a {
    margin: 0 5px;
  }

  .sobre-titulo h1 {
    font-size: 2rem;
  }

  .sobre-titulo p {
    font-size: 1rem;
  }

  #voltarTopo {
    display: none !important;
  }
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
  .rodape {
    font-size: 13px;
    padding: 15px;
  }

  .localizacao h3 {
    font-size: 1.5rem;
  }

  .localizacao iframe {
    height: 250px;
  }
}
