.section-padding30 {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.about-padding {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.mb-70 {
  margin-bottom: 35px !important;
}

/* Corrige o espaçamento da seção Sobre nós */
.about-low-area {
  padding-top: 60px !important;   /* reduz o espaço superior */
  padding-bottom: 60px !important; /* mantém harmonia */
  margin-top: 0 !important;       /* evita sobreposição ao header */
  position: relative;
  z-index: 1; /* garante que fique abaixo do header */
}

/* Ajusta imagens da seção para não "vazar" */
.about-low-area .about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

html {
  scroll-behavior: smooth;
}

/* Garante que o título não seja cortado pelo header fixo */
section, 
.about-low-area,
.legal-practice-area,
.teams-area,
.contact-area {
  scroll-margin-top: 100px; /* ajuste conforme a altura do header */
}

/* Ajusta o espaçamento antes dos títulos das seções */
.section-tittle {
  margin-top: 60px;   /* distância extra acima do título */
}

.section-tittle h2 {
  margin-bottom: 40px; /* distância entre o título e o conteúdo */
}

/* Seções principais com mais respiro */
.about-low-area,
.legal-practice-area,
.teams-area,
.contact-area {
  padding-top: 100px;   /* aumenta o espaço antes do título */
  padding-bottom: 80px; /* mantém espaço embaixo */
}


/* Força o header fixo */
.header-area {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  transition: all 0.3s ease;
  padding: 20px 0;
  box-shadow: none;
}

/* Logo no estado inicial (topo) */
.header-area .logo img {
  max-height: 190px;
  transition: all 0.3s ease;
}

/* Estado reduzido (quando scrolla) */
.header-area.shrink {
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.header-area.shrink .logo img {
  max-height: 60px;
}


/* Links do menu */
#navigation li a {
  color: #000 !important;   /* preto */
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Hover dos links do menu */
#navigation li a:hover {
  color: #333 !important;   /* cinza escuro para contraste */
}

/* Botão Fale Conosco */
.header-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;           /* igual à altura do header */
  padding: 0 25px;
  background-color: #677a6f !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  border-radius: 0;        /* sem borda arredondada, parece parte do menu */
  transition: background 0.3s ease;
}

.header-btn a:hover {
  background-color: #556b2f !important;
}


[data-background] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ajuste da área do slider */
.slider-area {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-active .single-slider {
  height: 100vh; /* ocupa tela cheia, pode ajustar */
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}

/* remove margin extra do owl */
.owl-carousel .owl-stage-outer {
  padding: 0 !important;
  margin: 0 !important;
}

/* esconder setas se não usar nav:true */
.owl-nav {
  display: none !important;
}

/* Posiciona setas nas laterais */
.slider-area .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none; /* evita bloquear cliques no slide */
  padding: 0 20px; /* margem lateral */
}

.slider-area .owl-nav button {
  background: rgba(0,0,0,0.5);
  color: #fff !important;
  border: none;
  font-size: 28px;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto; /* botão clicável */
  transition: background 0.3s ease;
}

.slider-area .owl-nav button:hover {
  background: rgba(0,0,0,0.8);
}

/* Top Bar */
.top-bar {
  background-color: #556b2f; /* verde musgo escuro */
  color: #fff;
  font-size: 14px;
  padding: 6px 20px;
}

.top-bar .contact-info span {
  margin-right: 20px;
  color: #fff;
}

.top-bar .contact-info a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.top-bar .contact-info a:hover {
  text-decoration: underline;
}

.top-bar .social-icons a {
  color: #fff;
  margin-left: 10px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.top-bar .social-icons a:hover {
  color: #dcdcdc;
}

/* Header ajustado */
.header-area {
  background: #ffffffee; /* fundo translúcido */
  padding: 10px 0;
  position: relative;
  z-index: 5;
}

/* Container relativo para a posição da logo */
.header-area .container-fluid {
  position: relative;
}

/* Logo flutuante, deslocada mais para a direita */
.logo {
  position: absolute;
  top: 0;                  
  left: 220px;             /* ajuste aqui a distância da esquerda */
  transform: translateY(-20%); /* sobe um pouco para dar o efeito de flutuar */
  z-index: 20;
}

/* Logo maior, destacada */
.logo .main-logo {
  max-width: 220px;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}


.logo .main-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}



/* Links do menu ajustados para o header mais fino */
#navigation li a {
  padding: 10px 15px;  /* menos altura */
  font-weight: 600;
  color: #000 !important;
}

#navigation li a:hover {
  color: #333 !important;
}

.hero__caption h1 {
  text-transform: none !important;
}

/* Ajusta o texto do hero para alinhar com o logo */
/* Remove centralização padrão do container dentro do slider */
.slider-area .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Faz o texto começar mais à esquerda */
.hero__caption {
  margin-left: 215px;   /* antes estava 120px → empurra mais pra direita */
  text-align: left;
  max-width: 700px;
}

.hero__caption h1 {
  font-size: 48px;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero__caption .subtitle {
  font-size: 22px;
  font-weight: 400;
  color: #444;
  line-height: 1.4;
}

.practice-img {
  width: 100%;
  height: 220px; /* altura padrão para todos os frames */
  overflow: hidden;
  position: relative;
  border-radius: 8px; /* opcional */
}

.practice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* corta e ajusta sem distorcer */
  border-radius: 8px; /* opcional, igual ao container */
}

/* Fundo do footer em azul */
.footer-bg {
  background-color: #677a6f !important; /* azul escuro elegante */
  color: #fff; /* texto branco para contraste */
}

/* Ajustar textos do footer */
.footer-area p,
.footer-area a,
.footer-area h4 {
  color: #fff !important;
}

.team-img {
  width: 100%;
  aspect-ratio: 3 / 4; /* todas no mesmo formato retrato */
  overflow: hidden;
  border-radius: 12px; /* cantos arredondados */
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* preenche o container */
  object-position: center; /* centraliza */
  display: block;
}

/* Overlay escondido */
.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 102, 0.8); /* azul escuro translúcido */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 14px;
  line-height: 1.4;
}

/* Corrige o menu */
.main-menu nav ul {
  display: flex;
  justify-content: center; /* centraliza os itens */
  align-items: center;
  margin: 0;
  padding: 0;
  height: 70px; /* mesma altura do header */
}

.main-menu nav ul li {
  list-style: none;
  height: 100%;
}

.main-menu nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 25px;
  color: #000;
  font-weight: 600;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.main-menu nav ul li:hover a {
  color: #fff;
}


.team-img {
  position: relative;
  overflow: hidden; /* evita que o texto ultrapasse */
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(103, 122, 111, 0.9); /* verde translúcido */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  z-index: 2;
}

.team-img:hover .team-overlay {
  opacity: 1;
}

/* Seção Sobre Nós com imagem de fundo */
.about-low-area {
  position: relative;
  background: url('assets/img/about/escritorio.png') no-repeat center center;
  background-size: cover;
  padding-top: 80px;
  padding-bottom: 80px;
  color: #fff; /* deixa todo texto branco por padrão */
}

/* Overlay translúcido para melhorar leitura */
.about-low-area::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55); /* preto com 55% transparência */
  z-index: 1;
}

/* Garante que o conteúdo fique acima do overlay */
.about-low-area .container {
  position: relative;
  z-index: 2;
}

/* Ajusta os títulos e parágrafos */
.about-low-area h2 {
  color: #fff;            /* branco puro */
  text-shadow: 1px 1px 6px rgba(0,0,0,0.8); /* sombra para legibilidade */
}

.about-low-area p {
  color: #f0f0f0;         /* branco suave */
  font-size: 18px;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Garante que todo texto da seção Sobre nós fique branco */
.about-low-area,
.about-low-area h2,
.about-low-area p,
.about-low-area span,
.about-low-area li,
.about-low-area a {
  color: #ffffff !important;
}

/* --- Ajustes para telas menores --- */
/* Mobile ajustes até 991px */
/* Botão flutuante somente no mobile */
@media (max-width: 991px) {
  .header-btn {
    display: none !important; /* esconde no header */
  }

  .floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
  }

  .floating-btn a {
    display: flex;
    align-items: center;
    gap: 8px; /* espaço entre ícone e texto */
    padding: 12px 18px;
    background: #25d366; /* verde WhatsApp */
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px; /* formato de pílula */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
  }

  .floating-btn a:hover {
    background: #1ebe5b;
    transform: scale(1.05);
  }

  .floating-btn i {
    font-size: 20px;
  }
}

/* --- Mobile menu (hamburger) --- */
.slicknav_menu {
  background: #677a6f;   /* cor de fundo do menu mobile */
}

.slicknav_menu .slicknav_menutxt {
  display: none; /* esconde o texto padrão */
}

.slicknav_menu .slicknav_icon-bar {
  background: #fff; /* cor dos 3 tracinhos */
}

.slicknav_nav {
  background: #677a6f;
  text-align: center;
}

.slicknav_nav a {
  color: #fff !important;
  font-weight: 600;
  padding: 10px;
}

.slicknav_nav a:hover {
  background: #556b2f;
}

/* Ajustes para telas menores (tablets e celulares) */
@media (max-width: 991px) {
  .hero__caption {
    margin-left: 0;         /* remove o deslocamento fixo */
    text-align: center;     /* centraliza o texto no mobile */
    padding: 0 15px;        /* respiro lateral */
  }

  .hero__caption h1 {
    font-size: 28px;        /* reduz o tamanho do título */
    line-height: 1.3;
  }

  .hero__caption .subtitle {
    font-size: 16px;        /* subtítulo menor */
    line-height: 1.4;
  }

  .logo {
    position: relative;     /* não fica mais absoluta */
    left: 0;
    transform: none;
    text-align: center;
    margin-bottom: 15px;    /* espaço abaixo no mobile */
  }

  .logo img {
    max-width: 160px;       /* reduz o tamanho da logo */
  }

  .header-area .main-menu {
    display: none;          /* esconde menu desktop */
  }

  .mobile_menu {
    display: block !important; /* força menu mobile */
  }
}
/* Ajuste das imagens da equipe no mobile */
@media (max-width: 768px) {
  .team-img {
    aspect-ratio: 1 / 1;   /* quadrada no mobile */
    max-width: 220px;      /* limita largura */
    margin: 0 auto 20px;   /* centraliza e dá espaço embaixo */
  }

  .team-img img {
    object-fit: cover;
    border-radius: 10px;
  }

  .single-teams {
    margin-bottom: 30px; /* mais respiro entre os cards */
  }

  .team-caption h4 {
    font-size: 16px; /* título menor */
  }

  .team-caption span {
    font-size: 14px;
  }
}
