/* =========================================================
   Paulo Amaral Advocacia – estilos
   Cores e fontes copiadas do site original
   ========================================================= */
:root {
  --bordo: #4d1313;
  --bordo-escuro: #2a0a0a;
  --bege: #d1c4b2;
  --verde: #30b532;
  --verde-escuro: #1e904a;
  --fundo: #1f1f1f;
  --fundo-card: #2b2b2b;
  --fundo-preto: #0a0a0a;
  --texto: #ffffff;
  --texto-suave: #cfcfcf;
  --serif: "Bodoni Moda", Georgia, serif;
  --sans: "Poppins", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.titulo {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: 40px;
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.titulo::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 70px; height: 2px;
  background: var(--bege);
}
section > .container > .titulo, .redes > .titulo { display: table; margin-left: auto; margin-right: auto; }
.titulo--esq { margin-left: 0 !important; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 32px;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: transform .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--verde { background: linear-gradient(115deg, #0dc152, #0dc152, var(--verde-escuro)); color: #fff; }
.btn--grande { font-size: 16px; padding: 16px 36px; }
.btn--bege { background: var(--bege); color: #3a2a1a; border-radius: 20px; padding: 7px 18px; font-size: 13px; }
.btn--contorno { background: transparent; color: #fff; border: 1px solid #fff; font-weight: 500; padding: 8px 14px; font-size: 13px; white-space: nowrap; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.topo.rolou { background: rgba(77, 19, 19, .95); box-shadow: 0 2px 12px rgba(0,0,0,.4); }
.topo__inner {
  max-width: 1140px; margin: 0 auto; padding: 8px 16px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.topo__logo img { height: 52px; width: auto; }
.topo__nav a { font-weight: 600; font-size: 13px; letter-spacing: .5px; transition: color .2s; }
.topo__nav a:hover { color: var(--bege); }
.topo__nav--esq { justify-self: end; }
.topo__nav--dir { justify-self: start; }

/* ---------- Banner ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  padding: 110px 16px 60px;
}
.hero__fundo {
  position: absolute; inset: 0;
  background: url("/img/banner.webp") center / cover no-repeat;
}
.hero__equipe {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(620px, 90vw);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.hero__conteudo { position: relative; text-align: center; max-width: 900px; }
.hero h1 {
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  text-shadow: 0 2px 18px rgba(0,0,0,.75);
  margin-bottom: 36px;
}
.hero .btn { padding: 12px 36px; }

/* ---------- Ajuda ---------- */
.ajuda { padding: 90px 0 80px; }
.ajuda__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card {
  background: var(--fundo-card);
  border-radius: 4px;
  padding: 34px 22px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  min-height: 132px;
  transition: background .25s, transform .25s;
}
.card:hover { background: var(--bordo); transform: translateY(-3px); }
.card h3 { font-size: 1.05rem; }
.card p { margin: 0; font-size: 13.5px; color: var(--texto-suave); }

/* ---------- Chamada ---------- */
.cta {
  background: linear-gradient(to bottom, rgba(31,31,31,0) 60%, var(--fundo)), url("/img/cta-bg.webp") center / cover no-repeat;
  padding: 70px 0;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); max-width: 640px; }
.cta p { margin: 12px 0 0; font-size: 15px; }
.cta .btn { flex-shrink: 0; width: 230px; }

/* ---------- Avaliações ---------- */
.avaliacoes { padding: 60px 0 70px; overflow-x: clip; }
.av-topo {
  background: #262626;
  border-radius: 8px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.av-google { width: 64px; height: auto; flex-shrink: 0; }
.av-resumo { display: flex; flex-direction: column; line-height: 1.3; }
.av-rotulo { font-size: 13px; }
.av-linha { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.av-linha strong { font-size: 14px; }
#av-total { color: #9a9a9a; font-size: 12px; }
#av-escrever { margin-left: auto; }

.estrelas { display: inline-flex; gap: 1px; color: #f6bb06; letter-spacing: 0; }
.estrelas svg { width: 14px; height: 14px; }
.estrelas .vazia { color: #555; }

.av-carrossel { position: relative; }
.av-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-height: 280px; }
.av-card {
  background: #262626;
  border-radius: 8px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  animation: surgir .4s ease both;
}
@keyframes surgir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.av-card__topo { display: flex; align-items: center; gap: 10px; }
.av-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; background: var(--bordo);
  display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--bege);
}
.av-nome { font-weight: 600; font-size: 14px; line-height: 1.2; }
.av-data { font-size: 12px; color: #9a9a9a; }
.av-g { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; }
.av-texto { font-size: 13px; margin: 0; flex: 1; color: #e6e6e6; }
.av-mais { font-size: 12px; color: #9a9a9a; text-decoration: underline; }
.av-card .estrelas svg { width: 16px; height: 16px; }

.av-seta {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: var(--bege); color: #3a2a1a; font-size: 22px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding-bottom: 3px;
}
.av-seta--esq { left: -16px; }
.av-seta--dir { right: -16px; }
.av-pontos { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.av-pontos button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #555; cursor: pointer; }
.av-pontos button[aria-current="true"] { background: var(--bege); }

/* ---------- Sobre ---------- */
.sobre { background: #141414; padding: 50px 0 60px; border-top: 1px solid #262626; }
.sobre__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.sobre__foto { position: sticky; top: 90px; }
.sobre__texto { font-size: 13.5px; text-align: justify; }
.sobre__texto .titulo { margin-bottom: 24px; font-size: 2rem; }
.sobre__texto p { margin: 0 0 14px; }
.sobre__texto strong { font-weight: 500; }
.sobre__texto .btn { margin-top: 20px; }

/* ---------- Redes ---------- */
.redes {
  background: var(--fundo-preto);
  text-align: center;
  padding: 50px 16px 60px;
}
.redes .titulo { margin-bottom: 24px; }
.redes p { margin: 0 0 16px; }
.redes__insta {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 8px;
  background: #fff; color: #111;
  transition: transform .2s, background .2s, color .2s;
}
.redes__insta:hover { transform: scale(1.08); background: var(--bege); }

/* ---------- Rodapé ---------- */
.rodape {
  background: linear-gradient(to bottom, var(--fundo-preto), var(--bordo-escuro));
  padding-top: 60px;
}
.rodape__grade { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding-bottom: 50px; }
.rodape__logo { width: 120px; margin: 0 auto; }
.rodape h2 { font-size: 1.25rem; margin-bottom: 18px; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape__menu li { margin-bottom: 4px; }
.rodape__menu a { font-weight: 600; font-size: 12px; }
.rodape__menu a::before { content: "> "; }
.rodape__menu a:hover { color: var(--bege); }
.rodape__contato li { margin-bottom: 8px; }
.rodape__contato a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.rodape__contato a:hover { color: var(--bege); }
.rodape__legal { background: #000; text-align: center; padding: 18px 16px; font-size: 11px; font-weight: 600; }
.rodape__legal p { margin: 6px 0; }

/* ---------- WhatsApp flutuante ---------- */
.whats { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; }
.whats__rotulo {
  background: #fff; color: #34af23; font-weight: 600; font-size: 13px;
  padding: 5px 12px; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.whats__botao {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  animation: pulso 2.4s infinite;
}
@keyframes pulso { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 60% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }
.whats__badge {
  position: absolute; top: -3px; right: -3px;
  background: #ea4c3c; color: #fff; font-size: 11px; font-weight: 600;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
}
.whats__caixa {
  position: absolute; right: 0; bottom: 72px; width: 290px;
  background: #fff; color: #333; border-radius: 10px; overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.whats__ola { background: #2db742; color: #fff; margin: 0; padding: 16px; font-size: 13.5px; }
.whats__contato { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-left: 3px solid #2db742; margin: 12px; background: #f5f7f9; border-radius: 4px; }
.whats__contato:hover { background: #eef1f4; }
.whats__avatar img { width: 40px; height: 40px; border-radius: 50%; }
.whats__contato small { display: block; font-size: 11px; color: #888; }
.whats__contato strong { font-size: 14px; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 16px; bottom: 16px; z-index: 70;
  max-width: 700px; width: calc(100% - 110px);
  background: #111; border-radius: 6px; padding: 16px 20px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: 11.5px; line-height: 1.5; }
.cookies a { font-weight: 600; }

/* ---------- Página interna (política) ---------- */
.pagina-topo {
  background: linear-gradient(rgba(20,20,20,.7), rgba(20,20,20,.85)), url("/img/banner.webp") center / cover;
  padding: 140px 16px 60px; text-align: center;
}
.pagina-topo h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.pagina-topo p { margin: 0 auto; max-width: 620px; color: var(--texto-suave); }
.pagina-texto { padding: 60px 0 80px; max-width: 860px; }
.pagina-texto h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.pagina-texto p { color: #e2e2e2; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .ajuda__grade, .av-grade { grid-template-columns: repeat(2, 1fr); }
  .sobre__inner { grid-template-columns: minmax(0, 1fr); }
  .sobre__foto { position: static; width: 100%; max-width: 460px; margin: 0 auto; }
  .rodape__grade { grid-template-columns: 1fr; text-align: center; }
  .rodape__contato a { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .topo__inner { grid-template-columns: 1fr; justify-items: center; gap: 4px; }
  .topo__nav { display: none; }
  .topo__logo img { height: 42px; }
  .hero { padding-bottom: 40px; min-height: 86svh; }
  .hero__equipe { width: 125vw; max-width: none; }
  .hero h1 { margin-bottom: 24px; }
  .ajuda { padding-top: 60px; }
  .ajuda__grade, .av-grade { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; gap: 24px; }
  .cta .btn { width: 100%; }
  .av-topo { justify-content: center; text-align: left; }
  #av-escrever { margin: 0 auto; }
  .av-seta--esq { left: -8px; }
  .av-seta--dir { right: -8px; }
  .sobre__texto { text-align: left; }
  .whats__rotulo { display: none; }
  .cookies { flex-direction: column; align-items: flex-start; width: calc(100% - 32px); bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
