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

body,
html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: transparent;
  scroll-behavior: smooth;
}

/* Tela de carregamento */
#preloader {
  position: fixed;
  z-index: 2000;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

/* Círculo animado */
.loader {
  border: 6px solid #ffffff30;
  border-top: 6px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Animação de rotação */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Quando finalizado */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}


/* Menu Superior */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

.logo img {
  height: 50px;
}

/* Botão Hamburguer com Animação para X */
.menu-toggle {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  height: 4px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Modal */
.menu-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 999;
}

.menu-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Navegação no Modal */
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.menu-nav a {
  font-size: 2rem;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, color 0.3s;
}

.menu-nav a:hover {
  transform: scale(1.08);
  color: rgb(155, 119, 0);
}



#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

.hero-principal {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(80, 0, 0, 0.4) 80%);
}
.hero-contato {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background: linear-gradient(rgb(129, 129, 129) 0%, rgb(146, 146, 146) 80%);
}


.content-section2 {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: white;
  text-align: center;
  /*background: radial-gradient(circle at center, rgba(80, 0, 0, 0.0) 0%, rgba(80, 0, 0, 0.9) 80%); */
}

.section-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;

}



.secao-galeria {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: rgb(27, 27, 27);
  text-align: center;
  backdrop-filter: blur(0px);
  background: rgba(255, 255, 255, 1);
}



.botao-fale-com-consultor1 {
  margin-top: 25px;
  margin-bottom: 25px;
}

.botao-email {
  margin-top: 45px;
  margin-bottom: 25px;
}
.botao-whatsapp {
  margin-top: 35px;
  margin-bottom: 25px;
}

.botao {
  background-color: rgb(161, 161, 161);
  margin-top: 50px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 40px;
  text-decoration: none;
  color: rgb(80, 0, 0);
  box-shadow: 0px 2px 10px 2px rgba(61, 61, 61, 1);
  transition: all 1s ease;
}

.botao:hover {
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 22px 5px rgb(255, 255, 255, 0.5);
}

.botao2 {
  background-color: rgb(161, 161, 161);
  margin-top: 250px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 20px;
  padding-left: 20px;
  border-radius: 40px;
  text-decoration: none;
  color: rgb(80, 0, 0);
  box-shadow: 0px 2px 10px 2px rgba(61, 61, 61, 0.2);
  transition: all 1s ease;

}

.botao2:hover {
  background-color: rgb(80, 0, 0);
  color: white;
  box-shadow: 0px 0px 22px 5px rgba(133, 1, 1, 0.5);
}


.svg-container svg {
  width: 100%;
  max-width: 1200px;
  height: auto;
}

.cls-2 {
  transition: transform 1s ease;
  transform-box: fill-box;
}

.secao-pensando-em-construir {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  color: rgb(27, 27, 27);
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background: rgba(255, 255, 255, 1);
  /*border-top: 5px solid rgb(80, 0, 0);
  border-bottom: 5px solid rgb(80, 0, 0);*/
  box-shadow: 0px -2px 22px 5px rgba(0, 0, 0, 0.2);
}


.fade-scroll {
  opacity: 0;
  transform: translateY(40px);
}

.galeria {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 2rem;
}

.galeria img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  object-fit: cover;
}

.galeria img:hover {
  transform: scale(1.05);
}

.secao-oportunidades {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: rgb(255, 255, 255);
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background: rgb(75, 75, 75);
  /*border-top: 5px solid rgb(80, 0, 0);
  border-bottom: 5px solid rgb(80, 0, 0);*/
  box-shadow: 0px 2px 22px 5px rgba(0, 0, 0, 0.2);
}

.secao-oportunidades p {
  max-width: 50vw;
}

.div-redes-sociais {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  display: flex;
  flex-direction: row;
  gap: 1vw;
  align-items: center;
  justify-content: center;
  padding-bottom: 1rem;
  color: rgb(27, 27, 27);
  text-align: center;
  
}

.secao-rodape {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: rgb(255, 255, 255);
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background: rgb(17, 17, 17);
  /*border-top: 5px solid rgb(80, 0, 0);
  border-bottom: 5px solid rgb(80, 0, 0);*/
}

.secao-rodape a {
  color: rgb(241, 89, 0);
  text-decoration: none;
}
.espacamento1 {
  background: linear-gradient(rgba(80, 0, 0, 0.4) 0%, rgba(255, 255, 255, 0) 80%);
  min-height: 40vh;
}

.espacamento2 {
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(80, 0, 0, 0.4) 80%);
  min-height: 40vh;
}

.secao-sobre-a-rtz {
  position: relative;
  /* necessário para posicionar vídeo dentro */
  overflow: hidden;
  /* evita que o vídeo vaze para fora */
  max-height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 2vh;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: rgb(27, 27, 27);
  text-align: center;
  /*backdrop-filter: blur(5px);*/
  background: rgba(255, 255, 255, 1);
  /*border-top: 5px solid rgb(80, 0, 0);
  border-bottom: 5px solid rgb(80, 0, 0);*/
  box-shadow: 0px -2px 22px 5px rgba(0, 0, 0, 0.2);

}

.secao-sobre-a-rtz p {
  max-width: 50vw;
}

.colunas {
  display: flex;
  flex-direction: row;
  gap: 2rem;

}

.contato {
  display: flex;
  flex-direction: row;

}

.colunas ion-icon {
  font-size: 60px;
  /* ou 2rem, 1.5em etc. */
  color: rgb(155, 119, 0);
  transition: all 0.3s ease;
}

.contato ion-icon {
  font-size: 60px;
  /* ou 2rem, 1.5em etc. */
  color: rgb(155, 119, 0);
  transition: all 0.3s ease;
}

.div-redes-sociais ion-icon {
  font-size: 40px;
  /* ou 2rem, 1.5em etc. */
  color: rgb(255, 255, 255);
  transition: all 0.3s ease;
}

.div-redes-sociais ion-icon:hover {
  color: rgb(160, 0, 0);


}
.card-contato {
  background: rgb(245, 245, 245);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 400px;
  min-width: 400px;
  margin: 20px auto;
  transition: transform 0.3s;
  padding: 2rem;
}

.card-contato:hover {
  transform: scale(1.05);
}

.ion-card {
  background: rgb(245, 245, 245);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 400px;
  min-width: 400px;
  margin: 20px auto;
  transition: transform 0.3s;
  padding: 2rem;
}

.ion-card:hover {
  transform: scale(1.05);
}

.ion-card img {
  width: 100%;
  display: block;
}

.ion-card-content {
  padding: 1.2rem;
  color: #333;
}

.ion-card-content h2 {
  margin-bottom: 0.5rem;
}

.ion-card-content p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ion-card .botao {
  display: inline-block;
  background-color: #500000;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 30px;
  background-color: #25D366;
  color: white;
  font-size: 30px;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-button:hover {
  transform: scale(1.3) rotate(360deg);
  box-shadow: 0 0px 16px 16px rgba(255, 255, 255, 0.5);
}

.svg-container {
  transition: all 1.5s ease;
  
}

.svg-container:hover {
  transform: scale(1.2);
  
}

.imagem-modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

.modal-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imagem-modal img {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

.descricao-modal {
  color: white;
  font-size: 1rem;
  margin-top: 1rem;
  max-width: 80%;
  animation: fadeIn 0.4s ease;
}

.fechar-modal {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.fechar-modal:hover {
  color: #ffcc00;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


@media (max-width: 768px) {
  .secao-oportunidades p {
    max-width: 100vw;
  }
  .colunas {
    flex-direction: column;
  }
  .contato {
    margin-top:20vh;
    flex-direction: column;
    background-color: white;
  }
  .contato h2 {
    font-size: 18px;
  }
  .contato ion-icon {
  font-size: 40px;
  /* ou 2rem, 1.5em etc. */
  color: rgb(155, 119, 0);
  transition: all 0.3s ease;
}
.hero-contato {
    background: white;
    padding: 3rem;
}
.secao-sobre-a-rtz h1 {
  font-size: 18px;
}
  .secao-sobre-a-rtz p {
    max-width: 100vw;
  }
   .galeria {
    grid-template-columns: repeat(2, 1fr); /* sempre 2 colunas mesmo em telas pequenas */
  }
  .card-contato {
  background: rgb(255, 255, 255);
  border-radius: 0px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
  overflow: hidden;
  max-width: 400px;
  min-width: 400px;
  margin: 20px auto;
  transition: transform 0.3s;
  padding: 2rem;
}
}