@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root{
    --cor-primaria: #622c4c;
    --cor-secundaria: #c29b59;

    --fonte-padrao: "Lato", "sans-serif";
}

*{
    margin: 0;
    padding: 0;
}

html,body{
  scroll-behavior: smooth;
  
}

body{
  font-family: var(--fonte-padrao);
  line-height: 2em;
  overflow-x: hidden;
}

section{
  padding: 0px 0 0px;scroll-margin-top: 200px;

}

h3{
  scroll-margin-top: 200px;
}

/* ===== HEADER BASE ===== */
header {
  position: fixed;
  color: white;
  padding: 20px 0px;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, padding 0.3s ease;
 

}

header.scrolled {
  background-image: linear-gradient(45deg, #622c4c, #8a0040);
  padding: 15px 0px;
}

header figure {
  margin: 0;
}

#logo {
  width: 150px;
  transition: filter 0.3s ease;
}

.btn-whatsapp{
  background-color: #25D366;
  color: white;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  border: none;
}

.btn-whatsapp:hover{
    background-color: #1ebc57;
}

.btn-whatsapp a{
    color: white;
}

a{
    text-decoration: none;
    color: white;
}
ul{
    list-style: none;
}

#container-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  
  border-radius: 2em;
  padding: 15px 20px;
}

nav{
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding-top: 10px;
    align-items: center;
    
}

nav ul{
    display: flex;
    justify-content: space-around;
    list-style: none;
    gap: 30px;
    
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 300;
  padding-bottom: 4px; 
  text-transform: uppercase;
  
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #B49465; 
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
  width:30%;
}

#sessao-bandeira{
  position: relative;
  padding-top:0;

}

#bandeira{
    position: relative;
    max-width: 100vw;
    height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.068), rgba(0, 0, 0, 0.452)), url(imagens/hero.webp);
    background-position: 30%;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0;
    margin-bottom: 50px;
    padding: 100px 0;

}

#bandeira div{
    position: absolute;
    top: 55%;
    left: 50%;
    color: white;
    transform: translate(-50%, -55%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    

}

#bandeira h1{
  font-weight: 300;
  
}

#bandeira button{
    display: block;
    left: 50%;
    cursor: pointer;
    padding: 0;
}

#bandeira button a{
  display: block;
  width: 100%;
  padding: 15px 0;
}

.decorado {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    margin: 80px 0;
}

.decorado::before,
.decorado::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #D4B673;
    margin: 0 1rem;
}

.sobre-advogado {
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 14px;
    margin: 0 auto 0px;
  }

  /* Coluna da foto */

.sobre-advogado__foto {
  flex: 0 0 300px;     /* largura fixa maior */
  max-width: 300px;    /* limite maior */
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 350px;   /* altura maior */
  background: #0b1220;
  
}

  /* Fundo borrado usando mesma imagem para dar acabamento */
  .sobre-advogado__foto::before{
    content:"";
    position:absolute;
    inset:0;
    background-position:center;
    background-size:cover;
    filter: blur(14px) brightness(0.6) saturate(0.9);
    transform: scale(1.1);
  }

  .sobre-advogado img{
    position: relative;
    z-index: 2;
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
    filter: contrast(1.03) saturate(1.05);
    transition: transform .45s ease;
  }

  .sobre-advogado__foto:hover img{ transform: scale(1.03); }

  /* Vinheta suave para unir a foto com o fundo */
  .sobre-advogado__foto::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    background: radial-gradient(60% 60% at 50% 40%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.12) 60%, rgba(0,0,0,0.28) 100%);
    pointer-events:none;
  }

  /* Coluna de texto */
  .sobre-advogado__info {
    flex: 1 1 auto;
    color: #0f1724;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  }

  .sobre-advogado__cargo {
    display:inline-block;
    font-size: 13px;
    color:#6b7280;
    margin-bottom:8px;
  }

  .sobre-advogado__nome {
    margin:0;
    font-size:22px;
    line-height:1.05;
    color:#071328;
  }

  .sobre-advogado__sub {
    margin:6px 0 12px 0;
    color:#6b7280;
    font-size:14px;
  }

  .sobre-advogado__bio {
    margin:0 0 14px 0;
    color:#0b2540;
    line-height:2em;
    font-size:15px;
    text-align: justify;

  }

  .sobre-advogado__meta {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:6px;
  }

  .meta-item{
    background: rgba(11,18,32,0.04);
    padding:8px 10px;
    border-radius:10px;
    font-size:13px;
    color:#274055;
  }

  /* botões simples */
  .sobre-advogado__acoes{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap;}
  .btn {
    padding:10px 14px;
    border-radius:9px;
    border:0;
    cursor:pointer;
    font-weight:600;
    font-size:14px;
  }
  .btn--primary{ background:var(--cor-secundaria); color:white; }
  .btn--ghost{ background:transparent; border:1px solid rgba(11,18,32,0.06); color:#0b2540; }

  .btn--primary:hover{
    background-color: var(--cor-primaria);
    transition-duration: 0.5s;
  }


#areas-atuacao{
  display: flex;
  border-radius: 15px;
  background-color: #ffffff;
  
}

.atuacao:hover {

    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ícone */
.atuacao i {
    color: #D4B673;
    margin: 1rem 0;
    font-size: 30px;
}

/* Título */
.atuacao h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    
}

/* Parágrafo */
.atuacao p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.5;
}


.servicos{
  max-width: 90%;
  margin: auto;
}

.servicos-lista {
  display: grid;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.servico-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  font-weight: 600;
  transition: transform 0.3s ease;
  cursor: default;
  
}

.servico-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 15px rgba(0,0,0,0.15);
  background-color: var(--cor-primaria);
  color: white;
}


.servico-item:hover i {
  color: white;
}

.servico-item i {
  font-size: 24px;
  color: var(--cor-secundaria);

}

.contato{
  padding-bottom: 80px;
}
#container-form{
  display: flex;
  align-items: center;
  gap: 50px;  
  background-image: 
  linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
  url(imagens/form.webp);
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
  padding: 40px;
  max-width: 70%;
  margin: auto;

    
}

#container-form p{
  font-size: 1.5em;
  color: white;
}


form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  
}

input, textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

form button {
  padding: 12px;
  border-radius: 6px;
  border: none;
  background-color: #0077b6;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #005f87;
}


footer{
  background-image: linear-gradient(45deg, #000000, #292626);
  padding: 40px 20px;
  color: white;
}


.rodape #info{
  text-align: justify;
}

.container-rodape {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-rodape, .contato-rodape, .social-rodape {
  flex: 1 1 250px;
}





.social-rodape div{
  display: flex;
  flex-direction: column;
}
.rodape h4 {
  margin-bottom: 12px;
  font-size: 1.2em;
}

.rodape a {
  color: white;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s;
  

}

.rodape a:hover {
  color: rgb(255, 217, 0);
}

.copyright-rodape {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #ccc;
}



.surgir {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.surgir.aparecendo {
  opacity: 1;
  transform: translateY(0);
}

.surgir-direita {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}
.surgir-direita.aparecendo {
  transform: translateX(0);
  opacity: 1;
}

.surgir-esquerda {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}
.surgir-esquerda.aparecendo {
  transform: translateX(0);
  opacity: 1;
}

.surgir-baixo {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-out;
}
.surgir-baixo.aparecendo {
  transform: translateY(0);
  opacity: 1;
}

.social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-button img {
    width: 30px;
    height: 30px;
}


/* WhatsApp Button */
.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

