/* ==========================================================================
   Sgotti Advocacia · estilos do site
   Para mudar cores, fontes ou espaçamentos, altere SÓ as variáveis do :root.
   ========================================================================== */

/* Fontes no próprio site (pasta fontes/, licença SIL OFL). Um arquivo por família cobre todos os pesos. */
@font-face {
  font-family: "Lora";
  src: url("../fontes/lora-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fontes/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Fontes provisórias com medidas ajustadas: enquanto a Lora e a Montserrat não chegam, o texto ocupa
   praticamente o mesmo espaço, e a troca não desloca a página (menos CLS). */
@font-face {
  font-family: "Lora Fallback";
  src: local("Georgia");
  size-adjust: 99.39%;
  ascent-override: 101.22%;
  descent-override: 27.57%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 110.52%;
  ascent-override: 87.59%;
  descent-override: 22.71%;
  line-gap-override: 0%;
}

:root {
  /* Cores da marca (posts oficiais) */
  --dourado: #D6995E;          /* destaque: palavras em títulos, faixas, ícones */
  --dourado-texto: #94602E;    /* dourado mais escuro para textos pequenos (contraste) */
  --dourado-claro: #F3E6D8;    /* fundos suaves */
  --fundo: #F9F9F9;
  --fundo-branco: #FFFFFF;
  --texto: #111111;
  --texto-suave: #4A4A4A;
  --linha: #E3DED8;
  --escuro: #151515;           /* rodapé */
  --escuro-texto: #D9D4CE;

  /* Fontes (2 famílias) */
  --fonte-titulo: "Lora", "Lora Fallback", Georgia, "Times New Roman", serif;
  --fonte-texto: "Montserrat", "Montserrat Fallback", "Segoe UI", Arial, sans-serif;

  /* Medidas */
  --largura: 1180px;
  --gutter: 20px;
  --secao: clamp(72px, 10vw, 128px);
  --raio-pilula: 999px;
  --raio: 4px;
  --topo-altura: 76px;
  --logo-altura: 44px;
  --logo-altura-celular: 36px;

  /* Marca d'água do brasão */
  --marca-dagua: url("../marca/logo-simbolo-dourado.webp");
  --marca-dagua-opacidade: 0.06;

  /* Interações: halo dourado suave (rgba do #D6995E) e tempos */
  --halo: 0 0 0 1px rgba(214, 153, 94, .35), 0 6px 22px rgba(214, 153, 94, .28);
  --halo-forte: 0 0 0 1px rgba(214, 153, 94, .5), 0 8px 28px rgba(214, 153, 94, .38);
  --luz-cartao: rgba(214, 153, 94, .13);
  --tempo: 250ms;
  --curva: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-altura) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-transform: uppercase;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.destaque { color: var(--dourado); }
:focus-visible { outline: 2px solid var(--texto); outline-offset: 3px; }
.pular { position: absolute; left: -9999px; top: 8px; background: var(--texto); color: #fff; padding: 10px 16px; z-index: 200; }
.pular:focus { left: 8px; }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 var(--gutter); }
.secao { padding: var(--secao) 0; position: relative; }
.secao--branca { background: var(--fundo-branco); }

/* Rótulo em caixa alta com espaçamento largo */
.rotulo {
  display: inline-block;
  font-family: var(--fonte-texto);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
/* Linha fina acima dos títulos, como nos posts */
.linha-topo::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: var(--texto);
  margin-bottom: 1.6rem;
}
.cabeca-secao { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.cabeca-secao--centro { margin-left: auto; margin-right: auto; text-align: center; }
.cabeca-secao--centro.linha-topo::before { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--texto-suave); }


/* ---------- Botões em pílula ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 30px;
  border: 1px solid var(--texto);
  border-radius: var(--raio-pilula);
  background: transparent;
  color: var(--texto);
  font-family: var(--fonte-texto);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background var(--tempo), color var(--tempo), border-color var(--tempo), box-shadow var(--tempo) var(--curva), transform var(--tempo) var(--curva);
}
.botao:hover { background: var(--texto); color: #fff; }
.botao--cheio { background: var(--texto); color: #fff; }
.botao--cheio:hover { background: transparent; color: var(--texto); }
.botao svg { width: 18px; height: 18px; flex: none; }
.botoes { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Topo fixo ---------- */
.topo {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  background: rgba(249, 249, 249, .96);
  border-bottom: 1px solid transparent;
  transition: background-color var(--tempo), border-color var(--tempo), backdrop-filter var(--tempo);
}
/* Depois de 40px de rolagem: fundo translúcido com desfoque e linha fina dourada */
.topo.rolou {
  background: rgba(249, 249, 249, .97); /* navegadores sem desfoque: fundo quase sólido, texto sempre legível */
  border-bottom-color: rgba(214, 153, 94, .6);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .topo.rolou {
    background: rgba(249, 249, 249, .8);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
  }
}
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--topo-altura); }

/* Logo oficial (marca/). Só a altura é definida: a largura acompanha a proporção. */
.marca { display: inline-flex; align-items: center; flex: none; }
.marca img { height: var(--logo-altura); width: auto; transition: height var(--tempo) var(--curva); }
.topo.rolou .marca img { height: 38px; }
@media (max-width: 760px) {
  .marca img { height: var(--logo-altura-celular); }
  .topo.rolou .marca img { height: 32px; }
}

.menu { display: flex; align-items: center; gap: 28px; }
.menu ul { list-style: none; display: flex; gap: 26px; }
.menu a:not(.botao) {
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
/* Sublinhado dourado que desliza da esquerda para a direita */
.menu a:not(.botao)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--dourado);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms var(--curva);
}
.menu a:not(.botao):hover::after,
.menu a:not(.botao):focus-visible::after,
.menu a[aria-current="page"]::after,
.menu a.ativo::after { transform: scaleX(1); }
.menu .botao { min-height: 42px; padding: 8px 22px; }
.menu-botao {
  display: none;
  background: none;
  border: 1px solid var(--texto);
  border-radius: var(--raio-pilula);
  width: 46px; height: 46px;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-botao span, .menu-botao span::before, .menu-botao span::after {
  display: block; width: 18px; height: 1.5px; background: var(--texto); position: relative; content: "";
}
.menu-botao span::before { position: absolute; top: -6px; }
.menu-botao span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .menu-botao { display: inline-flex; }
  .menu {
    position: fixed;
    top: var(--topo-altura); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--fundo);
    border-bottom: 1px solid var(--linha);
    padding: 8px var(--gutter) 24px;
    display: none;
  }
  .menu.aberto { display: flex; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu li a:not(.botao) { display: block; padding: 16px 0; border-bottom: 1px solid var(--linha); }
  .menu .botao { margin-top: 18px; min-height: 50px; }
}

main { padding-top: var(--topo-altura); }

/* ---------- Marca d'água do brasão ---------- */
.com-marca-dagua { position: relative; isolation: isolate; overflow: hidden; }
/* Elemento próprio (<span class="marca-dagua">): o js/main.js só muda o transform dele,
   sem recalcular a seção (parallax ao rolar e, na abertura, o movimento do mouse). */
.marca-dagua {
  position: absolute;
  z-index: -1;
  width: min(620px, 90vw);
  aspect-ratio: 186 / 201;
  background: var(--marca-dagua) center / contain no-repeat;
  opacity: var(--marca-dagua-opacidade);
  pointer-events: none;
  right: -6%;
  top: 50%;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
}
/* Na abertura, o brasão acompanha o mouse de leve (máximo 12px, só computador) */
.hero .marca-dagua { transition: transform 600ms ease-out; }
.com-marca-dagua--esquerda > .marca-dagua { right: auto; left: -8%; }

/* ---------- Abertura (hero) ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero__grade { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero__frase { font-family: var(--fonte-titulo); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.45; margin-bottom: 1.2rem; }
.hero__texto { color: var(--texto-suave); max-width: 600px; margin-bottom: 2rem; }
.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.selo::before { content: ""; width: 28px; height: 1px; background: var(--dourado); }

.hero__painel {
  background: var(--dourado);
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
}
/* O brasão dourado não pode ser recolorido: ele fica sobre um quadro claro dentro da moldura dourada. */
.hero__painel img { width: min(220px, 60%); position: relative; z-index: 1; }
.hero__painel::before {
  content: "";
  position: absolute;
  top: 18px; right: 18px; bottom: 18px; left: 18px;
  background: var(--fundo);
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero__grade { grid-template-columns: 1fr; }
  .hero__painel { min-height: 0; aspect-ratio: 16 / 9; order: -1; }
  .hero__painel img { width: auto; height: 62%; }
}

/* ---------- Faixa de confiança ---------- */
.faixa-confianca { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--fundo-branco); }
.faixa-confianca ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.faixa-confianca li { padding: 28px 24px; text-align: center; }
.faixa-confianca li + li { border-left: 1px solid var(--linha); }
.faixa-confianca strong { display: block; font-family: var(--fonte-titulo); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; }
.faixa-confianca span { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--texto-suave); }
@media (max-width: 720px) {
  .faixa-confianca ul { grid-template-columns: 1fr; }
  .faixa-confianca li + li { border-left: 0; border-top: 1px solid var(--linha); }
  .faixa-confianca li { padding: 20px 8px; }
}

/* ---------- Áreas lado a lado ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.area {
  background: var(--fundo-branco);
  border: 1px solid var(--linha);
  border-top: 4px solid var(--dourado);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}
.area h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.area p { color: var(--texto-suave); }
.area__lista { list-style: none; margin: 8px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.area__lista li {
  font-size: .8rem;
  border: 1px solid var(--linha);
  border-radius: var(--raio-pilula);
  padding: 5px 14px;
  background: var(--fundo);
}
.area .botao { margin-top: auto; align-self: flex-start; }
@media (max-width: 820px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Faixa dourada (blocos de destaque) ---------- */
.faixa-dourada { background: var(--dourado); color: var(--texto); }
.faixa-dourada .rotulo { color: var(--texto); }
.faixa-dourada .linha-topo::before { background: var(--texto); }
.faixa-dourada .lead { color: var(--texto); }
.integrada__grade { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.lista-traco { list-style: none; }
.lista-traco li { padding: 16px 0 16px 36px; border-bottom: 1px solid rgba(17,17,17,.22); position: relative; }
.lista-traco li:first-child { border-top: 1px solid rgba(17,17,17,.22); }
.lista-traco li::before { content: ""; position: absolute; left: 0; top: 29px; width: 20px; height: 1px; background: currentColor; }
.integrada__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 860px) { .integrada__grade { grid-template-columns: 1fr; } }

/* ---------- Público atendido ---------- */
.publico { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
.publico li { padding: 28px; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--fundo-branco); display: flex; gap: 16px; align-items: flex-start; }
.publico svg { width: 26px; height: 26px; flex: none; color: var(--dourado); margin-top: 2px; }
.publico span { font-weight: 500; }
@media (max-width: 900px) { .publico { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .publico { grid-template-columns: 1fr; } .publico li { padding: 20px; } }

/* ---------- Atendimento online ---------- */
.online__grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.online__cartoes { display: grid; gap: 16px; }
.cartao-linha { border: 1px solid var(--texto); border-radius: 28px; padding: 22px 28px; background: var(--fundo-branco); }
.cartao-linha .rotulo { margin-bottom: .5rem; font-size: .7rem; color: var(--dourado-texto); }
.cartao-linha p { margin: 0; font-family: var(--fonte-titulo); font-size: 1.2rem; }
.cartao-linha small { display: block; margin-top: 6px; color: var(--texto-suave); font-size: .9rem; font-family: var(--fonte-texto); }
@media (max-width: 860px) { .online__grade { grid-template-columns: 1fr; } }

/* ---------- Sobre ---------- */
.sobre__grade { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.sobre__foto {
  aspect-ratio: 4 / 5;
  margin: 0;
  background: var(--dourado-claro);   /* cor enquanto a foto carrega */
  border: 1px solid var(--linha);
  position: relative;
}
/* Faixa dourada fina e sólida, deslocada na base (como nos blocos de destaque) */
.sobre__foto::after {
  content: "";
  position: absolute;
  left: 24px; right: -12px; bottom: -12px;
  height: 6px;
  background: var(--dourado);
  pointer-events: none;
}
.sobre__foto picture, .sobre__foto img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%;
}
.sobre__foto img { object-fit: cover; object-position: 50% 20%; }
/* Legenda discreta sobre a base da foto, numa faixa escura para ficar legível */
.sobre__foto figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: rgba(17, 17, 17, .72);
  color: #fff;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.4;
}
.sobre__oab { font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--dourado-texto); margin-bottom: .6rem; display: block; }
.sobre__dados { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 28px 0; border-top: 1px solid var(--linha); }
.sobre__dados li { padding: 18px 0; border-bottom: 1px solid var(--linha); }
.sobre__dados li:nth-child(odd) { padding-right: 16px; }
.sobre__dados strong { display: block; font-family: var(--fonte-titulo); font-weight: 400; font-size: 1.6rem; }
.sobre__dados span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); }
@media (max-width: 860px) { .sobre__grade { grid-template-columns: 1fr; } .sobre__foto { max-width: 420px; } }

/* ---------- Passos ---------- */
.passos { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: passo; }
.passos li { counter-increment: passo; border-top: 1px solid var(--texto); padding-top: 24px; }
.passos li::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 2.6rem;
  color: var(--dourado);
  line-height: 1;
  margin-bottom: 14px;
}
.passos h3 { font-size: 1.15rem; }
.passos p { color: var(--texto-suave); font-size: .95rem; }
@media (max-width: 960px) { .passos { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 560px) { .passos { grid-template-columns: 1fr; } }

/* ---------- Perguntas frequentes ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--texto); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--texto);
  border-bottom: 1.5px solid var(--texto);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .resposta { padding: 0 0 24px; color: var(--texto-suave); }
.faq .resposta p:last-child { margin-bottom: 0; }

/* ---------- Chamada final ---------- */
.chamada { text-align: center; }
.chamada h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.chamada .botoes { justify-content: center; }
.chamada p { max-width: 620px; margin: 0 auto 2rem; }

/* ---------- Contato ---------- */
.contato__grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--texto); }
.contato__item { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--linha); }
.contato__item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--linha); }
.contato__item .rotulo { font-size: .7rem; margin-bottom: .5rem; color: var(--dourado-texto); }
.contato__item p { margin: 0 0 .4rem; font-size: 1.05rem; }
.contato__item a { text-decoration: underline; text-decoration-color: var(--dourado); text-underline-offset: 4px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .contato__grade { grid-template-columns: 1fr; }
  .contato__item, .contato__item:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ---------- Páginas de área ---------- */
.migalhas { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 28px; }
.migalhas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.migalhas li + li::before { content: "/"; margin-right: 8px; color: var(--dourado-texto); }
.migalhas a { text-decoration: none; color: var(--texto-suave); }
.migalhas a:hover { color: var(--texto); }
.cabeca-pagina { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.cabeca-pagina .lead { max-width: 720px; }

.indice { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.indice a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid var(--texto);
  border-radius: var(--raio-pilula);
  padding: 8px 18px;
  font-size: .8rem;
  background: var(--fundo-branco);
}
.indice a:hover { background: var(--texto); color: #fff; }

.servicos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.servico {
  background: var(--fundo-branco);
  border: 1px solid var(--linha);
  padding: clamp(26px, 3.5vw, 40px);
  scroll-margin-top: calc(var(--topo-altura) + 20px);
  display: flex;
  flex-direction: column;
}
.servico__num { font-family: var(--fonte-titulo); color: var(--dourado); font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 12px; }
.servico h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.servico ul { list-style: none; margin-top: 6px; }
.servico li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--linha); position: relative; font-size: .97rem; }
.servico li:last-child { border-bottom: 0; }
.servico li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 1px; background: var(--dourado); }
.cruzamento {
  margin-top: auto;
  padding-top: 20px;
}
.cruzamento a {
  display: block;
  background: var(--dourado-claro);
  border-left: 3px solid var(--dourado);
  padding: 14px 18px;
  text-decoration: none;
  font-size: .92rem;
}
.cruzamento a strong { display: block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dourado-texto); margin-bottom: 4px; }
.cruzamento a:hover { background: #EEDCC8; }
@media (max-width: 860px) { .servicos { grid-template-columns: 1fr; } }

.outra-area { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.outra-area .botoes { justify-content: flex-end; }
@media (max-width: 760px) { .outra-area { grid-template-columns: 1fr; } .outra-area .botoes { justify-content: flex-start; } }

/* ---------- Texto corrido (privacidade, 404) ---------- */
.texto-corrido { max-width: 760px; }
.texto-corrido h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-top: 2.2em; }
.texto-corrido ul { padding-left: 1.2em; margin-bottom: 1em; }
.texto-corrido li { margin-bottom: .4em; }

/* ---------- Rodapé (fundo escuro) ---------- */
.rodape { background: var(--escuro); color: var(--escuro-texto); padding: clamp(56px, 8vw, 88px) 0 32px; font-size: .92rem; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; text-decoration-color: var(--dourado); text-underline-offset: 4px; }
.rodape__grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.14); }
.rodape h2 { font-family: var(--fonte-texto); font-size: .72rem; font-weight: 600; letter-spacing: .26em; color: var(--dourado); margin-bottom: 1rem; }
.rodape ul { list-style: none; }
.rodape li { margin-bottom: .55rem; }
.rodape__oab { margin-top: 20px; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; font-weight: 600; color: #fff; }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .8rem; }
.rodape__aviso { max-width: 640px; margin: 0; }
@media (max-width: 860px) { .rodape__grade { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whats-flutuante {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--texto);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  border: 2px solid var(--dourado);
  transition: transform .2s;
}
.whats-flutuante svg { width: 28px; height: 28px; }

/* ==========================================================================
   Interações (discretas). Tudo some com prefers-reduced-motion (fim do arquivo).
   ========================================================================== */

/* ---------- Botões: halo dourado, subida de 2px e pulso de luz ao clicar ---------- */
.botao:focus-visible { box-shadow: var(--halo); transform: translateY(-2px); }
@media (hover: hover) {
  .botao:hover { box-shadow: var(--halo); transform: translateY(-2px); }
}
.botao:active { transform: translateY(0); }

/* Pulso de luz (criado pelo js/main.js no ponto do clique) */
.ripple {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(214, 153, 94, .45);
  transform: scale(0);
  pointer-events: none;
  animation: ripple 600ms ease-out forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Botão flutuante do WhatsApp ---------- */
.whats-flutuante {
  background: transparent;   /* o fundo preto passa para o ::before, para o anel poder ficar atrás dele */
  isolation: isolate;
  transition: transform var(--tempo) var(--curva);
}
/* Fundo preto do botão */
.whats-flutuante::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--texto);
}
/* Pulso suave e lento do halo, a cada 6 segundos: anel dourado atrás do botão que cresce 16px e some
   (equivale ao box-shadow de antes: 0 a 16px de espalhamento, opacidade de .5 a 0) */
.whats-flutuante::after {
  content: "";
  position: absolute;
  top: -2px; right: -2px; bottom: -2px; left: -2px;
  z-index: -2;
  border-radius: 50%;
  background: var(--dourado);
  opacity: .5;
  pointer-events: none;
  animation: halo-whats 6s ease-out 3s infinite;
}
@keyframes halo-whats {
  0%, 72%, 100% { transform: scale(1); opacity: .5; }
  86% { transform: scale(1.5517); opacity: 0; }
}
/* Mouse em cima ou foco: o pulso para e o botão sobe 2px. A sombra fica a de sempre: a animação
   antiga de sombra se sobrepunha ao brilho do hover, então ele não aparecia; mantido igual. */
.whats-flutuante:hover::after, .whats-flutuante:focus-visible::after { animation-play-state: paused; }
.whats-flutuante:hover, .whats-flutuante:focus-visible { transform: translateY(-2px); }

/* ---------- Cartões: luz dourada que segue o mouse e borda que acende (só computador) ---------- */
@media (hover: hover) and (pointer: fine) {
  .area, .servico, .passos li, .faq details { position: relative; isolation: isolate; }
  .area::after, .servico::after, .passos li::after, .faq details::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(280px circle at var(--x, 50%) var(--y, 50%), var(--luz-cartao), transparent 70%);
    transition: opacity 300ms ease;
  }
  .area:hover::after, .servico:hover::after, .passos li:hover::after, .faq details:hover::after { opacity: 1; }
  .area, .servico { transition: border-color var(--tempo); }
  .area:hover, .servico:hover { border-color: rgba(214, 153, 94, .75); }
  .area:hover { border-top-color: var(--dourado); }
  .passos li { transition: border-color var(--tempo); }
  .passos li:hover { border-top-color: var(--dourado); }
  .faq details { transition: border-color var(--tempo); }
  .faq details:hover { border-bottom-color: var(--dourado); }
}

/* ---------- Entrada ao rolar (o JS só liga quando o navegador suporta e não há "reduzir movimento") ---------- */
.js-anima [data-revelar] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--curva), transform 600ms var(--curva), border-color var(--tempo);
  transition-delay: var(--atraso, 0ms);
}
.js-anima [data-revelar].visivel { opacity: 1; transform: none; }

/* ---------- Quem pede menos movimento: sem animações, só mudança de cor ---------- */
@media (prefers-reduced-motion: reduce) {
  .js-anima [data-revelar] { opacity: 1; transform: none; }
  .botao:hover, .botao:focus-visible, .botao:active,
  .whats-flutuante:hover, .whats-flutuante:focus-visible { transform: none; }
  .whats-flutuante::after { animation: none; }
  .ripple { display: none; }
  .marca-dagua { transform: translate3d(0, -50%, 0); }
  .area::after, .servico::after, .passos li::after, .faq details::after { display: none; }
  .marca img, .menu a:not(.botao)::after { transition: none; }
}

/* ==========================================================================
   Recursos interativos (abertura, acordeão, progresso).
   O JS marca <html class="js">. Sem JS, todo o conteúdo aparece normalmente.
   ========================================================================== */

/* ---------- Barra de progresso de leitura (criada pelo js/main.js) ---------- */
.progresso {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--dourado);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 120;
  pointer-events: none;
}

/* ---------- Abertura: título palavra por palavra e linha dourada (só CSS: o texto nunca depende do JS) ---------- */
.hero h1 .palavra {
  display: inline-block;
  animation: palavra-entra 520ms var(--curva) both;
  animation-delay: calc(var(--i) * 50ms);
}
@keyframes palavra-entra { from { opacity: 0; transform: translateY(.35em); } }
.hero__linha {
  display: block;
  width: min(240px, 50%);
  height: 1px;
  margin: -.1em 0 1.4rem;
  background: var(--dourado);
  transform-origin: left center;
  animation: linha-desenha 700ms var(--curva) 420ms both;
}
@keyframes linha-desenha { from { transform: scaleX(0); } }

/* ---------- Serviços em acordeão (páginas de área) ---------- */
.servicos { align-items: start; }
.servicos__acoes { display: flex; justify-content: flex-end; margin: -12px 0 20px; }
html:not(.js) .servicos__acoes { display: none; }
.servico__titulo { margin: 0; }
.servico__botao {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
  line-height: 1.2;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
.servico__botao .servico__num { margin: 0; flex: none; font-size: 1.8rem; }
.servico__nome { flex: 1; }
.servico__icone { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--texto); border-radius: 50%; transition: border-color var(--tempo), background-color var(--tempo); }
.servico__icone::before, .servico__icone::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.5px;
  background: var(--texto);
  transform: translate(-50%, -50%);
  transition: transform var(--tempo) var(--curva);
}
.servico__icone::after { transform: translate(-50%, -50%) rotate(90deg); }
.servico__botao[aria-expanded="true"] .servico__icone::after { transform: translate(-50%, -50%) rotate(0deg); }
.servico__botao:hover .servico__icone, .servico__botao:focus-visible .servico__icone { border-color: var(--dourado); background: var(--dourado-claro); }
.servico__botao:focus-visible { outline: 2px solid var(--texto); outline-offset: 6px; }
.servico__painel { overflow: hidden; transition: height 350ms var(--curva); }
.servico__painel > ul { margin-top: 18px; }
.servico.fechado .servico__painel { visibility: hidden; transition: height 350ms var(--curva), visibility 0s linear 350ms; }

/* ---------- Efeito magnético leve nos botões principais (só computador) ---------- */
@media (hover: hover) and (pointer: fine) {
  .botao--cheio { transform: translate(var(--mgx, 0px), var(--mgy, 0px)); }
  .botao--cheio:hover { transform: translate(var(--mgx, 0px), calc(var(--mgy, 0px) - 2px)); }
}

/* ---------- Menos movimento: tudo parado, só mudança de cor ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero h1 .palavra, .hero__linha { animation: none; }
  .hero .marca-dagua { transform: translate3d(0, -50%, 0); }
  .botao--cheio, .botao--cheio:hover { transform: none; }
}

/* ---------- Acordeão no celular: palavras longas nunca alargam a tela ---------- */
.servicos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .servicos { grid-template-columns: minmax(0, 1fr); } }
.servico__nome { min-width: 0; word-break: break-word; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 400px) {
  .servico h3 { font-size: 1.08rem; }
  .servico__botao { gap: 12px; }
  .servico__botao .servico__num { font-size: 1.45rem; }
}

/* Mantém junto um trecho que não pode quebrar de linha (ex.: CEP) */
.sem-quebra { white-space: nowrap; }

/* ==========================================================================
   Ajustes do relatório de pré-lançamento
   ========================================================================== */

/* Classes que substituem estilos que estavam escritos direto no HTML */
.rodape__resumo { margin-top: 20px; }
.rodape__copia { margin: 0; }
.botoes--espaco { margin-top: 28px; }
.secao--servicos { padding-top: clamp(48px, 6vw, 80px); }
.lead--sem-margem { margin: 0; }
.hero h1 .palavra:nth-child(2) { --i: 1; }
.hero h1 .palavra:nth-child(3) { --i: 2; }
.hero h1 .palavra:nth-child(4) { --i: 3; }
.hero h1 .palavra:nth-child(5) { --i: 4; }
.hero h1 .palavra:nth-child(6) { --i: 5; }
.hero h1 .palavra:nth-child(7) { --i: 6; }
.hero h1 .palavra:nth-child(8) { --i: 7; }
.hero h1 .palavra:nth-child(9) { --i: 8; }

/* Espaço no fim do rodapé para o botão flutuante de WhatsApp (58px + 18px de margem + folga) nunca cobrir o texto */
.rodape { padding-bottom: calc(58px + 18px + 24px); }

/* Alvos de toque maiores sem mudar o visual: a área clicável cresce, o espaço ocupado não */
.marca { padding: 4px 0; margin: -4px 0; }
.migalhas a { display: inline-block; padding: 15px 0; margin: -15px 0; }
.contato__item a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.rodape li a { display: inline-block; min-width: 44px; padding: 4px 0; margin: -4px 0; }
.servico__botao { padding: 6px 0; margin: -6px 0; }

/* ---------- Impressão (Ctrl+P) ---------- */
@media print {
  @page { margin: 16mm; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; }
  body, body * { color: #000 !important; background: transparent !important; }
  body { background: #fff !important; }
  .topo { position: static; border: 0; }
  .topo .container { height: auto; padding-top: 0; }
  .menu, .menu-botao, .progresso, .whats-flutuante, .pular, .servicos__acoes, .servico__icone, .rodape .marca, .hero__painel { display: none !important; }
  .marca-dagua, .area::after, .servico::after, .passos li::after, .faq details::after { display: none !important; }
  main { padding-top: 0; }
  .secao, .hero, .cabeca-pagina { padding: 16px 0; }
  .js-anima [data-revelar] { opacity: 1 !important; transform: none !important; }
  .hero h1 .palavra, .hero__linha { animation: none !important; opacity: 1 !important; transform: none !important; }
  .servico.fechado .servico__painel, .servico__painel { height: auto !important; visibility: visible !important; overflow: visible !important; }
  .area, .servico, .faq details, .passos li, .cartao-linha, .contato__item { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  .faixa-dourada, .area, .servico, .cartao-linha, .rodape { border-color: #999 !important; }
  .rodape { padding: 16px 0; border-top: 1px solid #999; }
  a { text-decoration: underline; }
  /* Mostra o endereço dos links externos curtos (os do WhatsApp e do mapa são longos demais para o papel) */
  a[href^="http"]:not([href*="wa.me"]):not([href*="google.com/maps"]):not(.marca)::after { content: " (" attr(href) ")"; font-size: .8em; word-break: break-all; }
}
