@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(#5B5B5B, #121010);
}

/* ================= HOME ================= */

.home {
  min-height: 100vh;
  animation: fadeIn 1s ease-out;
  position: relative;
}

.hero {
  position: relative;
  height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.textoRede{
  position: relative;
  border: 0px solid white;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  width: clamp(200px, 40vw, 330px);
  height: auto;
  font-size: clamp(1em, 2.5vw, 1.3em);
  border-radius: 5px;
  opacity: .5;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 10px;
  transition: .3s;
  padding: 0px;
}

/* ================= HEADERS ================= */

.header {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  font-size: clamp(2rem, 4vw, 2.9em);
  font-weight: 600;
  z-index: 3;
}

#head1,
#head2,
#head3 {
  opacity: 0;
}

/* animações dos textos */
#head1 {
  animation: fadeOut 3s ease-in;
}

#head2 {
  animation: fadeOut 3s ease-in;
  animation-delay: 3s;
}

#head3 {
  animation: finalFade 2s ease-in forwards;
  animation-delay: 6s;
}

#head-video {
  animation: finalFade 2s ease-in forwards;
  animation-delay: 6s;
}

/* ================= BOTÕES ================= */

.button {
  position: relative; /* já não precisa de top */
  border: 2px solid white;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  width: clamp(200px, 40vw, 330px);
  height: 55px;
  font-size: clamp(1em, 2.5vw, 1.3em);
  border-radius: 40px;
  opacity: .5;
  margin: 10px; /* separação entre botões */
  transition: .3s;
  padding: 10px;
}

.button1 {
  position: relative; /* já não precisa de top */
  border: 0px solid white;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: clamp(0.9em, 2vw, 1.3em);
  border-radius: 5px;
  opacity: .5;
  margin: 5px; /* separação entre sociais */
  transition: .3s;
  padding: 10px;
  display: inline-block;
  width: auto;
  text-align: center;
}
.button:hover{
  border: 2px solid #121010;
  background-color: rgba(365,365,365,0.5);
  cursor: pointer;
  color: #121010;
  opacity: .8;
  transition: .3s;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}



/* ================= VÍDEO ================= */

.meu-video {
  width: clamp(280px, 60vw, 570px);
  max-width: 92vw;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.55);
  background: #000;
  margin-top: 20px;
}

/* ================= ANIMAÇÕES ================= */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  80%  { opacity: 0.9; }
  100% { opacity: 0; }
}

@keyframes finalFade {
  0%   { opacity: 0; }
  30%  { opacity: 1; }
  100% { opacity: 1; }
}

.light {
    position: absolute;
    width: 0px;
    opacity: .75;
    background-color: white;
    box-shadow: #5B5B5B 0px 0px 20px 2px;
    opacity: 0;
    top: 100vh;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
     z-index: 1;
}

.x1{-webkit-animation: floatUp 4s infinite linear; animation: floatUp 4s infinite linear; transform: scale(1);}
.x2{-webkit-animation: floatUp 7s infinite linear; animation: floatUp 7s infinite linear; transform: scale(1.6); left: 15%;}
.x3{-webkit-animation: floatUp 2.5s infinite linear; animation: floatUp 2.5s infinite linear; transform: scale(.5); left: -15%;}
.x4{-webkit-animation: floatUp 4.5s infinite linear; animation: floatUp 4.5s infinite linear; transform: scale(1.2); left: -34%;}
.x5{-webkit-animation: floatUp 8s infinite linear; animation: floatUp 8s infinite linear; transform: scale(2.2); left: -57%;}
.x6{-webkit-animation: floatUp 3s infinite linear; animation: floatUp 3s infinite linear; transform: scale(.8); left: -81%;}
.x7{-webkit-animation: floatUp 5.3s infinite linear; animation: floatUp 5.3s infinite linear; transform: scale(3.2); left: 37%;}
.x8{-webkit-animation: floatUp 4.7s infinite linear; animation: floatUp 4.7s infinite linear; transform: scale(1.7); left: 62%;}
.x9{-webkit-animation: floatUp 4.1s infinite linear; animation: floatUp 4.1s infinite linear; transform: scale(0.9); left: 85%;}

button:focus{
  outline: none;
}

@keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}

/* ================== SECTIONS ================== */
.section-headers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px; /* altura padrão para manter efeito das luzes */
  position: relative;
  z-index: 3;
  width: 100%;
  height: 200px;

}
.section-video {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  opacity: 0;
  animation: aparecerVideo 1s ease forwards;
  animation-delay: 6s;
}

@keyframes aparecerVideo {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  padding: 10px 20px;
  flex-wrap: wrap; /* permite quebrar linha em telas pequenas */
  position: relative;
  z-index: 3;
}

.section-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
    position: relative;
  z-index: 3;
}

.social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= MOBILE ================= */

/* ####################### MOBILE #########################*/

@media only screen and (min-width: 1100px) {

  #slider-container #slider .slide {
    width: calc(2.5% - 20px);
  }
  .textoRede{
    display: none;
  }
    .section-social .button1 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }



}

@media only screen and (max-width: 1100px) {

  #slider-container #slider .slide {
    width: calc(3.3333333% - 20px);
  }

  .textoRede{
    display: none;
  }

  .button{
  display: grid;
  width: 80%;
  height: auto;
  font-size: 1.8em;
  font-weight: bold;
  }

    .section-social .button1 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .header {
    top: 35%;
    font-size: 2.4em;
  }

  .button {
    width: 90%;
  }

  .meu-video {
    width: 100%;
    margin-top: 15px;
  }
}



@media only screen and (max-width: 900px) {


  #slider-container #slider .slide {
    width: calc(5% - 20px);
  }

  #slider-container .btn {
  position: absolute;
  top: calc(50% - 30px);
  height: 30px;
  width: 30px;
  border-left: 6px solid grey;
  border-top: 6px solid grey;
  }

  .textoRede{
    display: none;
  }



  .Banner{
    height: 700px;
    padding-top: 15px;
    background:
    linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0,0.8)), url(../../imagens/mobile/bannerprincipal.jpg);
  }
  .boxBanner{
    
    font-size: 1.1em;
    width: 80%;
    border-radius: 50px;
  }

  .linhaSecao {
    display: grid;
    place-items: center;
    width: auto;
  }
  .divSessenta{
    width: calc(100% - 20px);
    place-items: center;
    margin: 0px;
    padding: 0px;
    height: calc(30% - 20px);
  }

  .boxFoto{
    height: 300px;
    width: 100%;
    opacity: 0;
    transform: scale(0);
    transition: opacity 1s, transform 1s;

  }


  .boxFoto1, .boxFoto2, .boxFoto3, .boxFoto4, .boxFoto5, .boxFoto6{
    background-size: cover;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .boxfoto1{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), 
      rgba(0, 0, 0, 0.4)), url(../../imagens/mobile/boxfoto1.jpg);
  }

  .boxfoto2{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), 
      rgba(0, 0, 0, 0.4)), url(../../imagens/mobile/boxfoto2.jpg);
  }

  .boxfoto3{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), 
      rgba(0, 0, 0, 0.4)), url(../../imagens/mobile/boxfoto3.jpg);
  }

  .boxfoto4{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), 
      rgba(0, 0, 0, 0.4)), url(../../imagens/mobile/boxfoto4.jpg);
  }

  .boxfoto5{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), 
      rgba(0, 0, 0, 0.4)), url(../../imagens/mobile/boxfoto5.jpg);
  }

  .boxfoto6{
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), 
      rgba(0, 0, 0, 0.4)), url(../../imagens/mobile/boxfoto6.jpg);
  }

  .divQuarenta{
    width: 90%;
    margin: 0px;
  }

  .invertidoMobile{
    flex-direction: column-reverse;
    place-items: center;
  }

  .padrao{
    flex-direction: column;
    place-items: center;
  }

  .secao2{
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../../imagens/mobile/fundosecao2.jpg);;
  }

  .textoTag, .margem{
    padding: 6px;
    margin: 0px;
  }

  .boxEmpresas{
    flex-direction: column;
  }

  .empresas{
    margin: 5px;
  }
  .quadroSobreEmpresa{
    width: 100%;
  }
  .fluxoConsorcio{
    width: 90%;
  }

  .linhaSobreEmpresa{
    margin: 5px;
    flex-direction: column;
  }

  .botaoContato2{
    font-size: 0.8em;
  }

  .linhaFooter, .linhaFinal{
    flex-direction: column;
    width: 100%;
    place-items: center;
    padding: 0 0 0 0;
  }

  .quadroFooter, .quadroFinal{
    width: 100%;
    padding: 0px;
    margin-left: 0px;
    margin-right: 0px; 
    text-align: center;
  }
  
  a {
  color: white; /* Texto branco */
  text-decoration: none; /* Remove decoração de link */
}

  .menu { 
    display:none;
    position: absolute;
    background-color:#fff;
    right: 0;
    left: 0;
    text-align: center;
    padding: 16px 0;
   }

  .menu li:hover {
    display: inline-block;
    background-color:#9EA3C8;
    transition: 0.3s ease;
   }

   .menu li + li {
    margin-top: 12px;
   }

   input[type=checkbox]:checked ~ .menu{
    display: block;
   }

   .hamburger {
    display: block;
   }

   .dropdown {
    left: 50%;
    top: 30px;
    transform: translateX(35%);
   }

   .dropdown li:hover {
    background-color: #4c9e9e;
   }

}

@media only screen and (max-width: 550px) {

  #slider-container #slider .slide {
    width: calc(10% - 20px);
  }

.textoRede{
    display: none;
  }

  #slider-container .btn {
  position: absolute;
  top: calc(50% - 30px);
  height: 30px;
  width: 30px;
  padding: -5px;
  border-left: 3px solid grey;
  border-top: 3px solid grey;
  }
  
  .meu-video {
    width: 100%;
    margin-top: 15px;
  }
  
  
  .header {
    top: 35%;
    font-size: 1.9em;
  }


   /*.divSessenta{
    width: 270px;
    display: grid;
    place-items: center;
    margin: 0px;
    padding: 0px;
    height: 100px;
  }*/

}

@media (max-width: 768px) {

  .header {
    top: 35%;
    font-size: 1.9em;
  }

  .button {
    width: 90%;
  }

    .section-social .button1 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }
 .meu-video {
    width: 95%;
    max-width: 95%;
  }
}




