/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: "Montserrat", sans-serif;
}
::selection {
  background-color: rgb(0, 0, 0); /* Cor de fundo da seleção */
  color: #cfa04f; /* Cor do texto selecionado */
}


/* Para compatibilidade com Firefox */
::-moz-selection {
  background-color: rgb(0, 0, 0);
  color: #cfa04f;

}
/* básico (mantive só o essencial aqui) */
.nav-links { list-style: none; display: flex; gap: 20px; align-items: center; padding:0; margin:0; }
.nav-links li { position: relative; }
.nav-links a { font-weight: 500; }

/* dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-bottom: 15px;
  background: #000000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  border-radius: 0px;
  min-width: 220px;
  z-index: 10;
  flex-direction: column;
  padding: 6px 20px;
}
.dropdown-content li{
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-top: 10px;
  
}
.dropdown:hover .dropdown-content { display: flex; }

/* ======= ANIMAÇÃO DA SETA ======= */
/* garante que a tag <i> aceite transformações */
.dropbtn i {
  display: inline-block;            /* essencial para transformar */
  margin-left: 6px;
  transition: transform 250ms ease; /* suaviza a rotação */
  transform-origin: center;         /* ponto de rotação */
  backface-visibility: hidden;      /* evita “piscar” no flip 3D */
}

/* opção 1: rotaciona 180° no plano 2D (seta aponta para cima) */
.dropdown:hover .dropbtn i {
  transform: rotate(180deg);
}

  /* ===== Botão de subir ===== */
  #btnTopo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #c08731;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 26px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  #btnTopo:hover {
    background: #946723;
    transform: translateY(-3px);
  }

  /* Quando o botão deve aparecer */
  #btnTopo.mostrar {
    opacity: 1;
    pointer-events: auto;
  }
/* largura da barra */
  ::-webkit-scrollbar {
    width: 14px;            /* vertical */
    height: 14px;           /* horizontal */
  }

  /* trilho (background da barra) */
  ::-webkit-scrollbar-track {
    background: #f0f0f3;
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
  }

  /* polegar (a "pega" que se move) */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #deb760, #b07828);
    border-radius: 10px;
    border: 3px solid #f0f0f3; /* cria espaço entre thumb e track */
  }

  /* polegar ao passar o mouse */
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #a07e35, #7c531a);
  }

  /* canto (quando há barras horizontal e vertical) */
  ::-webkit-scrollbar-corner {
    background: #f0f0f3;
  }
  .right-hero-content img {
    width: 600px;
}

/* Navbar base */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  padding: 15px 40px;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.navbar .container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

/* Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #c08731;
}

/* Botão contato */
.Btn {
  padding: 8px 20px;
  border: 1.5px solid #c08731;
  color: white;
  background: transparent;
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
}

.Btn:hover {
  background: #c08731;
}

/* Ícone do menu (hamburguer) */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* ======== Responsivo (celular) ======== */
@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
.nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-left: 30px;
        padding: 30px 0;
    }
    .nav-links li{
      margin-left: 10%;
    }

  .Btn {
    display: none; /* opcional: esconde o botão contato no mobile */
  }
}

/* Hero Section */
.hero {
  height: 90vh;
  background: url("../assets/back.webp") center center/cover no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 0 20px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    width: 100%;
    text-align: left;
    align-items: center;
    align-content: center;
    display: flex

;
padding: 30px 300px;
}
.hero-content ul{
  list-style: none;
}
.right-hero-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto;
}
.right-hero-content img {
  width: 100%;
  max-width: 600px;
  transition: transform 0.2s ease-out;
  will-change: transform;
  pointer-events: none; /* evita interferência do mouse */
}

.hero-content ul i{
 
  border-radius: 50px;
 
  color: #cfa04f;
  margin-right: 8px;
}
.hero-content h2{
  color: #cfa04f;
}
.hero-content span{
  color: #cfa04f;
}
#logo-hero{
  width: 50px;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.left-hero-content{
  width: 800px;
}
.left-hero-content b{
  color: #cfa04f;
}
.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background: #00b050;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-cta:hover {
  background: #009143;
}

.container-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 8%;
  flex-wrap: wrap;
  background-color: #fff;
}

.foto-advogado img {
  width: 400px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
 
}

.info-advogado {
  max-width: 600px;
}

.info-advogado h4 {
  color: #444;
  font-size: 14px;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-advogado h1 {
  font-size: 36px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 5px;
}

.oab {
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}

.info-advogado p {
  color: #333;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 30px;
}

.btn-equipe {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #cfa04f, #c08731);
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-equipe:hover {
  background: linear-gradient(135deg, #dcb766, #b07828);
  transform: translateY(-2px);
}


.container-3 {
    text-align: center;
    padding: 50px 200px;
  
    background: #fff;
    font-family: "Montserrat", sans-serif;
}
.container-3 h4 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #444;
  font-weight: 600;
  margin-bottom: 15px;
}

.container-3 h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1e1e1e;
  line-height: 1.3;
  margin-bottom: 15px;
}

.container-3 .descricao {
  color: #444;
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* ====== Cards ====== */
.cards-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  justify-items: center;
}

.card {
  background: #fff;
  border-radius: 0px;
  padding: 40px 25px;
cursor: pointer;
  text-align: center;
  transition: 0.3s ease;
}

.card.destaque {
  background: #f7f7f7;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
}

#icon {
  font-size: 26px;
 
  margin-bottom: 15px;
  padding: 6px 8px; 
  background-color: #ffffff;
  color: #cfa04f;
  margin-bottom: 16px;
  transition: 0.2s;
    border-radius: 50%;
}
.card:hover  #icon {
    background-color: #c08731;
  color: #fff;  transition: 0.2s;
}


.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e1e1e;
}

.card p {
  font-size: 15px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.card a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #797979;
  transition: 0.3s;
}

.card a:hover {
    text-decoration: underline !important;
  color: #c08731;
}


.card:hover a{
    text-decoration: underline !important;
  color: #c08731;
}

.container-4 {
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
              url('../assets/back.webp') center/cover no-repeat;
  color: white;
  padding: 100px 200px;
  font-family: 'Montserrat', sans-serif;
}

.container-4 .sobre-empresa {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.sobre-empresa .texto h5 {
  letter-spacing: 1.5px;
  font-weight: 600;
  font-size: 13px;
  color: #cccccc;
}

.sobre-empresa .texto h2 {
  font-size: 36px;
  font-weight: 800;
  color: #f0a500;
  line-height: 1.2;
}

.sobre-empresa .texto p {
  color: #f2f2f2;
  margin-top: 10px;
  font-weight: 500;
}

.sobre-empresa .descricao {
  max-width: 600px;
  line-height: 1.6;
  color: #e6e6e6;
  font-size: 15px;
}

.metricas {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 50px 0;
}

.metricas div h3 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 10px;
}

.metricas div p {
  font-size: 14px;
  color: #ddd;
}

.cards-contato {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.cards-contato .card {
  background: #fff;
  color: #222;
  border-radius: 12px;
  padding: 30px 25px;
  width: 320px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.cards-contato .card i {
  font-size: 30px;
  color: #25d366;
  margin-bottom: 10px;
}

.cards-contato .card h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.cards-contato .card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.btn-green {
  display: inline-block;
  background: #25d366;
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}


.btn-green:hover {
  background: #1da851;
}

.index-services {
    display: flex
;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0px;
    background-color: #fff;
    padding: 0px;
}
/* ===== Card ===== */
.service-card {
  flex: 1 1 250px;
  background-color: #fafafa;
  text-align: center;
  padding: 40px 65px;
  border-radius: 4px;
  transition: all 0.3s ease;
  width: 100%;
}

.service-card:nth-child(even) {
  background-color: #f6f6f6;
}

.service-card:hover {
  
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ===== Ícone ===== */
.service-card i {
  font-size: 32px;
  color: #b89c63; /* dourado */
  margin-bottom: 15px;
}

/* ===== Título ===== */
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #1c1c1c;
}

/* ===== Texto ===== */
.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ===== Link ===== */
.service-card a {
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card a:hover {
  color: #b89c63;
}

/* ===== Responsivo ===== */
@media (max-width: 950px) {
    .index-services {
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 40px 20px;
    }


  .service-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 1200px) {

  .hero-content {
    position: relative;
    width: 100%;
    text-align: left;
    align-items: center;
    align-content: center;
    display: grid;
    padding: 30px 30px;
}
.right-hero-content img {
    width: 300px;
}  
.container-3 h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1.3;
    margin-bottom: 15px;
}
.cards-servicos {
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    justify-items: center;
}

.container-3 {
        text-align: left;
        padding: 50px 50px;
        background: #fff;
        font-family: "Montserrat", sans-serif;
    }.container-4 {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../assets/back.webp) center / cover no-repeat;
    color: white;
    padding: 100px 50px;
    font-family: 'Montserrat', sans-serif;
}.footer-menu {
    list-style: none;
    font-size: 12px;
    padding: 0;
    margin-bottom: 20px;
    display: flex
;
    gap: 25px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}    .hero {
        height: fit-content;
        background: url(../assets/back.webp) center center / cover no-repeat;
        position: relative;
        display: flex
;
        justify-content: center;
        align-items: center;
        color: white;
        padding: 160px 0px 0px 0px;
    }
       .dropdown-content {
        display: contents;
        position: relative;
        top: 100%;
        padding: 10px 300px;
        left: 0;
        margin-bottom: 0px;
        background: #00000000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
        border-radius: 0px;
        min-width: 220px;
        z-index: 10;
        flex-direction: column;
        padding: 6px 0px;
    }
    .dropdown {
        text-align: left;
  
    }
    .dropdown-content{
      list-style: none !important ;
    }
    .dropdown .dropdown-content li{
      margin-left: 0px;
    }
    .dropdown-content li {
    border-bottom: 1px solid #33333300;
    padding-bottom: 10px;
    margin-top: 10px;
}
.dropbtn i {
    display: none;
    margin-left: 6px;
    transition: transform 250ms 
ease;
    transform-origin: center;
    backface-visibility: hidden;
}
    .hero-content {
        position: relative;
        width: 100%;
        text-align: left;
        align-items: center;
        align-content: center;
        display: grid
;
        padding: 3px 30px 100px 30px;
    }
    .right-hero-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    padding: 30px;
    display: none
;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
}
    .left-hero-content {
    width: 100%;
   
}.hero-content h2 {
    font-size: 20px;
    color: #cfa04f;
}.hero-content ul {
    list-style: none;
    font-size: 12px;
}
    .hero-content h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}#logo-hero {
    display: none;
    width: 50px;
}
    .logo {
    display: none;
    height: 20px;
}
.hero-content p {
    font-size: 11px;
    margin-bottom: 30px;
}.left-hero-content h1 {
    font-size: 1rem !important;
    font-weight: 600;
}
}