/* Variaveis */
:root {
  --color_primary: #3E1964 ;
  --color_fundo_roxo: #e0dae6 ;
  --color_secondary: #9E7B52;
  --color_secondary_medio: #775C3C;
  --color_secondary_escuro: #5A462F;
  --color_gray_text: #565656;
}

/* Fontes */
@font-face{
  font-family:"bethany";
  src: url('../fonts/bethany elingston/Bethany Elingston.otf');
}

@font-face{
  font-family:"niramit";
  src: url('../fonts/Niramit/Niramit-Regular.ttf');
}

@font-face{
  font-family:"niramit-SemiBold";
  src: url('../fonts/Niramit/Niramit-SemiBold.ttf');
}

@font-face{
  font-family:"niramit-Light";
  src: url('../fonts/Niramit/Niramit-Light.ttf');
}

@font-face{
  font-family:"niramit-medium";
  src: url('../fonts/Niramit/Niramit-Medium.ttf');
}


/* Styles */
* {
  outline: none;
}

html{
  scroll-behavior: smooth;
} 

body {
  width: 100%;
  font-family: niramit ;
  margin:0;
  padding: 0;
  background-color: rgb(253, 253, 253);
}

h1,h2,h3,h4{
  font-family: bethany;
  font-weight: 400;
  font-size: 58px;
  color: black;
}

h2 {
  font-size: 38px;
}

a{
  text-decoration:none;
  color: var(--color_gray_text);
}
ul{
  list-style-type: none;
  padding: 0px;
}

p,span,li{
  font-family: niramit ;
  color:var(--color_gray_text);
  font-size: 19px;
  font-weight: 400;
  margin: 0px;
}


/*Header*/
header {
  min-height: 100vh;
  text-align: left;
  background-image: url(../img/fundo.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
}

div#apresentacao {
  width: 36%;
  padding: 10%;
}

span.nome-advogado {
  font-family: niramit-SemiBold;
  font-size: 28px;
  font-weight: 600;
  color: var(--color_primary);
}

p.text-header {
  width: 82%;
  font-size: 23px;
  margin-bottom: 50px;
}


/*Global*/
button.btPage {
  font-family: niramit-Light;
  font-size: 18px;
  font-weight: 300;
  background-color: var(--color_primary);
  color: white;
  padding: 19px 27px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

i.icon-seta {
  transform: rotate(315deg);
  margin-left: 10px;
}

.btn-more {
  display: block;
  margin: 40px auto 0;
  width: 150px;
  height: 50px;
  border: 2px solid var(--color_primary);
  border-radius: 999px;
  background: transparent;
  color: var(--color_primary);
  font-size: 18px;
  cursor: pointer;
  transition: .3s;
}

.btn-more:hover {
  background: var(--color_primary);
  color: white;
}


/*Menu*/
nav {
  background-color: white;
  position:sticky;
  top: 0;
  z-index: 1000;
  width: 80%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content:space-between;
  padding: 1% 10%;
}

nav ul{
  width: 60%;
  display: flex;
  justify-content: end;
}

nav li{
  display: inline-block;
  margin: 0px 5%;
  font-size: 19px;
  color: black;
}

nav li a:hover{
  color: var(--color_primary);
  font-weight: 500;
  transition: 0.5s;
}

/*Conheça o escritorio Nogueira/Camila nogueira */
div.container-content {
  margin:8%;
  text-align: center;
}

div.container-content h2{
  margin:8% 0px;
}

.btConheca {
  margin-top: 5%;
}

.conteudoConheca{
  display: flex;
  text-align: center;
  justify-content:space-between;
}

.conteudoConheca p {
  width: 48%;
  text-align: left;
}

.conteudoConheca div{
  width: 50%;
  height: auto;
}

.conteudoConheca div img{
  width: 80%;
  border-radius: 8px;
  box-shadow: 2.74px 4.11px 7.53px 0px rgba(0, 0, 0, 0.43);
}

#conteudoCamila.conteudoConheca div img{
  width: 60%;
  border-radius: none;
  box-shadow: none;
}


/*Conheça nossas Soluções */
div#conhecaSolucao {
  width: 100%;
  background-color: var(--color_secondary);
  text-align: center;
  padding: 5% 0px;
}

div#conhecaSolucao p, div#conhecaSolucao span{
  color: white;
}

div#conhecaSolucao p {
  width: 50%;
  padding: 30px 25%;
  font-family: bethany;
  font-weight: 400;
  font-size: 38px;
}


/* Estatisticas */
.stats-container{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:60px;
  padding:40px 0;
}


.stat-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  min-width:220px;
  margin-top: 100px;
  transition: 2s;
  opacity: 0;
}


div#estatisticas[data-metrica="true"] .stats-container .stat-item{
  margin-top: 0;
  opacity:1;
}

.stat-number{
  font-size:90px;
  line-height:1;
  color:var(--color_primary);
  font-family:Georgia, serif;
}

.stat-text{
  margin-top:20px;
  font-size:19px;
  color: black;
}

.stat-divider{
  width:4px;
  height:250px;
  background:var(--color_secondary);
  border-radius:20px;
  position:relative;
}

.stat-divider::before,
.stat-divider::after{
  content:'';
  width:16px;
  height:16px;
  background:var(--color_secondary);
  border-radius:50%;
  position:absolute;
  left:50%;
  transform:translateX(-50%);
}

.stat-divider::before{
  top:-8px;
}

.stat-divider::after{
  bottom:-8px;
}

/*  Principios */
#principios {
  width: 100%;
  padding: 10% 0;
  text-align: center;
}

#principios h2 {
  margin-bottom: 5%;
}

.circles-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.side-circle {
  margin: 0px 5px;
  width: 320px;
  height: 320px;
  border: 2px solid var(--color_secondary);
  color: var(--color_secondary);
  background: transparent;
  transition: 0.5s;
}

.side-circle .icon {
  font-size: 60px;
  margin-bottom: 25px;
}

.side-circle span {
  font-size: 31px;
  color: var(--color_secondary);
}

.side-circle p {
  display: none;
  transition: 10s;
}

.side-circle:hover {
  width: 380px;
  height: 380px;
  background: var(--color_secondary);
  color: white;
  margin: 0 -45px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.side-circle:hover .icon {
  font-size: 54px;
  margin-bottom: 20px;
}

.side-circle:hover span {
  font-size: 34px;
  color: white;
  margin-bottom: 15px;
}

.side-circle:hover p {
  display: block;
  width: 80%;
  color: white;
  text-align: center;
  font-size: 16px;
}


/*  Nossos Momentos  */
div#nossosMomentos {
  text-align: center;
  margin:8% 0px;
  overflow: hidden;
}

.timeline-component{
  width:350vw;
  padding:100px 0;
  transition: 0.5s;
}

.timeline-line{
  width: auto;
  position:relative;
  display:flex;
  justify-content:space-between;
}

.timeline-line::before{
  content:'';
  position:absolute;
  top:60px;
  left:0;
  width:100%;
  height:35px;
  background:var(--color_primary);
}

.timeline-item{
  width:100%;
  text-align:center;
  z-index:2;
  padding: 0 100px ;
}

.timeline-year{
  font-family:Georgia, serif;
  width:180px;
  height:180px;
  background:var(--color_primary);
  border-radius:50%;
  color:white;
  font-size:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
}

.timeline-year.two-year{
  font-size:30px;
}

.timeline-content{
  margin-top:40px;
  background-color: var(--color_fundo_roxo);
  border-radius: 24px;
  padding: 28px;
  min-height: 150px;
  opacity: .8;
}

.timeline-content h5{
  font-size:19px;
}

.timeline-content p{
  margin-bottom:20px;
}


/*  Area de atuação  */
#areaAtuacao {
  text-align: center;
  background-color: var(--color_fundo_roxo);
  padding: 3%;
}

.areas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.areas-title {
  text-align: center;
  font-size: 56px;
  font-weight: 400;
  margin-bottom: 40px;
}

.areas-title span {
  color: var(--color_primary);
}

.areas-tabs {
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: white;
  width: fit-content;
  margin: 0 auto 5%;

  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.tab {
  font-family: niramit;
  border: none;
  background: transparent;
  padding: 18px 40px;
  cursor: pointer;
  font-size: 17px;
  color:var(--color_gray_text);
}

.tab.active {
  background: var(--color_primary);
  color: white;
}

.areas-grid {
  display: none;
  margin: 0px 5%;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.areas-grid.active {
  display: grid;
}

.area-card {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 28px;
  min-height: 230px;
  opacity: .8;
  transition: .3s;
}

.area-card h3{
  font-family: niramit-medium;
  font-size: 22px;
  font-weight: 500;
}

.area-card p {
  line-height: 1.8;
  font-size: 15px;
  text-align: left;
}

.area-card:hover {
  background: var(--color_primary);
  opacity: 1;
  transition: .4s;
}

.area-card:hover h3,.area-card:hover p{
  color: white;
}

.area-card:hover .icon {
  background: rgba(255,255,255,.15);
}

.card-header {
  display: flex;
  align-items: start;
  gap: 15px;
  margin-bottom: 20px;
}

.card-header h3 {
  margin-top: 0px;
  font-size: 28px;
  font-weight: 500;
  text-align: left;
}

.card-header .icon {
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: var(--color_primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*  Perguntas frequentes  */
.faq {
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10% 15%;
  text-align: center;
}

.faq-badge {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 12px 22px;
  border: 1px solid var(--color_primary);
  border-radius: 999px;
  color: black;
  font-size: 14px;
}

.faq-container {
  background: rgba(62, 25, 100, 0.16);
  border-radius: 12px;
  padding: 14px;
}

.faq-item {
  margin-bottom: 12px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: white;
  border: none;
  border-radius: 10px;
  padding: 26px 30px;
  font-size: 21px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  border-radius: 0 0 10px 10px;
  transition: .3s ease;
  padding: 0 30px;
  line-height: 1.6;
  text-align: left;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 20px 30px 30px;
  padding-top: 0px;
}

.faq-item.active .faq-question {
  border-radius: 10px 10px 0 0;
}

.faq-item.active .icon {
  transform: rotate(180deg);
}



/*  Nossos contatos  */
div#nossosContatos {
  padding: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color_secondary);
  color: white;
}

div#nossosContatos h3{
  color: var(--color_primary);
  font-size: 38px;
}

div#nossosContatos .btPage{
  width: 60%;
  margin-top: 15px;
}

div#nossosContatos #infoContatos, div#nossosContatos #contato-mapa {
  width: 45%;
}
div#nossosContatos #infoContatos ul li{
  width: 90%;
  text-align: left;
  display:flex;
  justify-content: left;
  align-items:start;
  margin: 15px 0px;
}

div#nossosContatos #infoContatos ul li span{
  color: white;
  font-size: 14px;
}

div#nossosContatos #infoContatos ul li i{
  color: var(--color_primary);
  margin-right: 10px;
}


div#nossosContatos #contato-mapa iframe{
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 13px;
  box-shadow: 2.74px 4.11px 7.53px 0px rgba(0, 0, 0, 0.43);
}


footer{
  height: 150vh;
  color: white;
  padding: 3%;
  margin: 0px;
  display: flex;
  align-items: flex-end;
  background-image: url("../img/fundoRodape.png");
  background-repeat: no-repeat;
  background-size: auto 100%;
}
footer #conteudoFooter{
  width: 100%;
}

footer #infoRodape {
  background-color:var(--color_secondary_medio);
  padding: 7%;
  border-radius: 18px 18px 0px 0px;
}

footer a, footer span {
  color:white;
  font-size: 13px;
}

footer i {
  color: var(--color_primary);
  margin-right: 10px;
}
footer a:hover {
  color:var(--color_primary)
}

footer ul{
  margin: 0px;
}

footer ul li{
  display: inline-block;
}

footer ul li.lista{
  margin-left:5%;
  outline: 0px;
  vertical-align:text-top;
  width: 15%;
}

footer ul li.lista.footer-contato{
  width: 38%;
}

footer ul li.lista.footer-contato ul li{
  width: 100%;
  text-align: left;
  display:flex;
  justify-content: left;
  align-items:start;
  margin: 15px 0px;
}

footer ul li:nth-child(1){
  margin-left:0px;
}

footer ul li ul{
  padding-left: 0px;
}

footer ul li ul li{
  display: block;
  margin-left:0px;
}

footer h4{
  color: white;
  font-size: 21px;
  margin-top: 0px;
}

footer ul#redessociais a{
  margin: 0px 5%;
  font-size: 21px;
}

#direitosReservados{
  color: white;
  font-size: 13px;
  padding: 2% 10%;
  text-align: center;
  background-color: var(--color_secondary_escuro);
  border-radius: 0px 0px 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#direitosReservados div a{
  color: white;
  text-decoration: none;
}

#direitosReservados div a span{
  color: var(--color_primary);
}

[data-animeScroll]:not([data-animeScroll=""]){
  opacity: 0;
  -webkit-transition:  1s;
  -o-transition:  1s;
  transition:  1s;
}

[data-animeScroll ="left"]{
  -webkit-transform: translate3d(-100px,0,0);
          transform: translate3d(-100px,0,0);
}

[data-animeScroll ="right"]{
  -webkit-transform: translate3d(55px,0,0);
          transform: translate3d(55px,0,0);
}

[data-animeScroll].animate{
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
          transform: translate3d(0,0,0);

}

/* Mobile */
@media (min-width: 670px) and (max-width: 1300px){
  p,span,li{
    font-size: 16px;
  }

  h1{
    font-size: 43px;
  }

  h2 {
    font-size: 38px;
  }

  span.nome-advogado {
    font-size: 23px;
  }

  p.text-header {
    font-size: 18px;
  }
}

@media (min-width: 0px) and (max-width: 670px){
  p,span,li{
    font-size: 16px;
  }

  h1{
    font-size: 28px;
  }

  h2 {
    font-size: 32px;
  }
  

  header {
    min-height: 50vh;
    background-size: auto 100%;
    background-position:left;
  }

  div#apresentacao {
    width: 80%;
  }

  span.nome-advogado {
    font-size: 22px;
  }

  p.text-header {
    width: 100%;
    font-size: 16px;
    margin-bottom: 25px;
  }

  button.btPage {
    font-size: 18px;
  }

  nav {
    position: relativo;
    opacity: 0;
    width: 0px;
  }


  /*Conheça sobre escritorio/Camila*/
  #conteudoConhecaEscritorio{
    flex-direction: column-reverse;
  }
  
  #conteudoCamila.conteudoConheca{
    display: block;
  }

  .conteudoConheca div{
    width: 100%;
  }

  .conteudoConheca p {
    width: 100%;
    text-align: center;
    margin-top: 8%;
  }


  div#conhecaSolucao p {
    width: 80%;
    padding: 30px 10%;
    font-size: 30px;
  }

  /* Metricas  */

  .stats-container{
    flex-direction:column;
    gap:40px;
  }

  .stat-divider{
      width:180px;
      height:4px;
  }

  .stat-divider::before,
  .stat-divider::after{
      top:50%;
      transform:translateY(-50%);
  }

  .stat-divider::before{
      left:-8px;
  }

  .stat-divider::after{
      left:auto;
      right:-8px;
  }

  .stat-text{
    font-size:16px;
  }

  .stat-number{
    font-size:75px;
  }

  .side-circle {
    width: 280px;
    height: 280px;
  }

  .side-circle:hover {
    width: 340px;
    height: 340px;
  }

  .faq {
    width: 85%;
    padding: 10% 7.5%;
  }

  div#nossosContatos {
    flex-direction:column;
  }

  div#nossosContatos h3 {
    text-align: center;
  }

  div#nossosContatos #infoContatos, div#nossosContatos #contato-mapa {
    width: 90%;
  }

  div#nossosContatos #contato-mapa {
    margin: 10% 0;
  }

  footer {
    text-align: center;
    height: auto;
  }
  
  footer h4 {
    margin-bottom: 5%;
  }

  footer img#dimensao{
    width: 40%;
  }

  footer ul{
    padding: 0px;
    text-align: center;
  }

  footer ul li:nth-child(1){
    margin: auto;
  }

  footer ul li.lista{
    display: block;
    margin: 15% 0;
    width: 100%;
  }

  footer ul li.lista.footer-contato {
    text-align: center;
    width: 100%;
  }

  footer ul li.lista.footer-contato ul li {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  footer ul li ul{
    width: 100%;
  }

  footer ul li ul li{
    font-size: 16px;
  }

  #direitosReservados {
    display: flex;
    flex-direction:column;
  }

  #direitosReservados #desenvolvido {
    margin-bottom: 10px;
  }

  footer ul#redessociais a{
    margin:0px;
  }
}


/* Animations */
@keyframes enviarFinal{
  0%{-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
  10%{-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
  90%{-webkit-transform: translate3d(0,0,0);transform: translate3d(0,0,0);}
  100%{-webkit-transform: translate3d(0,-100px,0);transform: translate3d(0,-100px,0);}
}


/* Metricas*/
@media(max-width:768px){
  .stats-container{
    flex-direction:column;
    gap:40px;
  }
  
  .stat-divider{
      width:180px;
      height:4px;
  }
  
  .stat-divider::before,
  .stat-divider::after{
      top:50%;
      transform:translateY(-50%);
  }
  
  .stat-divider::before{
      left:-8px;
  }
  
  .stat-divider::after{
      left:auto;
      right:-8px;
  }
  
  .stat-text{
    font-size:16px;
  }
  
  .stat-number{
    font-size:75px;
  }
  
  .side-circle {
    width: 280px;
    height: 280px;
  }
  
  .side-circle:hover {
    width: 340px;
    height: 340px;
  }
}


/* Area de atuação  */
@media (max-width: 992px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .areas-tabs {
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .areas-title {
    font-size: 40px;
  }
}


/*  Timeline */
@media (max-width: 768px){
  div#nossosMomentos {
    overflow:auto;
  }

  .timeline-component {
    width: 100%;
  }

  .timeline-line{
      display:block;
      position:relative;
  }

  .timeline-line::before{
      display: none;
  }

  .timeline-item{
      width:85%;
      margin-bottom:50px;
      padding: 0 7.5%;
      text-align:left;
  }

  .timeline-year{
      width:80px;
      height:80px;
      font-size:24px;
      margin:0;
      position:relative;
  }

  .timeline-year.two-year {
    font-size: 18px;
    text-align: center;
  }

  .timeline-content{
      margin-top:20px;
  }

  .timeline-content img{
      width:100%;
      max-width:350px;
  }
}

@media (max-width: 992px) {

  .circles-container {
      flex-direction: column;
      gap: 30px;
  }

  .center-circle {
      margin: 0;
      order: 2;
  }

  .side-circle:first-child {
      order: 1;
  }

  .side-circle:last-child {
      order: 3;
  }

  .principios h1 {
      font-size: 2rem;
  }
}