@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 96px;
}

a {
  color: #000000;
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px;
}

a:hover {
  color: #e1b954;
}

.navbar {
  background-color: #f5f5f5;
  transition: top 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 0;
}

.navbar-brand {
  margin: 0;
  padding: 0;
}

.navbar-brand {
  font-size: 2rem;
  font-weight: bold;
}

.nav-link {
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  color: #333333;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 8px;
  width: 40px;
  height: 2px;
  background-color: #e1b954;
}

.nav-link:hover {
  color: #e1b954;
}

/*******************************/
h1,
#titulo-sobre,
#titulo-servicos,
#titulo-blog,
#titulo-contato {
  text-align: center;
  color: #333333;
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

#titulo-sobre::after,
#titulo-servicos::after,
#titulo-blog::after,
#titulo-contato::after {
  display: none;
}

.h1-linha {
  background-image: url('../img/h1-linha.png');
  width: 200px;
  height: 3px;
  margin: 0 auto;
  display: block;
  margin-bottom: 50px;
}

h2 {
  color: #333333;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: left;
  margin: 20px 0;
  position: relative;
  padding-bottom: 5px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: #e1b954;
}

h3 {
  font-size: 1.4rem;
  font-weight: bold;
}

p {
  font-size: 1.1rem;
  color: #343d46;
  line-height: 2rem;
}

.centro {
  text-align: center;
}
.direita {
  width: 100%;
  text-align: right;
}

/*******************************/

.banner {
  position: relative;
  display: inline-block;
  background-image: url('../img/banner-site.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-text {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 50px;
  margin: 50px 0;
  border-radius: 50px;
}

.breadcrumb-text {
  position: relative;
  display: inline-block;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/banner-site.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding: 30px 0;
  width: 100%;
  height: auto;
}

.banner p {
  color: #333333;
  font-size: 1.2rem;
  line-height: 2rem;
  letter-spacing: 1.2px;
  font-weight: bold;
}

.banner a {
  text-decoration: none;
}

.banner span {
  color: #e1b954;
  font-weight: bold;
}

.banner .btn {
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #e1b954;
  color: #333333;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
}

.banner .btn:hover {
  background-color: #e7c776;
}

.breadcrumb-text h1 {
  display: block;
  text-align: left;
  color: #ffffff;
  font-size: 4rem;
  letter-spacing: 1.2px;
  font-weight: bold;
  margin-bottom: 15px;
}

.seta-btn i {
  display: inline-block;
  transition: transform 0.2s ease-in-out;
}
.seta-btn:hover i {
  transform: translateX(10px);
}
/*******************************/
ul.breadcrumb {
  list-style: none;
  width: auto;
  /*background-color: #eee;*/
}
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
  color: #ffffff !important;
}
ul.breadcrumb li + li:before {
  padding: 8px;
  color: #ffffff;
  content: '/\00a0';
}
ul.breadcrumb li a {
  color: #e1b954;
  text-decoration: underline;
  text-underline-offset: 4px;
}
ul.breadcrumb li a:hover {
  color: #e7c776;
  text-decoration: underline;
}

/*******************************/
.polaroid {
  border: 20px solid #ffffff;
  box-shadow: 5px 10px 18px #888888;
}

.img-left {
  float: left;
  margin: 10px 15px 10px 0;
}

/*******************************/
#sobre {
  padding: 50px 0;
}

.card {
  border-radius: 10px !important;
  border: none;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 25px;
  min-height: 245px;
}

.card-body .bi {
  color: #6497b1;
  font-size: 80px;
  font-weight: bolder;
  padding: 10px;
  display: block;
}

.perita {
  background-color: #ffffff;
  background-image: url('../img/bg_pericias.webp');
  background-repeat: repeat;
  border-radius: 20px;
  padding: 15px;
  margin: 30px 0;
}

.perita .col-lg-9 {
  padding-right: 50px;
}

.pericia ul {
  list-style-position: outside;
}

.perita li {
  font-size: 0.9rem;
  color: #000000 !important;
  text-align: left;
  padding-bottom: 20px;
  list-style: square;
  list-style-position: outside;
}

.pericia img {
  display: block;
}

.isbn {
  font-size: 0.8rem;
  color: #000000;
  padding: 5px;
  text-align: left;
  display: block;
  float: left;
}

/********************************/
#servicos {
  background-color: #fcfcfc;
  padding: 50px 0;
  /*margin: 30px 0;*/
}

#servicos hr {
  padding: 0;
  border: 1px solid #cacaca;
}

#servicos .card {
  box-shadow: none;
  padding: 20px;
  text-align: left;
  background-color: #ffffff;
  background-image: url('../img/bg_pericias.webp');
  background-repeat: repeat;
  /*border-radius: 20px;*/
  margin: 30px 0;
  min-height: auto;
}

#blog {
  padding: 50px 0;
}

#sobre .btn,
#servicos .btn,
#blog .btn {
  font-size: 1.2rem;
  font-weight: bold;
  background-color: #e1b954;
  color: #333333;
  border: none;
  padding: 10px 20px;
  margin: 0 20px;
  border-radius: 5px;
}

#sobre .btn:hover,
#servicos .btn:hover,
#blog .btn:hover {
  background-color: #e7c776;
}

#contato {
  background-color: #fcfcfc;
  padding-top: 50px;
}

/********************************/

.flip-box {
  background-color: transparent;
  width: 100%;
  height: 60px;
  perspective: 1000px;
  margin-bottom: 15px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateX(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 0px;
  line-height: 60px;
  font-size: 1rem;
  text-align: center;
}

.flip-box-front {
  background-color: #687980;
  color: #ffffff;
}

.flip-box-back {
  background-color: #687980;
  color: white;
  transform: rotateX(180deg);
}

/********************************/
.form-control {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border: 1px solid #687980;
  border-radius: 0px;
  outline: 0 !important;
  font-size: 1.2rem;
}

input[type='submit'] {
  width: 100%;
  height: auto;
  padding: 15px;
  margin: 15px 0;
  border: 0;
  border-radius: 5px;
  background-color: #e1b954;
  color: #333333;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

input[type='submit']:hover {
  background-color: #e7c776;
  color: #333333;
}

textarea {
  height: 180px !important;
}

input[type='text']:focus,
textarea:focus,
.form-control:focus {
  border: 1px solid #000000;
  outline: 0 !important;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.alert {
  /*margin-top: 96px;*/
  /*padding: 50px 100px;*/
  color: #fff;
  width: 100%;
  /*min-height: 195px;*/
  z-index: 999;
  position: absolute;
  border-radius: 0;
  text-align: center;
}

.alert p {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
  padding: 80px 0;
}

.alert-error {
  background-color: #ff6f69;
}

.alert-success {
  background-color: #96ceb4;
}

/********************************/
.rua-mapa {
  font-family: 'Nunito Sans', sans-serif;
  text-align: center;
  font-size: 15px;
  color: #293039;
  font-weight: bold;
  margin: 30px 0;
}

.mapa {
  width: 100%;
  padding: 0px;
  height: 350px;
  border: none;
  margin-bottom: -8px;
}

/*****************************/
footer {
  background-color: #333333;
  text-align: left;
  padding: 15px 0;
  margin: 0;
}

footer h3 {
  margin: 0;
  padding: 18px 0 10px 0;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
}

footer p {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6rem;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5rem;
  /*text-underline-offset: 4px;*/
}

footer a:hover {
  color: #e1b954;
}

.admin {
  background-color: #687980;
  padding: 12px 0;
  color: #ffffff;
  font-size: 0.9rem;
}

.admin a {
  color: #e1b954;
  font-size: 0.9rem;
  text-decoration: none;
}

.admin a:hover {
  color: #ffffff;
}

.footer-espaco {
  flex: 1; /* Permite que o conteúdo principal cresça para ocupar o espaço disponível */
}

/* Estilo página 404 */
.div-404 {
  width: 100%;
  text-align: center;
  padding: 80px 0;
}

.div-404 button {
  width: auto;
  text-align: center;
  padding: 10px 20px;
  background-color: #e1b954;
  color: #ffffff;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.div-404 button:hover {
  background-color: #687980;
}

/********************************/
/* Estilos do botão de voltar ao topo */
#backToTop {
  position: fixed;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: none;
  background-color: #e1b954;
  color: #ffffff;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  text-align: center;
  line-height: 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#backToTop.show {
  display: block;
}

#backToTop:hover {
  background-color: #e7c776;
  color: #333333;
  transform: translateY(-6px);
}

/* Adiciona a seta para cima no botão */
#backToTop::before {
  content: '↑';
  font-size: 30px;
}

/***********************/
@media (max-width: 991px) {
  .banner-text {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin: 20px 0;
    border-radius: 50px;
  }
  .banner p {
    color: #333333;
    font-size: 0.8rem;
    line-height: 1rem;
    letter-spacing: 1.2px;
    font-weight: bold;
  }
  .banner .btn {
    display: none;
  }
  .nav-item:last-child {
    display: none;
  }
}

@media (max-width: 767px) {
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
  }
  .nav-link::after {
    left: 0px;
  }
  .banner .col-md-7 {
    width: 100%;
  }
  .banner img {
    display: none;
  }
}

/***********************/
@media (max-width: 575px) {
}

/***********************/
@media (max-width: 399px) {
  .navbar-brand {
    font-size: 1rem;
    font-weight: bold;
  }
  h1,
  .breadcrumb-text h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .flip-box-front,
  .flip-box-back {
    font-size: 0.8rem;
  }
}
