/* Ana Paula Dantas Advocacia: "o norte". Creme, caramelo e mel; Marcellus + Figtree (fontes locais). */
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/marcellus-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/figtree-400.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/figtree-600.woff2') format('woff2'); }

:root {
  --fundo: #f7f1e8;
  --fundo-alt: #efe6d9;
  --cartao: #fffaf3;
  --texto: #221c18;
  --suave: #5d524a;
  --marca: #8a4f26;
  --marca-escura: #6e3d1c;
  --escuro: #1d1916;
  --escuro-2: #29231f;
  --acento: #e0ae6b;
  --sobre-escuro: #f3ebe0;
  --sobre-escuro-suave: #c9bfb4;
  --linha: #e3d7c6;
  --linha-escura: rgba(224, 174, 107, 0.22);
  --serifa: 'Marcellus', 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --raio: 4px;
  --margem: clamp(20px, 5vw, 48px);
  --lento: cubic-bezier(0.22, 0.61, 0.36, 1);
  --agulha: 0deg;
  --giro: 0deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--marca-escura); }
h1, h2, h3 { font-family: var(--serifa); font-weight: 400; line-height: 1.12; margin: 0 0 0.6em; letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 6.2vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
svg use { fill: currentColor; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--escuro); color: #fff; padding: 10px 14px; }
.pular:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--marca); outline-offset: 3px; }
.secao--escura :focus-visible, .hero :focus-visible, .rodape :focus-visible, .topo :focus-visible, .area--escura :focus-visible { outline-color: var(--acento); }

.caixa { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--margem); }
.estreita { max-width: 820px; }

/* Rótulo com a agulha */
.rotulo {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.8rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--marca); margin-bottom: 18px;
}
.rotulo--claro { color: var(--acento); }
.intro { max-width: 60ch; color: var(--suave); font-size: 1.1rem; }
.intro--clara { color: var(--sobre-escuro-suave) !important; }
.cabeca { max-width: 760px; }
.cabeca--linha { max-width: none; display: grid; gap: 8px; align-items: end; }
@media (min-width: 900px) { .cabeca--linha { grid-template-columns: 1fr auto; gap: 32px; } .cabeca--linha .botao { margin-bottom: 1.2em; } }

/* Botões: brilho que passa, ímã no mouse */
.botao {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: var(--raio);
  background: var(--marca); color: #fff; text-decoration: none;
  font: 600 1rem/1.2 var(--sans); letter-spacing: 0.01em; text-align: center;
  border: 1px solid transparent; transition: background 0.3s, color 0.3s, border-color 0.3s, translate 0.45s var(--lento);
}
.botao::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.38) 50%, transparent 65%);
  transform: translateX(-130%);
}
.botao:hover::after { animation: brilha 0.9s var(--lento); }
.botao--brilha::after { animation: brilha-loop 5.5s 2s var(--lento) infinite; }
.botao--brilha:hover::after { animation: brilha 0.9s var(--lento); }
@keyframes brilha { to { transform: translateX(130%); } }
@keyframes brilha-loop { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
.botao:hover { background: var(--marca-escura); }
.botao:active { translate: 0 1px !important; }
.botao--mel { background: var(--acento); color: var(--escuro); }
.botao--mel:hover { background: #ebc184; }
.botao--vazado { background: transparent; color: var(--sobre-escuro); border-color: rgba(243, 235, 224, 0.45); }
.botao--vazado:hover { background: rgba(243, 235, 224, 0.1); border-color: var(--sobre-escuro); }
.botao--escuro { color: var(--texto); border-color: var(--linha); }
.botao--escuro:hover { background: var(--cartao); border-color: var(--marca); color: var(--marca-escura); }
.botao--pequeno { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }
.botao svg { flex: none; }

/* Topo: a bússola gira para a seção que está na tela */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 40;
  color: var(--sobre-escuro);
  transition: background 0.4s, box-shadow 0.4s, color 0.4s;
}
.topo--rolou, .menu-aberto .topo { background: rgba(29, 25, 22, 0.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--linha-escura); }
.topo__linha { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.topo__marca { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-right: auto; }
.topo__bussola {
  width: 40px; height: 40px; flex: none; border: 1px solid var(--linha-escura); border-radius: 50%;
  display: grid; place-items: center; position: relative;
}
.topo__bussola::before { content: ''; position: absolute; left: 50%; top: -1px; width: 3px; height: 3px; translate: -50% 0; background: var(--acento); border-radius: 50%; }
.topo__agulha { color: var(--acento); rotate: var(--agulha); transition: rotate 1.1s var(--lento); }
.topo__nome { font: 400 1.1rem/1.05 var(--serifa); display: flex; flex-direction: column; }
.topo__nome small { font: 600 0.6rem/1.4 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--acento); }
.topo__menu { display: none; }
.topo__wa { display: none; }
.topo__abrir {
  width: 48px; height: 48px; border: 1px solid var(--linha-escura); border-radius: var(--raio);
  background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer;
}
.topo__abrir span[aria-hidden] { position: relative; width: 20px; height: 1.5px; background: currentColor; transition: background 0.2s; }
.topo__abrir span[aria-hidden]::before, .topo__abrir span[aria-hidden]::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 1.5px; background: currentColor; transition: transform 0.3s;
}
.topo__abrir span[aria-hidden]::before { top: -6px; }
.topo__abrir span[aria-hidden]::after { top: 6px; }
.menu-aberto .topo__abrir span[aria-hidden] { background: transparent; }
.menu-aberto .topo__abrir span[aria-hidden]::before { transform: translateY(6px) rotate(45deg); }
.menu-aberto .topo__abrir span[aria-hidden]::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899px) {
  .menu-aberto .topo__menu {
    display: flex; flex-direction: column; position: fixed; inset: 68px 0 auto; padding: 12px var(--margem) 28px;
    background: var(--escuro); border-top: 1px solid var(--linha-escura); max-height: calc(100svh - 68px); overflow: auto;
  }
  .topo__menu a { color: var(--sobre-escuro); text-decoration: none; font: 400 1.4rem/1 var(--serifa); padding: 16px 0; border-bottom: 1px solid var(--linha-escura); }
  .topo__menu a.ativo { color: var(--acento); }
  .topo__menu .topo__menu-wa { border: 0; margin-top: 18px; font: 600 1rem/1 var(--sans); color: var(--escuro); background: var(--acento); padding: 18px; text-align: center; border-radius: var(--raio); }
}
@media (min-width: 900px) {
  .topo__abrir { display: none; }
  .topo__menu { display: flex; gap: 26px; }
  .topo__menu a { position: relative; color: inherit; text-decoration: none; font-size: 0.95rem; opacity: 0.85; padding: 6px 0; transition: opacity 0.3s, color 0.3s; }
  .topo__menu a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--acento); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--lento); }
  .topo__menu a:hover, .topo__menu a.ativo { opacity: 1; color: var(--acento); }
  .topo__menu a:hover::after, .topo__menu a.ativo::after { transform: scaleX(1); }
  .topo__menu .topo__menu-wa { display: none; }
  .topo__wa { display: inline-flex; }
}

/* Hero: foto de borda a borda; assunto em cima, texto embaixo sobre a blusa preta */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--escuro); color: var(--sobre-escuro);
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero__foto { position: absolute; inset: 0; z-index: -2; }
.hero__foto { translate: 0 var(--hero-y, 0px); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.08); transform-origin: 50% 22%; animation: aproxima 8s 0.2s var(--lento) forwards; }
@keyframes aproxima { to { transform: scale(1); } }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(29, 25, 22, 0.5) 0, rgba(29, 25, 22, 0) 14%, rgba(29, 25, 22, 0) 40%, rgba(29, 25, 22, 0.78) 56%, rgba(29, 25, 22, 0.95) 68%, var(--escuro) 100%);
}
.hero__anel { display: none; }
.hero__texto { width: 100%; padding: 0 var(--margem) calc(28px + env(safe-area-inset-bottom)); max-width: 640px; position: relative; z-index: 1; opacity: var(--hero-o, 1); text-shadow: 0 1px 16px rgba(29, 25, 22, 0.6); }
.hero .rotulo { margin-bottom: 14px; }
.hero__titulo { margin-bottom: 24px; }
.hero__frase { display: block; font: 400 clamp(1rem, 3.8vw, 1.25rem)/1.3 var(--serifa); color: var(--acento); letter-spacing: 0.02em; margin-bottom: 10px; }
.hero__principal { display: block; font-size: clamp(1.75rem, 7.2vw, 3.3rem); line-height: 1.08; }
.hero__principal em { font-style: normal; color: var(--acento); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__acoes .botao { flex: 1 1 auto; }
@media (max-width: 767px) {
  .hero__acoes .botao--vazado { flex-basis: 100%; min-height: 40px; padding: 4px 0; border: 0; background: transparent; justify-content: flex-start; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--linha-escura); }
  .hero__acoes .botao--vazado::after { display: none; }
}
.hero__oab { margin: 18px 0 0; padding-right: 72px; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--sobre-escuro-suave); }

/* Celular baixo: bloco de texto menor para o rosto ficar livre */
@media (max-width: 767px) and (max-height: 720px) {
  .hero__principal { font-size: clamp(1.5rem, 6.4vw, 1.9rem); }
  .hero__frase { font-size: 0.95rem; margin-bottom: 6px; }
  .hero__oab { display: none; }
  .hero__acoes .botao--vazado { min-height: 32px; }
}
@media (max-width: 767px) and (max-height: 600px) {
  .hero__principal { font-size: 1.4rem; }
  .hero__acoes .botao--vazado { display: none; }
  .hero .rotulo { margin-bottom: 8px; }
  .hero__titulo { margin-bottom: 16px; }
}
/* Palavras do hero sobem em sequência (depois da abertura) */
.palavra { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.palavra > span { display: inline-block; }
.hero .palavra > span { translate: 0 110%; opacity: 0; transition: translate 0.9s var(--lento), opacity 0.6s; transition-delay: calc(var(--j, 0) * 55ms); }
.hero--entra .palavra > span { translate: 0 0; opacity: 1; }
/* Rede de segurança: aba aberta em segundo plano ou JS atrasado, as palavras aparecem sozinhas */
.hero .palavra > span { animation: palavra-seguro 0.01s 4.5s forwards; }
@keyframes palavra-seguro { to { translate: 0 0; opacity: 1; } }
.hero__principal .palavra > span { transition-delay: calc(0.25s + var(--j, 0) * 55ms); }

@media (min-width: 768px) {
  .hero { align-items: center; }
  .hero__foto { left: auto; width: 48%; }
  .hero__foto { translate: 0 0; }
  .hero__foto img { object-position: 50% 18%; }
  .hero__texto { opacity: 1; text-shadow: none; }
  .hero::after { background: linear-gradient(to right, var(--escuro) 0, var(--escuro) 52%, rgba(29, 25, 22, 0.75) 58%, rgba(29, 25, 22, 0.3) 66%, rgba(29, 25, 22, 0) 78%); }
  .hero__anel {
    display: block; position: absolute; z-index: 0; color: var(--acento); opacity: 0.3;
    width: min(78vh, 680px); height: min(78vh, 680px); left: calc(max(var(--margem), (100vw - 1180px) / 2 + var(--margem)) - 23vh); top: 50%;
    translate: 0 -50%; rotate: var(--giro); pointer-events: none;
  }
  .hero__texto { max-width: none; padding-left: max(var(--margem), calc((100vw - 1180px) / 2 + var(--margem))); padding-right: 52%; padding-top: 96px; padding-bottom: 72px; }
  .hero__principal { font-size: clamp(2.6rem, 3.9vw, 3.9rem); }
  .hero__frase { font-size: 1.3rem; }
  .hero__acoes .botao { flex: 0 1 auto; }
}

/* Faixa corrida: as oito direções passando devagar */
.faixa { overflow: hidden; background: var(--escuro); color: var(--sobre-escuro-suave); border-top: 1px solid var(--linha-escura); border-bottom: 1px solid var(--linha-escura); padding: 15px 0; }
.faixa__trilho { display: flex; width: max-content; animation: corre 46s linear infinite; }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa__trilho span { display: inline-flex; align-items: center; gap: 22px; padding: 0 22px 0 0; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.faixa__trilho svg { width: 11px; height: 11px; color: var(--acento); flex: none; }
@keyframes corre { to { transform: translateX(-50%); } }

/* Seções */
.secao { padding: clamp(72px, 12vw, 128px) 0; }
.secao--alt { background: var(--fundo-alt); }
.secao--escura { background: var(--escuro); color: var(--sobre-escuro); }
.secao--escura p { color: var(--sobre-escuro-suave); }
.duas { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .duas { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .duas--foto { grid-template-columns: 5fr 6fr; }
}

/* Título com o anel da bússola atrás */
.titulo-anel { position: relative; max-width: 18ch; }
.titulo-anel::before {
  content: ''; position: absolute; left: -28px; top: 50%; width: 120px; height: 120px; translate: 0 -50%;
  border: 1px solid var(--linha); border-radius: 50%; z-index: -1;
  background: conic-gradient(from -2deg, var(--marca) 0 4deg, transparent 4deg 90deg, var(--marca) 90deg 94deg, transparent 94deg 180deg, var(--marca) 180deg 184deg, transparent 184deg 270deg, var(--marca) 270deg 274deg, transparent 274deg) border-box;
  -webkit-mask: radial-gradient(circle, transparent 56px, #000 57px); mask: radial-gradient(circle, transparent 56px, #000 57px);
  opacity: 0.35;
}
#atuacao .caixa { position: relative; isolation: isolate; }

/* Rosa dos ventos: oito áreas, cada agulha aponta para a sua direção */
.areas { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .areas { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.area {
  position: relative; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio);
  padding: 28px 24px 22px; display: flex; flex-direction: column;
  transition: transform 0.55s var(--lento), box-shadow 0.55s var(--lento);
}
.area:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(34, 28, 24, 0.4); }
.area__dir { display: flex; align-items: center; gap: 12px; color: var(--marca); margin-bottom: 18px; }
.area__dir svg { width: 38px; height: 38px; rotate: var(--ang); transition: rotate 0.9s var(--lento); }
.com-revela .area .area__dir svg { rotate: calc(var(--ang) - 170deg); opacity: 0; transition: rotate 1.4s var(--lento), opacity 0.6s; transition-delay: calc(var(--i, 0) * 90ms + 0.15s); }
.com-revela .area.revela--ok .area__dir svg { rotate: var(--ang); opacity: 1; }
.com-revela .area.revela--ok:hover .area__dir svg { rotate: calc(var(--ang) + 360deg); transition-delay: 0s; }
.area:active { transform: scale(0.985); }
.area__dir b { font: 400 0.85rem/1 var(--serifa); letter-spacing: 0.22em; color: var(--suave); transform-origin: left center; }
.com-revela .area__dir b { opacity: 0; transform: rotate(-60deg) scale(0.4); transition: opacity 0.5s var(--lento), transform 0.7s var(--lento); transition-delay: calc(var(--i, 0) * 90ms + 0.35s); }
.com-revela .revela--ok .area__dir b { opacity: 1; transform: none; }
.area h3 { font-size: 1.55rem; margin-bottom: 8px; }
.area p { color: var(--suave); font-size: 0.98rem; }
.area__temas { list-style: none; margin: 2px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area__temas li { font: 600 0.74rem/1.2 var(--sans); letter-spacing: 0.03em; color: var(--marca-escura); background: var(--fundo-alt); border-radius: 999px; padding: 6px 10px; }
.area__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: auto;
  font-weight: 600; color: var(--marca-escura); text-decoration: none; border-top: 1px solid var(--linha); padding-top: 14px;
}
.area__link svg { transition: translate 0.4s var(--lento); }
.area__link:hover { color: var(--marca); }
.area__link:hover svg { translate: 5px 0; }
.area--escura { background: var(--escuro); border-color: var(--escuro); color: var(--sobre-escuro); }
.area--escura .area__dir, .area--escura .area__link { color: var(--acento); }
.area--escura .area__dir b { color: var(--sobre-escuro-suave); }
.area--escura p { color: var(--sobre-escuro-suave); }
.area--escura .area__temas li { background: rgba(224, 174, 107, 0.12); color: var(--acento); }
.area--escura .area__link { border-color: var(--linha-escura); }
.area--escura .area__link:hover { color: #ebc184; }

/* Família e sucessões: foto das mãos numa janela, dois temas */
.familia { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .familia { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .familia__foto { position: sticky; top: 100px; }
}
.familia__foto { margin: 0; position: relative; isolation: isolate; }
.familia__foto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--raio); }
.secao--escura { position: relative; overflow: clip; }
.marca-dagua { position: absolute; right: -18%; top: 4%; width: 72vw; max-width: 560px; height: auto; aspect-ratio: 1; color: var(--acento); opacity: 0.07; rotate: var(--giro); pointer-events: none; }
.marca-dagua--baixo { top: auto; bottom: -10%; left: -16%; right: auto; }
.secao--escura > .caixa { position: relative; }
.com-revela .janela { clip-path: circle(16% at 50% 46%); transition: clip-path 1.5s var(--lento); }
.com-revela .revela--ok .janela { clip-path: circle(100% at 50% 46%); }
.familia__foto::before {
  content: ''; position: absolute; left: -20px; top: -20px; width: 128px; height: 128px; z-index: -1;
  border: 1px solid var(--acento); border-radius: 50%; opacity: 0.45;
}
.familia__foto figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--sobre-escuro-suave); }
.tema { padding: 30px 0 10px; border-top: 1px solid var(--linha-escura); margin-top: 20px; }
.tema h3 { font-size: 1.75rem; margin-bottom: 6px; }
.tema .botao { margin-top: 10px; }
.destaque { font: 400 1.35rem/1.35 var(--serifa); color: var(--acento) !important; }
.destaque--escuro { color: var(--marca-escura) !important; border-left: 2px solid var(--marca); padding-left: 18px; }
.pontos { list-style: none; margin: 0 0 18px; padding: 0; }
.pontos li { padding: 16px 0 16px 34px; border-top: 1px solid var(--linha-escura); position: relative; color: var(--sobre-escuro-suave); }
.pontos li::before { content: ''; position: absolute; left: 4px; top: 23px; width: 10px; height: 10px; rotate: 45deg; border: 1px solid var(--acento); }
.pontos b { color: var(--sobre-escuro); font-weight: 600; }

/* Fotos com paralaxe: a imagem anda devagar dentro da moldura */
.foto { margin: 0; position: relative; isolation: isolate; }
.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; border-radius: var(--raio); }
.foto::after { content: ''; position: absolute; right: -14px; bottom: 36px; width: 96px; height: 96px; z-index: -1; border: 1px solid var(--marca); border-radius: 50%; opacity: 0.4; }
.foto figcaption, .sobre__foto figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--suave); }
.paralaxe { display: block; overflow: hidden; border-radius: var(--raio); }
.paralaxe img { transform: scale(1.12); will-change: transform; }

/* Passos: a linha entre eles se preenche com a rolagem */
.passos { position: relative; list-style: none; margin: 28px 0 32px; padding: 0; counter-reset: p; }
.passos::before { content: ''; position: absolute; left: 20px; top: 20px; bottom: 36px; width: 1px; background: var(--linha); }
.passos::after { content: ''; position: absolute; left: 20px; top: 20px; bottom: 36px; width: 1px; background: var(--marca); transform-origin: top; transform: scaleY(var(--prog, 0)); }
.passos li { counter-increment: p; position: relative; padding: 0 0 26px 60px; }
.passos li::before {
  content: counter(p); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; z-index: 1;
  display: grid; place-items: center; border: 1px solid var(--marca); border-radius: 50%; background: var(--fundo);
  font: 400 1.05rem/1 var(--serifa); color: var(--marca);
}
.passos li::before { transition: background 0.5s var(--lento), color 0.5s; }
.passos li.passo--feito::before { background: var(--marca); color: #fff; }
.passos h3 { font-size: 1.25rem; margin-bottom: 4px; }
.passos p { color: var(--suave); margin: 0; }

/* Sobre: retrato com o anel atrás, credenciais como carimbo */
#sobre { overflow: hidden; }
.sobre { display: grid; gap: 44px; }
@media (min-width: 900px) { .sobre { grid-template-columns: 6fr 5fr; gap: 80px; align-items: center; } }
.sobre__foto { margin: 0; position: relative; isolation: isolate; }
.sobre__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.sobre__anel { position: absolute; width: 72%; height: auto; aspect-ratio: 1; right: -16%; bottom: -12%; z-index: -1; color: var(--marca); opacity: 0.4; rotate: var(--giro); pointer-events: none; }
.credenciais { list-style: none; margin: 28px 0 0; padding: 20px 22px; display: grid; gap: 14px; background: var(--cartao); border: 1px solid var(--linha); border-radius: var(--raio); position: relative; }
.credenciais::before { content: ''; position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border: 1px solid var(--linha); border-radius: 50%; background: conic-gradient(from -2deg, var(--marca) 0 4deg, transparent 4deg 90deg, var(--marca) 90deg 94deg, transparent 94deg 180deg, var(--marca) 180deg 184deg, transparent 184deg 270deg, var(--marca) 270deg 274deg, transparent 274deg) border-box; -webkit-mask: radial-gradient(circle, transparent 14px, #000 15px); mask: radial-gradient(circle, transparent 14px, #000 15px); opacity: 0.5; }
.credenciais li { display: grid; gap: 2px; padding-right: 40px; }
.credenciais b { font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--marca); }
.credenciais span { font-size: 0.98rem; overflow-wrap: anywhere; }

/* Instagram */
.ig { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .ig { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ig a { position: relative; display: block; overflow: hidden; border-radius: var(--raio); aspect-ratio: 1; background: var(--fundo-alt); color: #fff; text-decoration: none; isolation: isolate; }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--lento); }
.ig a:hover img, .ig a:active img { transform: scale(1.07); }
.com-revela .ig li { scale: 0.94; transition: opacity 0.9s var(--lento), translate 0.9s var(--lento), scale 1.1s var(--lento); transition-delay: calc(var(--i, 0) * 90ms); }
.com-revela .ig li.revela--ok { scale: 1; }
.ig span { position: absolute; inset: auto 0 0; padding: 36px 12px 11px; font: 600 0.8rem/1.3 var(--sans); background: linear-gradient(to top, rgba(29, 25, 22, 0.82), transparent); }

/* Dúvidas */
.duvidas details { border-top: 1px solid var(--linha); }
.duvidas details:last-child { border-bottom: 1px solid var(--linha); }
.duvidas summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 400 1.2rem/1.35 var(--serifa); min-height: 44px;
}
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; translate: 0 -70%; rotate: 45deg;
  border-right: 1.5px solid var(--marca); border-bottom: 1.5px solid var(--marca); transition: rotate 0.3s, translate 0.3s;
}
.duvidas details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.duvidas details p { color: var(--suave); padding-right: 24px; }
.duvidas details[open] p { animation: desliza 0.5s var(--lento); }
@keyframes desliza { from { opacity: 0; translate: 0 -6px; } }

/* Contato */
.contato { list-style: none; margin: 0; padding: 0; }
.contato li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--linha-escura); }
.contato__rotulo { font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--acento); }
.contato a, .contato li > span:last-child { color: var(--sobre-escuro); font-size: 1.05rem; text-decoration-color: var(--linha-escura); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contato a { display: inline-flex; align-items: flex-start; gap: 8px; }
.contato a svg { flex: none; margin-top: 4px; color: var(--acento); }
.contato a:hover { color: var(--acento); }

/* Rodapé */
.rodape { background: var(--escuro); color: var(--sobre-escuro-suave); border-top: 1px solid var(--linha-escura); padding: 32px 0 100px; font-size: 0.88rem; }
.rodape__linha { display: grid; gap: 8px; }
.rodape p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rodape__marca { color: var(--sobre-escuro); }
.rodape svg { color: var(--acento); }
.credito { justify-self: start; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; margin-top: 10px; font-size: 0.8rem; color: var(--sobre-escuro-suave); text-decoration: none; transition: color 0.2s; }
.credito:hover, .credito:focus-visible { color: var(--sobre-escuro); }
.credito__marca { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; color: var(--sobre-escuro); }
.credito__marca svg { width: 20px; height: 18px; color: var(--sobre-escuro); }
@media (min-width: 900px) { .rodape { padding-bottom: 32px; } .rodape__linha { grid-template-columns: 1fr auto; } .rodape__linha p { grid-column: 1; } .rodape__linha .credito { grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: end; margin-top: 0; } }

/* WhatsApp flutuante */
.flutuante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1f7a4d; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--lento), opacity 0.4s;
}
.flutuante::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1f7a4d; animation: pulso 2.6s ease-out infinite; }
@keyframes pulso { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.flutuante:hover { transform: scale(1.06); }

/* Revelar ao rolar, escalonado por --i (lento: o luxo é o silêncio) */
.com-revela .revela { opacity: 0; translate: 0 22px; transition: opacity 0.9s var(--lento), translate 0.9s var(--lento); transition-delay: calc(var(--i, 0) * 90ms); }
@media (max-width: 767px) { .com-revela .revela { translate: 0 34px; transition-duration: 1.05s; } }
.com-revela .revela.revela--ok { opacity: 1; translate: 0 0; }
.com-revela h2.revela { opacity: 1; translate: 0 0; }
/* Títulos: cada palavra sobe de trás de uma linha */
.com-revela h2 .palavra > span { translate: 0 110%; transition: translate 0.85s var(--lento); transition-delay: calc(var(--j, 0) * 45ms); }
.com-revela h2.revela--ok .palavra > span { translate: 0 0; }

/* ---------- Abertura: a agulha se monta, o anel fecha, a frase aparece e o anel abre a foto ---------- */
.abertura, .abertura__pular { display: none; }
.abrindo body { overflow: hidden; }
.abrindo .abertura {
  display: grid; place-content: center; justify-items: center; gap: 20px;
  position: fixed; inset: 0; z-index: 90; background: var(--escuro); color: var(--acento);
  transition: background 0.5s ease;
}
.abrindo .abertura__pular {
  display: block; position: fixed; right: 16px; top: calc(16px + env(safe-area-inset-top)); z-index: 95;
  min-height: 44px; padding: 10px 18px; border-radius: var(--raio); cursor: pointer;
  background: transparent; color: var(--sobre-escuro); border: 1px solid var(--linha-escura); font: 600 0.9rem/1 var(--sans);
}
.abertura__marca { overflow: visible; fill: currentColor; animation: acerta 1.4s 1.45s var(--lento) both; }
@keyframes acerta { from { rotate: -32deg; } to { rotate: 0deg; } }
.abertura__marca g { animation: ponta 0.95s var(--lento) both; transform-origin: 50px 50px; }
.abertura__n { --dx: 0; --dy: -90px; animation-delay: 0.1s !important; }
.abertura__l { --dx: 90px; --dy: 0; animation-delay: 0.38s !important; }
.abertura__s { --dx: 0; --dy: 90px; animation-delay: 0.66s !important; }
.abertura__o { --dx: -90px; --dy: 0; animation-delay: 0.94s !important; }
@keyframes ponta { 0% { opacity: 0; translate: var(--dx) var(--dy); scale: 1.25; } 70% { opacity: 1; translate: 0 0; scale: 1.06; } 100% { opacity: 1; translate: 0 0; scale: 1; } }
.abertura__norte { fill: var(--acento); opacity: 0; transform-origin: 50px 4px; animation: norte 0.5s 2.55s ease both; }
@keyframes norte { from { opacity: 0; scale: 0.2; } to { opacity: 1; scale: 1; } }
.abertura__anel {
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1;
  transform-origin: 50px 50px; rotate: -90deg; animation: anel 0.9s 1.55s var(--lento) forwards;
}
@keyframes anel { to { stroke-dashoffset: 0; } }
.abertura__nome {
  margin: 0; text-align: center; font: 400 1.5rem/1.1 var(--serifa); color: var(--sobre-escuro);
  animation: nome 0.8s 2.1s ease both;
}
.abertura__nome span { display: block; margin-top: 8px; font: 600 0.66rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--acento); }
@keyframes nome { from { opacity: 0; translate: 0 8px; letter-spacing: 0.08em; } }
.abertura__frase {
  margin: 6px 0 0; padding: 0 24px; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.3em;
  font: 400 clamp(1.35rem, 5vw, 2rem)/1.2 var(--serifa); color: var(--acento);
}
.abertura__frase span { opacity: 0; translate: 0 12px; animation: palavra-ab 0.7s var(--lento) forwards; }
.abertura__frase span:nth-child(1) { animation-delay: 2.4s; }
.abertura__frase span:nth-child(2) { animation-delay: 2.6s; }
.abertura__frase span:nth-child(3) { animation-delay: 2.8s; }
.abertura__frase span:nth-child(4) { animation-delay: 3s; }
@keyframes palavra-ab { to { opacity: 1; translate: 0 0; } }

/* Revela: o fundo some e a foto do hero abre num círculo a partir da agulha */
.abrindo--revela .abertura { background: transparent; }
.abrindo--revela .abertura__pular { opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.abrindo--revela .abertura__marca, .abrindo--revela .abertura__nome, .abrindo--revela .abertura__frase { animation: some 0.5s ease forwards; }
.abrindo--revela .abertura__frase span { animation: some 0.35s ease forwards; }
@keyframes some { to { opacity: 0; scale: 1.12; } }
.abrindo .hero__foto { clip-path: circle(0 at 50% 42%); }
.abrindo--revela .hero__foto { animation: janela 1.3s var(--lento) forwards; }
@keyframes janela { from { clip-path: circle(66px at 50% 42%); } to { clip-path: circle(125% at 50% 42%); } }
.abrindo .hero__texto, .abrindo .topo, .abrindo .flutuante { opacity: 0; }
.abrindo--revela .hero__texto, .abrindo--revela .topo, .abrindo--revela .flutuante { opacity: 1; transition: opacity 0.6s 0.4s ease; }
@media (min-width: 768px) {
  .abrindo .hero__foto { clip-path: circle(0 at 50% 45%); }
  @keyframes janela { from { clip-path: circle(66px at 50% 45%); } to { clip-path: circle(125% at 50% 45%); } }
}
@media (max-width: 767px) {
  .abrindo .hero__foto { clip-path: circle(0 at 50% 48%); }
  @keyframes janela { from { clip-path: circle(66px at 50% 48%); } to { clip-path: circle(125% at 50% 48%); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .abertura, .abertura__pular { display: none !important; }
  .abrindo .hero__foto { clip-path: none; }
  .abrindo .hero__texto, .abrindo .topo, .abrindo .flutuante { opacity: 1; }
  .hero .palavra > span { translate: 0 0; opacity: 1; }
  .hero__foto img { transform: none; }
  .paralaxe img { transform: none; }
  .com-revela .janela { clip-path: none; }
  .marca-dagua { rotate: 0deg; }
  .passos::after { transform: none; }
}
