
/*ESTILOS GERAIS*/
:root {
  --cor-primaria: #501f22;
  --cor-secundaria:#cca876;
  --cor-terciaria:#dd9c4a;
  --cor-azul:#3A6D8C;
  --cor-azul-escuro:#014359;
  --cor-branco:rgb(255,255,255);
  --cor-preto:#181C14;
  --cor-grafite:#424242;
  --cor-verde-whats:#009900;

  --tempo-animacao: 1s;

  --fonte-1: "Noto Sans", serif;
  --fonte-2: "PT Sans", sans-serif;
  --fonte-3:"PT Serif", serif;

  
}

body{
  background-color: white;
  overflow-x: hidden;
  color: var(--cor-grafite);
  font-family:var(--fonte-1);
  padding: 0;
  margin: 0;

}

hr{
  border-top: solid 2px var(--cor-azul);
  margin-top: 2rem;
  margin-bottom: 2rem;
  opacity: 1;
}

.btn-primary{
  background-color: transparent;
  border: solid 2px var(--cor-secundaria);
  border-radius: 0;
  color: var(--cor-branco);
}

.btn-primary:hover{
  background-color: var(--cor-secundaria);
  color: var(--cor-branco);
  border: solid 2px transparent;
  transition: .3s ease-out;
}

.btn-secondary{
  background-color: var(--cor-azul);
  color: var(--cor-branco);
  border: solid 2px transparent;
  border-radius: 0;
}

.btn-secondary:hover{
  background-color: transparent;
  color: var(--cor-azul-escuro);
  border: solid 2px var(--cor-azul-escuro);
  transition: .3s ease-out;
}

.btn-whatsapp{
  background-color: var(--cor-verde-whats);
  color: var(--cor-branco);
  border-radius: 30px;
  border: solid 1px var(--cor-verde-whats);
  font-weight: bold;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.btn-whatsapp:hover{
  background-color: var(--cor-branco);
  color: var(--cor-verde-whats);
  border: solid 1px var(--cor-verde-whats);
  transition: 0.3s ease-in-out;
}


.detalhe-destaque {
  display: flex;
  align-items: center;
}

.detalhe-destaque::before,
.detalhe-destaque::after {
  content: ''; /* Não exibe texto */
  width: 20px; /* Os traços ocupam o espaço restante */
  height: 1px; /* Altura do traço */
  background-color: var(--cor-secundaria); /* Cor do traço */
  margin: 0 10px; /* Espaçamento entre o traço e a frase */
}


/*MENU*/
.navbar{
  background: linear-gradient(0deg, rgb(231, 226, 227) 0%, rgb(255,255,255) 100%);
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  z-index:1000;
  
}

.menu-itens a{
  text-decoration: none;
  color: var(--cor-grafite);
  font-weight: bold;
}

.menu-itens a:hover{
  color: var(--cor-secundaria);
}

/* Estilos gerais do navbar */
.nav-item a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-left: 10px;
}

.nav-item a::before {
  content: "";
  position: absolute;
  left: 0; /* Alinha a linha à esquerda do link */
  top: 0; /* Alinha a linha ao topo do link */
  height: 0; /* Inicialmente a linha tem altura 0 */
  width: 2px; /* Define a largura da linha (tornando-a vertical) */
  background-color: var(--cor-secundaria);
  transition: height 0.3s ease; /* Transição suave para a altura */
}

.nav-item a:hover::before {
  height: 80%; /* A linha se expande para cobrir a altura do link */
}

.navbar-nav .nav-link.show {
  color: var(--cor-primaria);
}

.nav-servicos a:hover::before{
  width: 0px;
}

.navbar-toggler:focus {
 box-shadow: none;
}

.navbar-toggler{
  border-color: var(--cor-terciaria);
}


/*BANNER*/
.banner{
  background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(../images/home/banner.jpg);
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  color: var(--cor-branco);
  margin-top: 6rem;
}

.cards-banner{
  background-color: var(--cor-azul);
  padding: 1rem;
  color: var(--cor-branco);
  
}

.cards-banner img{
  filter:invert(100%);
  padding-bottom: 1rem;
}

.card-banner-meio{
  background-color: var(--cor-azul-escuro);
  box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
}

.zoom-invertido {
  transition: transform 0.3s ease-in-out; /* Suaviza a animação */
 
}

.zoom-invertido:hover {
  transform: scale(0.9); /* Encolhe o elemento */
}


/*SOBRE NÓS*/

.sobre-nos{
  background-color: var(--cor-primaria);
  color: var(--cor-branco);
}

.sobre-nos h2{
  font-family: var(--fonte-3);
  font-size: 2.5rem;
}


/*EQUIPE*/

.card-equipe{
  position: relative;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
  overflow: hidden;
  
}

.card-equipe img{
  width: 100%;
  display: block;
  transition: transform 0.5s;
  position: relative;
}

.card-equipe h5{
  position: absolute;
  bottom: 0;
  left: 22px;
  color: var(--cor-branco);
}

.overlay{
  height: 0;
  width: 100%;
  position: absolute;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  left: 0;
  bottom: 0;
  background: linear-gradient(transparent, #1c1c1c 60%);
  padding: 0 50px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}

.overlay h3{
  margin-top: 55%;
  margin-bottom: 5px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 2px;
}

.overlay h3, .overlay p{
  color: var(--cor-branco);
}

.card-equipe:hover img{
  transform: scale(1.2);

}

.card-equipe:hover .overlay{
  height: 100%;
}

.texto-equipe h2{
  font-family: var(--fonte-3);
  font-size: 2.3rem;
  font-weight: bold;
}

/* MISSÃO*/
.missao{
  background-color: var(--cor-primaria);
  color: var(--cor-branco);
}

.missao i{
  color: var(--cor-secundaria);
}

/*ESPECIALIDADE*/
.especialidades{
 background-color: var(--cor-branco);

}

.especialidades h2{
  font-family: var(--fonte-3);
  font-size: 2.3rem;
  font-weight: bold;
}

.especialidades .card{
  border: none;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
  border-radius: 0;
}

.especialidades i{
  font-size: 30px;
  color: #dd9c4a;
}


/*ATUAÇÃO*/
.box-item{
  padding: 0;
  color:var(--cor-branco);
}

.flip-box {
  position: relative; /* Necessário para o posicionamento absoluto dos filhos */
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: pointer;
  width: 100%; 
  height: 375px; 
  border-radius: 0;
}

.flip-box-front,
.flip-box-back {
  position: absolute; 
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(.4, .2, .2, 1);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-box-front {
  transform: rotateY(0deg);
}

.flip-box-back {
  transform: rotateY(180deg); 
  padding: 2rem;
}

.flip-box:hover .flip-box-front {
  transform: rotateY(-180deg);
}

.flip-box:hover .flip-box-back {
  transform: rotateY(0deg);
}


/*CLIENTES*/
.clientes h2{
  font-family: var(--fonte-3);
  font-size: 2.3rem;
  font-weight: bold;
}

.carousel-section img{
  max-height: 150px;
  border-radius: 50%;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}

.carousel-section p{
  text-align: center;
  color: white;
}

/*FALE-CONOSCO*/
.video-banner {
  background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6));
  position: relative;
  width: 100%;
  height: 80vh; /* Full viewport height */
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.banner-content h1 {
 font-family: var(--fonte-3);
}

.banner-content p {
  font-size: 1.5rem;
}


/*CONTATO*/
.form-check .form-check-input{
  margin-left: 0 !important;
  margin-right: 1rem;
  background-color: #dd9c4a;
  border: none;
}

.form-control{
  border-radius: 0;
  border: solid 2px #cac9c9;
}

.form-control:focus {
  border-color: var(--cor-terciaria);
  box-shadow: none;
}

.redes-sociais p, .contatos p{
  font-size: 1.3rem;
}

.redes-sociais p:hover, .contatos p:hover{
  color: var(--cor-terciaria);
}

.redes-sociais h4, .contatos h4{
  font-weight: bold;
}

.redes-sociais i, .contatos i{
  color: var(--cor-terciaria);
  font-size:1.4rem;
}

.mapa{
box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
}

/*DEPOIMENTOS*/
.depoimentos{
  background-color: var(--cor-primaria);
  color: var(--cor-branco);
}


.depoimentos h1{
  font-family: var(--fonte-3);
}

.depoimentos p{
  font-size: 18px;
  text-align: center;
  margin-bottom: 0;
}

.swiper-button-prev{
  left: 0 !important;;
}

.swiper-button-next{
  right: 0 !important;
}


.swiper-button-prev, .swiper-button-next{
  color: var(--cor-branco);
}

.swiper-slide{
  background-color:var(--cor-secundaria);
}

.swiper-slide span{
  color:#FFD65A;
}

/*RODAPE*/
.rodape{
  background: linear-gradient(0deg, rgb(231, 226, 227) 0%, rgb(255,255,255) 100%);
  color: var(--cor-preto);
  text-align: center;

}

.rodape a, .rodape p{
  text-decoration: none;
  color: var(--cor-preto);
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.rodape a:hover{
  text-decoration: none;
  color: var(--cor-terciaria);
  
}


.menu-rodape, .redes-sociais-rodape, .contatos-rodape{
  display: flex;
  flex-direction: column;
}

.botao-whatsapp{
  z-index: 999;
  position: fixed;
  right: 40px;
  bottom: 40px;
  transition: 0.2s ease-in-out;
 
}

.botao-whatsapp:hover{
  transform: scale(1.1);
}

/*CARROUSSEL MARCAS*/

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to{
    transform: translateX(-100%);
  }
}


.logos{
  overflow: hidden;
  padding: 30px 0;
  white-space: nowrap;
  position: relative;
}
.logos::before,
.logos::after{
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  content: "";
  z-index: 3;

}

.logos::before{
  left: 0;
  background: linear-gradient(to left, rgba(255,255,255,0), white);
}

.logos::after{
  right: 0;
  background: linear-gradient(to right, rgba(255,255,255,0), white);
  
}

.logos:hover .logos-slide{
  animation-play-state: paused
  ;
}

.logos-slide{
  display: inline-block;
  animation: 20s slide infinite linear;
}

.logos-slide img{
  height: 200px;
  margin: 0 10px;
  filter: grayscale(100%);
  opacity: 70%;
  transition: filter 0.3s ease; /* Adiciona uma transição suave */
}

.logos-slide img:hover{
  filter: grayscale(0%);
  opacity: 100%;
}

/*CARREGAMENTO DA PAGINA*/
.logo-carregamento img{
  width: 30%;
  
}

.box-load{
  position: fixed;
  z-index: 998;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--cor-branco);
}

.content{
  display: none;
}

/* PULSAR
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
 
.icone{
  animation: pulse 1s infinite;
}
*/

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(45deg);
  }
  50% {
    transform: rotate(90deg);
  }
  75% {
    transform: rotate(135deg);
  }
  100% {
    transform: rotate(180deg);
  }
}


.icone{
  animation: rotate 3s infinite;
}


/* LGPD */

.box-cook.hide{
  display: none !important;
}


.box-cook{
  z-index: 999;
  position: fixed;
  left: 10px;
  bottom: 10px;
  background-color: var(--cor-branco);
  padding: 0.5rem;
  color: var(--cor-black);
  box-shadow: 0px 0px 5px 0px var(--cor-primaria);
  font-size: 14px;
  border-radius: 8px;
}


.box-cook a{
text-decoration: none;
}

.politica-privacidade-lgpd{
  color: var(--cor-preto);
}

.politica-privacidade-corpo{
  background-color: #eee;
}

.politica-privacidade-lgpd:hover{
  color: var(--cor-preto);
  text-decoration: underline;
}

/*ANIMAÇÃO LGPD*/
.box-cook{
  animation: appear 2s;
}

@keyframes appear{

  from{
    opacity: 0;
    translate: 0 100%;
  }

  to{
    opacity: 1;
    translate: 0 0;
  }
}

/*EFEITO CARREGAMENTO LENTO*/

@keyframes square-animation {
  0% {
    left: 0;
    top: 0;
  }

  10.5% {
    left: 0;
    top: 0;
  }

  12.5% {
    left: 32px;
    top: 0;
  }

  23% {
    left: 32px;
    top: 0;
  }

  25% {
    left: 64px;
    top: 0;
  }

  35.5% {
    left: 64px;
    top: 0;
  }

  37.5% {
    left: 64px;
    top: 32px;
  }

  48% {
    left: 64px;
    top: 32px;
  }

  50% {
    left: 32px;
    top: 32px;
  }

  60.5% {
    left: 32px;
    top: 32px;
  }

  62.5% {
    left: 32px;
    top: 64px;
  }

  73% {
    left: 32px;
    top: 64px;
  }

  75% {
    left: 0;
    top: 64px;
  }

  85.5% {
    left: 0;
    top: 64px;
  }

  87.5% {
    left: 0;
    top: 32px;
  }

  98% {
    left: 0;
    top: 32px;
  }

  100% {
    left: 0;
    top: 0;
  }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.fade-out {
  animation: fadeOut 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-100px);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animacao {
  opacity: 0;
  transition: opacity var(--tempo-animacao) ease-out, transform var(--tempo-animacao) ease-out;
}

.in-view-left,
.in-view-right,
.in-view-top,
.in-view-bottom {
  animation-duration: var(--tempo-animacao);
  animation-fill-mode: forwards;
}

.out-view-left,
.out-view-right,
.out-view-top,
.out-view-bottom {
  animation-duration: var(--tempo-animacao);
  animation-fill-mode: forwards;
}

.in-view-left {
  animation-name: slideInLeft;
}

.out-view-left {
  animation-name: slideOutLeft;
}

.in-view-right {
  animation-name: slideInRight;
}

.out-view-right {
  animation-name: slideOutRight;
}

.in-view-top {
  animation-name: slideInTop;
}

.in-view-bottom {
  animation-name: slideInBottom;
}




/* MEDIAS ##########################################################*/

@media (min-width: 0px) and (max-width: 576px) {
 
  .logo-navbar img{
    height: 4rem !important;
  }

  .banner{
    margin-top: 5rem;
  }

  .video-banner{
    height: 26vh;
  }

  .botao-fale-conosco{
    display: none;
  }

  .banner-content p{
    font-size: 0.8rem;
  }
}



/* Desktop: abre o dropdown ao passar o mouse */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .nav-link.dropdown-toggle::after {
    content: ""; /* A seta existente */
    margin-left: 8px; /* Espaço entre a palavra e a seta */
    transition: transform 0.3s ease; /* Transição suave aplicada aqui */
    display: inline-block;
  }
  
  .nav-item:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg); /* Rotação em 180 graus */
  
  }
  
  /* Evita que o dropdown feche imediatamente ao passar o mouse */
  .dropdown-menu {
    margin-top: 0; /* ajuste de margem opcional */
    box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.75);
  }
  .banner{
    height: 550px;
  }

  .card-banner-meio{
    position: relative;
    top:-30px;
  }

  .menu-itens a{
    font-size: 20px;
  }

  
}



/* Medium devices (tablets, 768px and up) */
@media (min-width: 577px) and (max-width: 768px) {
  .nav-servicos a:hover::before{
    width: 0px;
  }
 
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 769px) and (max-width: 992px) {
  .nav-servicos a:hover::before{
    width: 0px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 993px) and (max-width: 1200px) {

}



/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1201px) and (max-width: 1400px) {
}


@media (min-width: 1400px) {
}