/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


.masonry-container{
	padding-bottom: 60px;
}

/* -------------------------------
   Importação
-------------------------------- */

/* -------------------------------
   Lista
-------------------------------- */

ul li, ol li {
  margin-bottom: 10px;
  font-size: 18px;
}

ul {
  display: block;
  list-style-type: disc;
  margin: 0;
  padding-inline-start: 15px;
  unicode-bidi: isolate;
}

ol {
  margin: 0!important;
  font-size: 18px!important;
  padding-left: 20px;
  font-weight: 500!important;
}


/* -------------------------------
   Tipografia
-------------------------------- */

h1, h2, h3, h4, h5, h6 {  
  margin-bottom: 2rem;
  color: inherit; 
}

h1 {
  font-size: 4rem!important;
}

h2{
  font-weight: 500;
  font-size: 3rem;  
  line-height: 3.3rem;
}

h2.span{
  font-family: bely, serif;
}


h3 {
  font-size: 2rem;
  line-height: 2.3rem;
  font-weight: 300; 

}

h4 {
  font-size: 1.5rem!important;
  font-weight: 600; 
  line-height: 1.85rem; 
}

h5 {
  font-size: 1.25rem!important;
  font-weight: 500; 
}

h6 {
  font-size: 1.125rem;
}

p {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 24px;  
}


.display-1 {
  font-size: 4.5rem;
  line-height: 4.25rem; 
}

.display-2 {
  font-size: 4.25rem!important;
  line-height: 4.25rem; 	
}

.big {
  font-size: 1.4rem;
  line-height: 1.3;
}

.medium {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 500; 
}

.small {
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 1024px) {
  h2, display-1, display-2{
   font-size: 32px!important;
  }
}  

@media (max-width: 768px) {
	main{
		text-align: center;
	}
	
	.small-none{
		display: none;
	}
	
  h2, display-1, display-2{
   font-size: 32px!important;
   line-height: 36px; 	  
  }
}

@media (max-width: 480px) {
  	main{
		text-align: center;
	}
	
	.small-none{
		display: none;
	}
	
	h2, display-1, display-2{
   font-size: 32px!important;
   line-height: 36px; 	  
  }
}

.inside-article{
	padding:5px 20px!important;
}


/* -------------------------------
   Layouts e Estruturas Gerais
-------------------------------- */

/* -------------------------------
   Navegação
-------------------------------- */

.sticky-enabled .main-navigation.is_stuck {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* -------------------------------
   Accordion
-------------------------------- */

.accordion-container {
  display: none;
  padding: 0px;
  font-size: 1.1rem;
}

.accordion-container.toggle-open {
  display: block;
}

.accordion-toggle {
  cursor: pointer;
  position: relative;
  font-weight: 500;
  margin: 15px 0;
}

.accordion-toggle:after {
  content: '+';
  color: currentColor;
  float: right;
  font-size: 1.2em;
  font-weight: 300;
  margin-top: 2px;
  transition: transform 0.3s ease, content 0.3s ease;
}

.accordion-toggle.toggle-open:after {
  content: '+';
  transform: rotate(45deg);
}

/* -------------------------------
   Footer Button
-------------------------------- */

.footer-button {
  visibility: hidden; /* Oculta visualmente o botão sem removê-lo do fluxo */
  position: fixed;
  bottom: 20px;
  right: 15px;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  opacity: 0; /* Define a opacidade inicial como invisível */
  display: flex; /* Garante que o botão esteja sempre no layout */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Transição suave de opacidade e visibilidade */
  animation: vibrate 0.5s linear infinite, pulse 2.5s ease-in-out infinite;
}

.footer-button.show {
  visibility: visible; /* Torna o botão visível */
  opacity: 1; /* Define a opacidade máxima */
}

.footer-button a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: transparent !important;
}

.footer-button svg {
  width: 32px;
  height: 32px;
  fill: white;
  background-color: transparent !important;
}


/* Animação de pulsação */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* -------------------------------
   Modal
-------------------------------- */

.modal {
	position: relative;
}         

.close-modal {
  position: absolute;
  top: 20px;
  right: 15px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* -------------------------------
   Dynamic Progress Bar
-------------------------------- */

.dynamic-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: #00f2f2;
  width: 0%;
  z-index: 9999;
  transition: width 0.2s ease;
}

/* -------------------------------
   Tab
-------------------------------- */

.tab-container {
}

.tab-header {
  list-style-type: none; 
  margin: 0 0 50px 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}	
	
/* Botões das abas */
.tab-header li {
    padding: 5px 20px;
	margin: 0 5px;
    cursor: pointer;
    border-bottom: 2px solid transparent; /* Cor do botão ativo */	
	transition: border 0.3s ease-in-out, background 0.6s ease-in-out, transform 0.3s ease-in-out;
	font-size: 17px;
    display: inline-block;
    color: #aeacb5;
    font-weight: 500;
}

.tab-header li:hover {
	border-bottom: 2px solid #aeacb5; /* Cor do botão ativo */
}

.tab-header li.active {
	color: #161616;
	border-bottom: 2px solid #161616; /* Cor do botão ativo */
    font-weight: 500;	
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* -------------------------------
   Avatar
-------------------------------- */

.avatar {
  display: flex;
  align-items: center;
}

.img-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: -10px;
}

.img-avatar:first-child {
  margin-left: 0;
}

.img-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -------------------------------
   Backgrounds
-------------------------------- */

/* -------------------------------
   Hero
-------------------------------- */

.hero .bg-blur{
  object-fit: cover;
  filter: blur(40px);
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
} 

.hero .gif-hero{
  z-index: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transition: inherit;
  pointer-events: none;
} 

.bg-color {
  background-image: linear-gradient(45deg, #0C00FF, #F200FF, #00E1FF);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.bg-color2 {
  background-image: linear-gradient(45deg, #34b242, #4d9e93, #479dbe);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

.gradiente-texto {
background-image: linear-gradient(45deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* -------------------------------
   Sliders
-------------------------------- */

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.slider {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.slide-item {
  
}

.slide-col-3{
   flex: 0 0 calc(100% / 3); /* Número de colunas configurado aqui */ 
}

.slide-col-2{
   flex: 0 0 calc(100% / 2); /* Número de colunas configurado aqui */ 
}

.slide-col-1{
   flex: 0 0 100%; /* Número de colunas configurado aqui */ 
}

.left-btn,
.right-btn {
  color: #161616;
  cursor: pointer;
  transition: color 0.2s ease;
}

.left-btn:hover,
.right-btn:hover,
.left-btn:focus,
.right-btn:focus {
  color: #007CBA
}

.left-btn:disabled,
.right-btn:disabled {
  opacity: 0.5;
}

.indicators {
  display: flex;
  justify-content: center;
  align-items: center; /* Mantém os itens centralizados na horizontal */
  gap: 5px;
  position: relative;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.indicator {
  width: 10px; /* Largura de cada segmento da linha */
  height: 10px; /* Altura igual à largura para um círculo perfeito */
  background-color: #f0f0f0; /* Cor de fundo padrão */
  border-radius: 50%; /* Arredonda as bordas para criar um círculo */
  cursor: pointer;
  transition: background-color 0.3s; /* Transição suave para a mudança de cor */
}
.indicator.active {
  background-color: #3c49db; /* Cor de fundo quando ativo */
}

@media (max-width: 1024px) {
  .slide-item {
    flex: 0 0 calc(100% / 2); /* Número de colunas configurado aqui */
  }
}  

@media (max-width: 768px) {
  .slide-item {
    flex: 0 0 calc(100% / 2); /* Número de colunas configurado aqui */
  }
}

@media (max-width: 480px) {
  .slide-item {
    flex: 0 0 calc(100% - 5px); /* Número de colunas configurado aqui */
  }
}



/* -------------------------------
   loop-container
-------------------------------- */

.loop-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.loop-wrapper {
  display: flex;
  gap: 20px;
  animation: scroll-loop 10s linear infinite;
  cursor: grab;
  will-change: transform;
}

.loop-wrapper {
  animation: loopAnimation linear infinite;
}

@keyframes loopAnimation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Para inverter a direção */
.loop-right {
  animation-direction: reverse;
}


.loop-col-1{
  flex: 0 0 calc(100% - 20px);
  box-sizing: border-box;
}
.loop-col-2{
  flex: 0 0 calc(50% - 20px);
  box-sizing: border-box;
}
.loop-col-3{
  flex: 0 0 calc(33.33% - 20px);
  box-sizing: border-box;
}
.loop-col-4{
  flex: 0 0 calc(25% - 20px);
  box-sizing: border-box;
}
.loop-col-5{
  flex: 0 0 calc(20% - 20px);
  box-sizing: border-box;
}
.loop-col-6{
  flex: 0 0 calc(16.66% - 20px);
  box-sizing: border-box;
}

.loop-item img {
  display: block;
}

.fade-carousel{
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.fade-carousel::before,
.fade-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
}

.fade-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.fade-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

@keyframes scroll-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100%));
  }
}

.loop-container:hover .loop-wrapper {
  animation-play-state: paused;
}


@media (max-width: 1024px) {
  .loop-col-6{
    flex: 0 0 calc(20% - 20px);
    box-sizing: border-box;
  }
}  

@media (max-width: 768px) {
  .loop-col-6{
    flex: 0 0 calc(33.33% - 20px);
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .loop-col-6{
    flex: 0 0 calc(33.33% - 20px);
    box-sizing: border-box;
  }
}

.loop-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
}

.loop-navigation button {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.loop-navigation button:hover {
  background: rgba(0, 0, 0, 0.7);
}


/* -------------------------------
   Avatar 2
-------------------------------- */
.imagem-depoimento {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.imagem-depoimento-2 {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  overflow: hidden;
}


/* -------------------------------
   Form 7
-------------------------------- */

.wpcf7-form-control.wpcf7-tel {
    position: relative;
    padding-left: 40px;
}

.wpcf7-form-control.wpcf7-tel {
    padding-left: 40px !important;
    background-image: url('https://beisi.com.br/wp-content/uploads/2025/01/brasil.svg')!important;
    background-position: 10px center !important;
    background-repeat: no-repeat !important;
    background-size: 24px 24px !important;
}



/* -------------------------------
   Image zoom-in
-------------------------------- */

.zoom-in {
  width: 100%; /* Defina a largura desejada */
  height: auto; /* Defina a altura desejada */
  overflow: hidden; /* Oculta a parte que expande além do contêiner */
  position: relative; 
}
.zoom-in2 {
  width: 100%; /* Defina a largura desejada */
  height: auto; /* Defina a altura desejada */
  overflow: hidden; /* Oculta a parte que expande além do contêiner */
  position: relative;
  border-top-left-radius: 8px; 
  border-top-right-radius: 8px;   
}
.zoom-in img, .zoom-in2 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que a imagem se ajuste corretamente */
  transition: transform 0.3s ease; /* Transição suave para o efeito */
}
.zoom-in:hover img, .zoom-in2:hover img {
  transform: scale(1.1);
}

/* -------------------------------
   Image zoom-in
-------------------------------- */

.hover-zoom {
  transition: transform 0.5s ease;
}

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



.dynamic-bg {
  width: 100%;
  overflow: hidden; /* Oculta o conteúdo fora do limite */
  background-size: 100%; /* Tamanho inicial do fundo */
  background-position: center; /* Centraliza o fundo */
  background-repeat: no-repeat; /* Evita repetição */
  transition: background-size 0.5s ease; /* Suaviza a transição */
}

.dynamic-bg:hover {
  background-size: 120%; /* Aumenta o tamanho no hover */
  background-position: center; /* Garante que a posição seja mantida */
}

.none{
	display: none;
}


/* Estilização padrão para posicionar o SVG no lado direito */
.svg-container {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px; /* Ajuste conforme necessário */
  color: inherit; /* Garante que a cor da fonte seja herdada */
}

.svg-container::after {
  content: "";
  display: block;
  width: 16px; /* Defina o tamanho desejado */
  height: 16px;
  
  /* Cor de fundo para que a máscara tenha algo para recortar */
  background-color: currentColor; /* ou uma cor específica, ex: #000 */
  
  /* Máscara */
  -webkit-mask-image: url("https://beisi.com.br/wp-content/uploads/2025/02/seta.svg");
  mask-image: url("https://beisi.com.br/wp-content/uploads/2025/02/seta.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  
  /* Se precisar de transição ou outras propriedades */
  transition: transform 0.3s ease-in-out;
}

/* Animação ao passar o mouse */
.svg-container:hover::after {
  transform: translateX(5px);
}


/*btn svg secundario */
.svg-container2::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;  
  background-color: currentColor;
  -webkit-mask-image: url("https://beisi.com.br/sppark/wp-content/uploads/2025/04/setasecundaria.svg");
  mask-image: url("https://beisi.com.br/sppark/wp-content/uploads/2025/04/setasecundaria.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: transform 0.3s ease-in-out;
}

/* Animação ao passar o mouse */
.svg-container2:hover::after {
  transform: translateX(5px);
}



/* Botão com sublinhado animado */
.btn-subline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.btn-subline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%; /* Começa com largura 0% */
  height: 1.8px;
  background-color: currentColor;
  transition: width 0.4s ease; /* Transição suave de aumento da largura */
}

.btn-subline:hover::after {
  width: 100%; /* A linha cresce para a largura total no hover */
}


