/* Sub-Menu*/
.submenu {
  margin-top: 78px;
  background-color: #f9f9f9;
  height: 40px;
}

.submenus {
  padding-top: 5px;
}

.submenus a {
  color: #333333;
  font-size: 0.8em;
  text-decoration: none;
}

.submenus a:hover {
  color: #1b1b1b;
  font-size: 0.8em;
  text-decoration: none;
}

.submenus span {
  color: #a2a2a2;
  font-size: 0.8em;
  text-decoration: none;
}

.submenus .fa-angle-double-right {
  color: #929292;
  font-size: 0.7em;
  padding-top: 10px;
}

/* Citações */
.destaques {
  margin-top: 0px;
  width: 100%;
  height: 140px;
  background-image: url(../img/fundos.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 17, 17, 0.708);
}

.destaques h3 {
  margin-top: 20px;
  color: #d6a94b;
  line-height: 45px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
}

.destaques p {
  color: #f2f2f2;
  text-align: left;
  font-size: 1em;
  font-weight: 500;
  margin-top: -10px;
}

/* Áreas de Praticas*/
.areas-grid {
  display: grid;
  grid-template-columns:
    repeat(4, 1fr);
  gap: 22px;
}


/* Cartão */
.area-card {
  position: relative;
  background: white;
  border: 1px solid #e6e8ea;
  padding: 32px 27px;
  min-height: 350px;
  border-radius: 6px;
  overflow: hidden;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.area-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #b38a44;
  transform: scaleX(0);
  transform-origin: left;
  transition: .35s;
}

.area-card:hover {
  transform: translateY(-8px);
  border-color: #d7c19b;
  box-shadow:
    0 18px 45px rgba(20, 30, 40, .10);
}

.area-card:hover::before {
  transform: scaleX(1);
}

/* número */
.card-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #c6cdd2;
}


/* ícone */
.icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5efe4;
  color: #a47b38;
  border-radius: 50%;
  font-size: 22px;
  margin-bottom: 28px;
  transition: .3s;
}

.area-card:hover .icon {
  background: #b38a44;
  color: white;
  transform: rotateY(180deg);
}

/* título */
.area-card h5 {
  font-size: 19px;
  line-height: 1.4;
  color: #17212b;
  margin-bottom: 15px;
}

/* descrição */
.area-card p {
  color: #454c51;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* link */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a7235;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: .3s;
}

.card-link i {
  transition: .3s;
}

.card-link:hover i {
  transform: translateX(5px);
}




.contact-box {
  margin-top: 60px;
  padding: 40px;
  background: #17202a;
  border-radius: 14px;
  text-align: center;
  color: #fff;
}

.contact-box h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.contact-box p {
  color: #d7d7d7;
  margin-bottom: 25px;
}

.btn-contact {
  display: inline-block;
  background: #b08d57;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-contact:hover {
  background: #967443;
  color: #fff;
  text-decoration: none;
}

/* Responsive Tela Smartphone */
@media (max-width: 768px) {

  /* Sub-Menu*/
  .submenu {
    margin-top: 50px;
    height: 60px;
  }

  /* Biblioteca */
  .submenus {
    padding-top: 23px;
  }

  .submenus a {
    color: #444444;
    font-size: 0.7em;
    text-decoration: none;
  }

  .submenus a:hover {
    color: #1b1b1b;
    font-size: 0.7em;
    text-decoration: none;
  }

  .submenus span {
    color: #7a7a7a;
    font-size: 0.7em;
    text-decoration: none;
  }

  .submenus .fa-angle-right {
    color: #7a7a7a;
    font-size: 0.6em;
    padding-top: 10px;
  }

  /* Citações */
  .destaques {
    margin-top: 0px;
    width: 100%;
    height: 190px;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .destaques h3 {
    margin-top: 20px;
    line-height: 30px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
    font-size: 1.4em;
  }

  .destaques p {
    color: #f7f7f7;
    text-align: left;
    font-size: 1em;
    padding-top: 10px;
  }

  /* Áreas de Atuação */
  .atuacao {
    margin-bottom: 40px;
  }

  .practice-section {
    padding: 0px 15px;
  }

  .practice-card {
    padding: 25px;
  }

}


/* RESPONSIVO */

@media (max-width: 1050px) {

  .areas-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


@media (max-width: 700px) {

  .hero {
    min-height: 380px;
  }

  .areas-section {
    padding: 70px 0;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .area-card {
    min-height: auto;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta h2 {
    font-size: 30px;
  }

}


@media (max-width: 450px) {

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 15px;
  }

  .section-header h2 {
    font-size: 34px;
  }

}