/*
 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
*/

/* -------------------------------
   Importação
-------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

/* -------------------------------
   Lista
-------------------------------- */
ul li,
ol li {
  font-family: "Titillium Web", sans-serif;
  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-family: "Titillium Web", sans-serif;
  font-size: 18px !important;
  padding-left: 20px;
  font-weight: 500 !important;
}

/* -------------------------------
   Tipografia
-------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 2rem;
  color: #0d224b;
}

h2 .color1 strong {
  color: #0195e9;
}

h2 .color2 strong {
  color: #fff;
}

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

h2 {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 3.3rem;
}

h3 {
  font-family: "Titillium Web", sans-serif;
  font-size: 2.2rem;
  line-height: 2.3rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1.85rem;
}

h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem !important;
  font-weight: 500;
}

h6 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
}

p {
  font-family: "elza", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .5px;
  line-height: 24px;
  color: #545454;
}

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

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

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

@media (max-width: 1024px) {
  h2 { font-size: 2rem; }
  .display-1 {
    font-size: 3rem;
    line-height: 3rem;
  }
}

@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  .display-1 {
    font-size: 3rem;
    line-height: 3rem;
  }
}

@media (max-width: 480px) {
  h2 { font-size: 2rem; }
  .display-1 {
    font-size: 2rem;
    line-height: 2rem;
  }
}

/* -------------------------------
   Navegação
-------------------------------- */
.main-nav {
  margin-top: 10px;
}

/* -------------------------------
   Sticky
-------------------------------- */
.sticky-planos {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 999;
  transition: border-color 0.3s ease; /* Efeito suave */
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0 !important;
}

/* Exibe o tooltip ao passar o mouse */
.svg-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* -------------------------------
   Footer Button
-------------------------------- */
.footer-button {
  visibility: hidden; /* Oculta visualmente o botão sem removê-lo do fluxo */
  position: fixed;
  bottom: 15px;
  left: 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;
}

/* -------------------------------
   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-6 { flex: 0 0 calc(100% / 6); }
.slide-col-5 { flex: 0 0 calc(100% / 5); }
.slide-col-4 { flex: 0 0 calc(100% / 4); }
.slide-col-3 { flex: 0 0 calc(100% / 3); }
.slide-col-2 { flex: 0 0 calc(100% / 2); }
.slide-col-1 { flex: 0 0 100%; }

.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;
  gap: 8px;
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.indicator {
  width: 12px;
  height: 12px;
  background-color: #f0f0f0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.indicator:hover {
  transform: scale(1.1);
}

.indicator.active {
  background-color: #3c49db;
}

@media (max-width: 1024px) {
  .slide-item { flex: 0 0 calc(100% / 2); }
}

@media (max-width: 768px) {
  .slide-item { flex: 0 0 calc(100% / 2); }
  .text-headline { font-size: 2rem !important; }
}

@media (max-width: 480px) {
  .slide-item { flex: 0 0 calc(100% - 5px); }
  .text-headline { font-size: 2rem !important; }
}

/* -------------------------------
   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(248, 248, 248, 1), rgba(248, 248, 248, 0));
}

.fade-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(248, 248, 248, 1), rgba(248, 248, 248, 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);
}

/* -------------------------------
   Form 7
-------------------------------- */
/* Contact Form 7 */
.f-col-50 { float: left; width: 50%; }
.f-col-100 { float: left; width: 100%; }

.f-col-50,
.f-col-100 {
  box-sizing: border-box;
}

.pr-5 { padding-right: 15px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select {
  background: #fff;
  color: var(--global-color-1);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid #C4C4C4;
  border-radius: 6px;
  margin-top: 10px;
  width: 100%;
  padding: 10px 15px;
}

.wpcf7 input::placeholder {
  font-size: 14px;
  font-weight: 400;
}

input[type="button"],
input[type="reset"],
input[type="submit"],
a.wp-block-button__link:not(.has-background) {
  font-family: "elza", sans-serif;
  font-weight: 500;
  font-size: 18px;
}

input[type="submit"]:hover {
  background-color: #222;
  border-color: #222;
  cursor: pointer;
}

.button-contato input[type="submit"]{
  background-color: #001666;
  color: #fff;
  font-family: "elza", sans-serif;
  border: 1px solid #001666;
  padding: 10px 25px;
  border-radius: 100px;
}

.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;
}

.form-small {
  font-size: 12px;
}

/* -------------------------------
   Image zoom-in
-------------------------------- */
.zoom-in {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.zoom-in2 {
  width: 100%;
  height: auto;
  overflow: hidden;
  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;
  transition: transform 0.3s ease;
}

.zoom-in:hover img,
.zoom-in2:hover img {
  transform: scale(1.1);
}

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

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

.dynamic-bg {
  width: 100%;
  overflow: hidden;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-size 0.5s ease;
}

.dynamic-bg:hover {
  background-size: 120%;
  background-position: center;
}

.none { display: none; }

/* ------------------------------ */
/* Classe original: seta à direita */
/* ------------------------------ */
.svg-container {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: inherit;
  position: relative;
}

/* Para garantir tamanho fixo em qualquer situação */
.svg-container::after {
  content: "";
  flex-shrink: 0;
  flex-grow: 0;
  width: 14px !important;
  height: 12px !important;
  min-width: 14px;
  min-height: 12px;
  max-width: 14px;
  max-height: 12px;
  margin-left: 0px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20width%3D'14.03'%20height%3D'12.06'%20viewBox%3D'0%200%2014.03%2012.06'%3E%3Cpath%20d%3D'M8%2C0L6.922%2C1.077l4.191%2C4.191H0V6.791H11.113L6.922%2C10.983L8%2C12.06l6.03-6.03Z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20width%3D'14.03'%20height%3D'12.06'%20viewBox%3D'0%200%2014.03%2012.06'%3E%3Cpath%20d%3D'M8%2C0L6.922%2C1.077l4.191%2C4.191H0V6.791H11.113L6.922%2C10.983L8%2C12.06l6.03-6.03Z'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform 0.3s ease-in-out;
}

.svg-container:hover::after {
  transform: translateX(3px);
}

/* ------------------------------ */
/* Nova classe: seta à esquerda   */
/* ------------------------------ */
.svg-container-left {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: inherit;
  position: relative;
}

/* Pseudo-elemento antes do conteúdo para seta à esquerda */
.svg-container-left::before {
  content: "";
  flex-shrink: 0;
  flex-grow: 0;
  width: 14px !important;
  height: 12px !important;
  min-width: 14px;
  min-height: 12px;
  max-width: 14px;
  max-height: 12px;
  margin-right: 0px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20width%3D'14.03'%20height%3D'12.06'%20viewBox%3D'0%200%2014.03%2012.06'%3E%3Cpath%20d%3D'M8%2C0L6.922%2C1.077l4.191%2C4.191H0V6.791H11.113L6.922%2C10.983L8%2C12.06l6.03-6.03Z'/%3E%3C/svg%3E") no-repeat center/contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http://www.w3.org/2000/svg'%20width%3D'14.03'%20height%3D'12.06'%20viewBox%3D'0%200%2014.03%2012.06'%3E%3Cpath%20d%3D'M8%2C0L6.922%2C1.077l4.191%2C4.191H0V6.791H11.113L6.922%2C10.983L8%2C12.06l6.03-6.03Z'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: transform 0.3s ease-in-out;
}

.svg-container-left:hover::before {
  transform: translateX(3px);
}

/* 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%;
  height: 1.8px;
  background-color: currentColor;
  transition: width 0.4s ease;
}

.btn-subline:hover::after {
  width: 100%;
}

/* 1) Container pai */
.page-wrapper {
  position: relative;
  min-height: auto;
  overflow: hidden;
}

/* 2) Pseudo-elemento pendurado à direita */
.page-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 310px; /* 120 + 70 + 40 + 40 + 40 = 310 */

  /* 3) Cinco camadas, da esquerda (gradiente 120px) para a direita (magenta 40px) */
  background-image:
    /* 1ª: azul escuro → azul claro (120px) */
    linear-gradient(to bottom, #02115F 30%, #010e44 100%),
    /* 2ª: ciano escuro → ciano claro (70px) */
    linear-gradient(to bottom, #010e44 0%, #69F3FF 100%),
    /* 3ª: verde sólido (40px) */
    linear-gradient(to bottom, #0366D6 0%, #02115F 100%),
    /* 4ª: laranja → amarelo (40px) */
    linear-gradient(to bottom, #cffeff 0%, #00cfff 100%),
    /* 5ª: magenta → rosa (40px) */
    linear-gradient(to bottom, #0000FF 30%, #02115F 100%);
  background-repeat: no-repeat;

  /* 4) Define largura e altura de cada faixa */
  background-size:
    120px 100%,
     70px 100%,
     40px 100%,
     40px 100%,
     40px 100%;

  /* 5) Posiciona-as de 0 a 270px a partir da esquerda do pseudo-elemento */
  background-position:
    left   0px   top,
    left  120px  top,
    left  190px  top,
    left  230px  top,
    left  270px  top;

  /* (Opcional) deixa o pseudo-elemento transparente a cliques */
  pointer-events: none;
}

.mapa-full {
  width: 100vw;
  margin-left: calc(-45vw + 45%); /* "quebra" o container do GeneratePress */
  position: relative;
}

.mapa-full iframe {
  width: 100%;
  height: 450px;
  display: block;
  filter: grayscale(90%);
}

.bg-image {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Cria a máscara degradê azul */
.bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(2, 17, 95, 1),
    rgba(2, 17, 95, .3),
    rgba(2, 17, 95, 0)
  );
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}

/* Opcional: garante que o conteúdo fique acima da máscara */
.bg-image > * {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
  border-radius: inherit;
}

.text-headline {
  line-height: 4rem;
}

article {
  padding-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
}

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

.img-pequena {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 120px;
  display: block;
}

.img-container {
  font-size: 0; /* elimina o espaço gerado por inline-block */
}

.wp-show-posts-image img { border-radius: 8px; }

.wp-show-posts-entry-title { margin-top: 20px !important; }

.youtube-box { cursor: pointer; }

.hover-box { cursor: pointer; }

/* Ao passar o mouse */
.hover-box:hover {
  background-color: rgba(0, 0, 0, .02);
  color: #fff;
}

.div2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.titulo-youtube {
  position: absolute;
  top: 22.5px;
  left: 65px;
}

.youtube-avatar {
  position: absolute;
  top: 15px;
  left: 15px;
}

.youtube-link a { text-decoration: none; }

.rect {
  width: 200px;
  height: 3px;
  background: linear-gradient(to right, #0195e9, #ffffff);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rect-left {
  width: 200px;
  height: 3px;
  background: linear-gradient(to right, #0195e9, #ffffff);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.galeria-titulo {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
}

.galeria-titulo a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 6px;
}

.galeria-titulo a:hover { background: rgba(0, 0, 0, 0.6); }

/* -------------------------------
   Vídeo em destaque (hero)
-------------------------------- */
.hero-video {
  position: relative;
  width: 100%;
  min-height: 100svh;        /* usa a viewport “segura” no mobile */
  overflow: hidden;
  background: #000;          /* evita flashes/brancos no load */
}

/* Vídeo cobre toda a área sem distorcer */
.video-bg {
  position: absolute;
  inset: 0;                  /* top:0 right:0 bottom:0 left:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;            /* remove gaps de elementos inline */
  pointer-events: none;
  -webkit-transform: translateZ(0); /* corrige glitches no iOS */
  transform: translateZ(0);
}

/* Overlay opcional para contraste do texto */
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
  pointer-events: none;
}

/* Conteúdo centralizado e legível em qualquer tela */
.video-content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #fff;
  padding: 2rem;
  box-sizing: border-box;
}

/* Ajustes progressivos */
@media (max-width: 1024px) {
  .video-content { padding: 1.5rem; }
}

@media (max-width: 768px) {
  .video-content { padding: 1rem; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .video-content { padding: 0.8rem; font-size: 0.9rem; }
}

/* Suporte a navegadores com dvh disponível */
@supports (height: 100dvh) {
  .hero-video,
  .video-content { min-height: 100dvh; }
}
