/* RESET E VARIÁVEIS */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Arial,sans-serif;line-height:1.6;color:#333;background-color:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
:root{--blue:#011f57;--gold:#d4af37;--white:#ffffff}
html,body{width:100%;height:100%;overflow-x:hidden;font-family:sans-serif}
.container{max-width:1200px;margin:0 auto;padding:1px;}


/* TOPO: LOGO E WHATSAPP */
.top-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
  min-height: 120px;
  background: transparent; /* Sem tarja no topo inteiro */
}

.top-header .logo {
  padding: 1px 2px; /* Espaço interno da tarja */
  border-radius: 12px; /* Arredondamento da tarja */
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0;
}

.top-header .logo img {
      background-color: rgba(68, 65, 65, 0.699); /* exemplo: fundo branco translúcido */
  margin-top: 30px;
  max-height: 160px;
  height: auto;
  max-width: 100%;
  backdrop-filter: blur(4px);
  display: block;
  border-radius: 5px; /* Apenas se quiser que a logo tenha bordas arredondadas, pode deixar */
  /* Removi o padding da imagem para evitar duplicidade de "bordas" */
}

/* Animação */
@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-150px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo-img-animada {
  opacity: 0;
  animation: slideInFromLeft 1.5s ease-out forwards;
  animation-delay: 0.5s;
}

/* Responsividade: esconder logo no mobile */
@media (max-width: 768px) {
  .logo-desktop {
    display: none;
  }
}
/* FIM DA LOGO */


/* Animações genéricas já existentes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease-out;
}

/* Quando entra na tela */
.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Animação específica de baixo para cima */
.from-bottom {
  transform: translateY(40px);
}

/* Efeito de zoom leve */
@keyframes zoomPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05); /* zoom leve */
  }
}

/* Aplicar a animação 3 vezes */
.zoom-pulse img {
  animation: zoomPulse 0.6s ease-in-out 0s 12;
}


/* ================================================== */
/* VÍDEO DE FUNDO new */
/* ================================================== */

.video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.whatsapp-center {
  margin-top: 550px;
  margin-bottom: 3px; /* Distância do fundo */
    position: relative;
  z-index: 5;
}

/* não escurecer da imagem de fundo (opcional) */
.video-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

/* Conteúdo em cima da imagem */
.video-overlay-content {
  background: rgba(41, 40, 40, 0.63); /* Tarja escura atrás das frases */
position: absolute;              /* ← chave da centralização vertical */
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  padding: 40px 20px;
  width: 100%; /* ← mantém ocupando toda a largura */
}

/* Animações */
@keyframes slideBlink {
  0% { opacity: 0; transform: translateX(100px); }
  25% { opacity: 1; }
  50% { opacity: 0.4; }
  75% { opacity: 1; }
  100% { opacity: 1; transform: translateX(0); }
}

.slide-blink-on-scroll {
  opacity: 0;
  transform: translateX(100px);
  transition: none;
}

.slide-blink-on-scroll.visible {
  animation: slideBlink 2s ease-out forwards;
  opacity: 1;
}

.animated-text h2, .animated-text h4, .video-overlay-content h4 {
  animation: slideBlink 2s ease-out forwards;
  color: #ffffff;
  font-weight: bold;
}

.video-overlay-content h4 {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 10px;
}



/* ================================================== */
/* end topo new */
/* ================================================== */



/* ================================================== */
/* SEÇÃO DE SERVIÇOS */
/* ================================================== */


.servico-box h5{color:#f7cb45;margin-bottom:10px;font-weight:bold;font-size:1.1rem}
.servico-box p{color:#fff;font-size:0.95rem;margin-bottom:0}

.servico-box {
  background-color: #011f57;
  color: #f7cb45;
  padding: 20px;
  border-radius: 10px;
  height: 100%;
  min-height: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(1);
}

.servico-box:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.25);
}


/* ================================================== */
/* BOTÃO DE CONSULTA */
/* ================================================== */
.botao-consulta{display:inline-block;background-color:#ac8506;color:#022349;font-weight:600;padding:12px 24px;font-size:1rem;border:none;border-radius:6px;text-decoration:none;transition:background-color 0.3s ease,transform 0.2s ease;margin-top:20px}
.botao-consulta:hover{background-color:#8a6d05;transform:translateY(-2px);text-decoration:none}

/* ================================================== */
/* BANNER ADVOGADO */
/* ================================================== */
.banner-advogado{position:relative;background-image:url('images/bkg2.png');background-size:cover;background-position:center;background-repeat:no-repeat;width:100%;min-height:300px;height:50vh;max-height:600px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.banner-content{position:relative;z-index:2;color:#fff;max-width:80%}
.banner-advogado::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.4);z-index:1}

/* ================================================== */
/* ANIMAÇÕES */
/* ================================================== */
@keyframes slideInLeft{0%{opacity:0;transform:translateX(-100px)}100%{opacity:1;transform:translateX(0)}}
@keyframes slideInUp{0%{opacity:0;transform:translateY(50px)}100%{opacity:1;transform:translateY(0)}}
.banner-content h3{animation:slideInLeft 1s ease-out;font-size:2rem}
.banner-content h4{animation:slideInUp 1.2s ease-out;font-size:1.2rem}

/* ================================================== */
/* Primeiro botão whatsapp */
/* ================================================== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #058133;
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #05852d;
  box-shadow: 0 0 12px #01862b;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s;
  margin: 20px auto;
  display: block; /* Centraliza em blocos */
  text-align: center;
  max-width: max-content;
}

.btn-whatsapp:hover {
  background-color: #114424; /* Mais escuro que antes */
  box-shadow: 0 0 25px #bbff00, 0 0 35px #00381c;
  transform: scale(1.05);
  text-decoration: none;
}

.btn-whatsapp i {
  font-size: 1.2rem;
}

/* Fale com advogado */


.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #058133;
  color: rgb(255, 255, 255);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #05852d;
  box-shadow: 0 0 12px #01862b;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s;
  margin: 20px auto;
  display: block; /* Centraliza em blocos */
  text-align: center;
  max-width: max-content;
}

.btn-whatsapp:hover {
  background-color: #114424; /* Mais escuro que antes */
  box-shadow: 0 0 25px #bbff00, 0 0 35px #00381c;
  transform: scale(1.05);
  text-decoration: none;
}

.btn-whatsapp i {
  font-size: 1.2rem;
}


/* ================================================== */
/* frase ALGUMAS SOLUÇÕES JURÍDICAS DE NEGÓCIOS IMOBILIÁRIOS */
/* ================================================== */

@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 4px rgba(2, 35, 73, 0.2);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 12px rgba(2, 35, 73, 0.4);
    transform: scale(1.015);
  }
  100% {
    text-shadow: 0 0 4px rgba(2, 35, 73, 0.2);
    transform: scale(1);
  }
}

.pulse-glow {
  color: #022349;
  font-weight: bold;
  animation: pulseGlow 2.5s ease-in-out infinite;
  transition: all 0.4s ease-in-out;
}

/* Efeito gradiente no hover */
.pulse-glow:hover {
  background: linear-gradient(to right, #ac8506, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  transform: scale(1.02);
}


/* ================================================== */
/* CONTADOR */
/* ================================================== */
.contador-section{background-color:#f5f9ff}
.counter-box{border-right:1px solid #ddd;padding:20px}
.counter-box:last-child{border-right:none}
.counter{font-size:48px;font-weight:bold;color:#8a6d05;opacity:0;transform:translateX(50px);transition:all 0.8s ease-out}
.counter.animated{opacity:1;transform:translateX(0)}
.counter-box p{margin-top:10px;font-weight:500;color:#555;text-transform:uppercase;font-size:0.85rem}

/* ================================================== */
/* DEPOIMENTOS */
/* ================================================== */
.logo-google-depoimentos{position:absolute;top:0;right:0;max-width:160px;padding:10px}
.depoimentos-section{background-color:#f9f9f9}
.depoimento-box{background-color:#fff;border-radius:12px;box-shadow:0 4px 12px rgba(0,0,0,0.08);padding:20px;text-align:center;position:relative;transition:transform 0.3s ease}
.depoimento-box:hover{transform:translateY(-5px)}
.depoimento-img{width:70px;height:70px;object-fit:cover;border-radius:50%;border:3px solid #fff;margin-top:-50px;margin-bottom:10px;background-color:#ccc}
.depoimento-conteudo h5{margin-bottom:5px;font-weight:bold;color:#022349}
.depoimento-conteudo small{display:block;color:#888;margin-bottom:10px}
.stars{color:#fbc02d;font-size:18px;margin-bottom:10px}
.depoimento-conteudo p{font-size:0.95rem;color:#333}

/* ================================================== */
/* MEDIA QUERIES RESPONSIVO */
/* ================================================== */
@media(max-width:768px){
  .top-header{flex-direction:column;gap:10px;align-items:center;padding:0 10px}
  .top-header .logo img{height:60px;padding:6px 12px}
  .banner-content h3{font-size:1.5rem}
  .video-overlay-content h4 { font-size: 1rem; }
  .header h1{font-size:2rem}
  .hero h2{font-size:1.6rem}
    .hero h2{font-size:1.1rem}
  .whatsapp-center img {height: 50px; width: 50px; }
}




/* ================================================== */
/* botão bot whats Fica fixo na tela (acompanha o scroll) */
/* ================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 10px; /* Afastamento lateral de 10px */
  width: 60px;
  height: 60px;
  background-color: transparent;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 1px rgba(37, 211, 102, 0.8);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.whatsapp-float:hover img {
  box-shadow: 0 0 2px rgba(37, 211, 102, 1), 0 0 3px rgba(2, 77, 29, 0.836);
  transform: scale(1.1);
}


/* TELA DOS DOIS BOX ESQ SOBRE DIR FORM */

.sobre-box h3 {
  text-align: center;
}

.sobre-formulario {
  position: relative;
  margin-top: 15px;
}

.conteudo-sobre-form {
  position: relative;
  z-index: 2;
  padding: 15px;
}

.conteudo-sobre p {
  font-size: 1.2rem; /* ou experimente 18px */
  line-height: 1.7;
  text-align: justify;
    text-indent: 15px; /* espaço no início do parágrafo */

}



/* Blocos com imagem de fundo separada */
.sobre-box, .form-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 25px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.8s ease, opacity 1.8s ease;
    opacity: 1;
  transform: translateY(0);
    transform: translateY(50px); /* deslocado para animar */

}

/* Imagem de fundo para SOBRE */
.bg-img-sobre {
  position: absolute;
  inset: 0;
  background-image: url('images/sobreform.png'); /* Substitua pelo seu caminho */
  background-size: cover;
  background-position: center;
  opacity: 0.40;
  z-index: 1;
}

/* Imagem de fundo para FORMULÁRIO */
.bg-img-formulario {
  position: absolute;
  inset: 0;
  background-image: url('images/form.png'); /* Substitua pelo seu caminho */
  background-size: cover;
  background-position: center;
  opacity: 0.40;
  z-index: 1;
}

/* Camadas de conteúdo por cima das imagens */
.conteudo-sobre,
.conteudo-formulario {
  position: relative;
  z-index: 2;
}

/* Responsivo */
@media (max-width: 767px) {
  .conteudo-sobre-form {
    padding: 10px;
  }

  .sobre-box, .form-box {
    padding: 10px;
  }
}


/*  FRASE Resolução de problemas de Empresas e Negócios Imobiliários */

.subtitulo {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1.8s ease-out;
}
/* Quando a classe "ativo" é adicionada */
.subtitulo.ativo {
  transform: translateX(0);
  opacity: 1;
}

/* Animação personalizada */
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in {
  animation: slideInFromRight 1.2s ease-out forwards;
}




/* BACKGROUNDS DAS SECTIONS EM FAIXAS COLORIDAS */
.fundo-cinza-claro {
  background-color: #f0f0f0;
}

.fundo-azul-claro {
  background-color: #d4e9ffe0;
}

.fundo-contador {
  background-color: #fff9f2f1;
}
/* ================================================== */
/* RODAPÉ */
/* ================================================== */
footer{background:linear-gradient(to bottom,#ffffff 0%,#dbdbdb 0%,#dbdbdb 0%,#022349 100%);color:#ffffff;padding:30px 0;text-align:center;font-size:0.9rem}
footer p{color:#022349;margin:5px 0}
footer a{color:#022349;text-decoration:none}
footer a:hover{text-decoration:underline}

.end{max-width:1200px;margin:0 auto;padding:10px;}
