/* =====================================================================
   João Rezende Advocacia · site
   Tema escuro e dourado · tecnológico, discreto e elegante
   ===================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(fontes/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url(fontes/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(fontes/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-style: normal; font-display: swap; src: url(fontes/cormorant-garamond-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(fontes/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url(fontes/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(fontes/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(fontes/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(fontes/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --f0: #06070a;
  --f1: #090b10;
  --f2: #0d1017;
  --f3: #131722;
  --ouro: #d2b06a;
  --ouro-hi: #f1dda4;
  --ouro-lo: #9d7b34;
  --ouro-rgb: 210, 176, 106;
  --t1: #f3efe6;
  --t2: #b9bdc8;
  --t3: #858b99;
  --t4: #5d6372;
  --fio: rgba(241, 221, 164, .09);
  --fio-2: rgba(241, 221, 164, .16);
  --fio-3: rgba(241, 221, 164, .28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --raio: 18px;
  --caixa: 1200px;
  --suave: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--f0); }
body { margin: 0; background: var(--f0); color: var(--t2); font: 400 16px/1.72 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { /* grão fino: tira o aspecto chapado do preto */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .rodape { position: relative; z-index: 1; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: rgba(var(--ouro-rgb), .28); color: var(--t1); }
h1, h2, h3, h4 { margin: 0; color: var(--t1); font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 500; background: linear-gradient(120deg, var(--ouro-hi), var(--ouro) 55%, var(--ouro-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b, strong { color: var(--t1); font-weight: 600; }
.ic { width: 20px; height: 20px; flex: 0 0 auto; }
.mono { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--t3); }
:focus-visible { outline: 1.5px solid var(--ouro); outline-offset: 3px; border-radius: 6px; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ouro); color: var(--f0); font-weight: 600; border-radius: 10px; text-decoration: none; }
.pular:focus { top: 12px; }
.caixa { width: 100%; max-width: var(--caixa); margin: 0 auto; padding: 0 28px; }

/* ---------- botões ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 500 14px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .35s var(--suave), box-shadow .35s var(--suave), background .35s var(--suave), border-color .35s var(--suave), color .35s var(--suave); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn-ouro { color: #16110a; background: linear-gradient(135deg, var(--ouro-hi), var(--ouro) 48%, var(--ouro-lo)); box-shadow: 0 0 0 1px rgba(var(--ouro-rgb), .35), 0 12px 32px -12px rgba(var(--ouro-rgb), .55); }
.btn-ouro:hover { box-shadow: 0 0 0 1px rgba(var(--ouro-rgb), .6), 0 16px 40px -12px rgba(var(--ouro-rgb), .7); }
.btn-ouro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .5) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.btn-ouro:hover::after { animation: brilho 1s var(--suave); }
@keyframes brilho { to { transform: translateX(120%); } }
.btn-vidro { color: var(--t1); background: rgba(255, 255, 255, .03); border-color: var(--fio-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-vidro:hover { border-color: var(--fio-3); background: rgba(255, 255, 255, .06); }
.btn-vidro .ic { transition: transform .35s var(--suave); }
.btn-vidro:hover .ic { transform: translateX(3px); }
.btn-contorno { color: var(--ouro-hi); border-color: rgba(var(--ouro-rgb), .4); background: rgba(var(--ouro-rgb), .05); }
.btn-contorno:hover { border-color: rgba(var(--ouro-rgb), .75); background: rgba(var(--ouro-rgb), .1); }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease; }
.topo.solido { background: rgba(6, 7, 10, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--fio); }
.topo-in { position: relative; max-width: var(--caixa); margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; gap: 32px; transition: padding .4s ease; }
.topo.solido .topo-in { padding-top: 12px; padding-bottom: 12px; }
.progresso { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--ouro-lo), var(--ouro-hi)); box-shadow: 0 0 8px rgba(var(--ouro-rgb), .8); opacity: 0; transition: opacity .4s ease; }
.topo.solido .progresso { opacity: .9; }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marca img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 0 1px var(--fio-2); }
.marca span { display: flex; flex-direction: column; line-height: 1; }
.marca strong { font: 500 20px/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; color: var(--ouro-hi); }
.marca small { margin-top: 6px; font: 500 9.5px/1 var(--mono); letter-spacing: .5em; text-transform: uppercase; color: var(--t3); }
.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a { position: relative; padding: 8px 14px; border-radius: 999px; color: var(--t2); text-decoration: none; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; transition: color .3s ease, background .3s ease; }
.menu a:hover { color: var(--t1); background: rgba(255, 255, 255, .04); }
.menu a.ativo { color: var(--ouro-hi); }
.menu a.ativo::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 10px var(--ouro); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--fio-2); border-radius: 12px; background: rgba(255, 255, 255, .02); cursor: pointer; padding: 0; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ouro-hi); border-radius: 2px; transition: transform .35s var(--suave), top .35s var(--suave); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.topo.aberto .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.topo.aberto .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- herói ---------- */
.heroi { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 150px 0 0; background:
  radial-gradient(1100px 620px at 76% 22%, rgba(var(--ouro-rgb), .13), transparent 62%),
  radial-gradient(800px 520px at 6% 88%, rgba(var(--ouro-rgb), .06), transparent 60%),
  linear-gradient(180deg, #06070a 0%, #0a0c12 60%, #06070a 100%); }
.rede { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.grade { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(241, 221, 164, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(241, 221, 164, .04) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 62% 30%, #000 10%, transparent 75%); }
.heroi::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(var(--ouro-rgb), .55), transparent); animation: varre 10s linear infinite; }
@keyframes varre { 0% { transform: translateY(90px); opacity: 0; } 8% { opacity: .45; } 80% { opacity: .3; } 100% { transform: translateY(92vh); opacity: 0; } }
.heroi-hex { position: absolute; right: -140px; top: 60px; width: 760px; height: 760px; fill: none; stroke: rgba(241, 221, 164, .09); stroke-width: .28; animation: gira 160s linear infinite; pointer-events: none; }
@keyframes gira { to { transform: rotate(360deg); } }
.heroi-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(320px, .78fr); gap: 64px; align-items: center; }
.rotulo { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; font: 500 11px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ouro); }
.rotulo i { width: 7px; height: 7px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 0 4px rgba(var(--ouro-rgb), .12), 0 0 14px rgba(var(--ouro-rgb), .8); animation: pulsa 3.2s ease-in-out infinite; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 7px rgba(var(--ouro-rgb), .05), 0 0 20px rgba(var(--ouro-rgb), .9); } }
.rotulo .mono { color: var(--t4); font-size: 11px; letter-spacing: .16em; }
.rotulo.centro { justify-content: center; }
.heroi h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -.02em; line-height: 1.02; }
.heroi h1 .palavra { display: inline-block; opacity: 0; transform: translateY(.35em); filter: blur(8px); animation: surge 1.1s var(--suave) forwards; animation-delay: calc(.12s + var(--i) * .07s); }
@keyframes surge { to { opacity: 1; transform: none; filter: none; } }
.heroi .entra { opacity: 0; transform: translateY(14px); animation: surge 1s var(--suave) forwards; animation-delay: var(--d, .6s); }
.heroi-sub { margin: 28px 0 38px; max-width: 610px; font-size: 18px; line-height: 1.7; color: var(--t2); }
.heroi-acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.selos { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.selos li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--fio); background: rgba(255, 255, 255, .02); font-size: 12.5px; color: var(--t2); }
.selos b { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ouro); }

/* credencial com contorno que gira devagar */
.credencial { position: relative; border-radius: 26px; padding: 1px; background: linear-gradient(160deg, rgba(var(--ouro-rgb), .5), rgba(var(--ouro-rgb), .06) 38%, rgba(var(--ouro-rgb), .04) 62%, rgba(var(--ouro-rgb), .38)); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(var(--ouro-rgb), .25); isolation: isolate; transform-style: preserve-3d; transition: transform .6s var(--suave); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@supports (background: conic-gradient(from 1deg, red, blue)) {
  .credencial { background: conic-gradient(from var(--a), rgba(var(--ouro-rgb), .06), rgba(var(--ouro-rgb), .6) 12%, rgba(var(--ouro-rgb), .06) 28%, rgba(var(--ouro-rgb), .06) 62%, rgba(var(--ouro-rgb), .4) 76%, rgba(var(--ouro-rgb), .06) 92%); animation: contorno 14s linear infinite; }
}
@keyframes contorno { to { --a: 360deg; } }
.credencial-in { position: relative; overflow: hidden; border-radius: 25px; padding: 30px; background: linear-gradient(180deg, rgba(19, 23, 34, .95), rgba(9, 11, 16, .97)); }
.credencial-in::after { /* varredura sutil de leitura */
  content: ""; position: absolute; left: 0; right: 0; height: 90px; top: -90px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(var(--ouro-rgb), .07), transparent);
  animation: leitura 7s var(--suave) infinite; animation-delay: 1.6s;
}
@keyframes leitura { 0% { top: -90px; } 55%, 100% { top: 110%; } }
.cred-topo { display: flex; gap: 18px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--fio); }
.cred-selo { padding: 1px; border-radius: 15px; background: linear-gradient(140deg, var(--ouro-hi), var(--ouro-lo)); box-shadow: 0 0 24px -6px rgba(var(--ouro-rgb), .6); }
.cred-selo img { width: 52px; height: 52px; border-radius: 14px; }
.cred-nome { margin-top: 8px; font: 500 25px/1.1 var(--serif); color: var(--t1); }
.cred-oab { margin-top: 6px; font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--ouro); }
.cred-lista { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 4px; }
.cred-lista li { display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 12px; font-size: 15px; color: var(--t1); transition: background .3s ease; }
.cred-lista li:hover { background: rgba(var(--ouro-rgb), .06); }
.cred-lista .mono { color: var(--ouro); font-size: 10.5px; }
.cred-pe { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 20px; border-top: 1px solid var(--fio); font-size: 12.5px; color: var(--t3); }
.cred-pe span { display: inline-flex; align-items: center; gap: 8px; }
.cred-pe .ic { width: 15px; height: 15px; color: var(--ouro); }

.faixa { position: relative; z-index: 2; margin-top: 90px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--fio); }
.faixa > div { position: relative; padding: 26px 24px 34px 0; display: flex; flex-direction: column; gap: 4px; }
.faixa > div + div { padding-left: 24px; border-left: 1px solid var(--fio); }
.faixa > div::before { content: ""; position: absolute; top: -1px; left: 0; width: 42px; height: 1px; background: var(--ouro); box-shadow: 0 0 12px var(--ouro); transition: width .6s var(--suave); }
.faixa > div + div::before { left: 24px; }
.faixa > div:hover::before { width: 88px; }
.faixa .mono { color: var(--t4); margin-bottom: 8px; }
.faixa b { font: 500 21px/1.15 var(--serif); color: var(--t1); }
.faixa small { font-size: 13px; color: var(--t3); }
.rolar { position: absolute; left: 50%; bottom: 150px; z-index: 2; width: 22px; height: 36px; margin-left: -11px; border-radius: 12px; border: 1px solid var(--fio-2); display: none; }
.rolar::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: var(--ouro); animation: rolar 2.2s ease-in-out infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- seções ---------- */
.secao { position: relative; padding: 130px 0; background: var(--f0); }
.secao-alt { background: linear-gradient(180deg, var(--f1), var(--f2) 50%, var(--f1)); }
.secao + .secao::before, .rodape::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1200px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(var(--ouro-rgb), .28), transparent); }
.secao h2 { font-size: clamp(36px, 4.4vw, 56px); }
.cabeca { max-width: 740px; margin: 0 auto 64px; text-align: center; }
.cabeca > p:last-child { margin-top: 20px; color: var(--t3); font-size: 17px; }
.cabeca.esq { text-align: left; margin: 0; }
.duas { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 80px; align-items: start; }
.duas h2 { margin-bottom: 30px; }
.texto { font-size: 17px; color: var(--t2); }
.citacao { position: relative; margin: 38px 0 0; padding: 26px 0 0 30px; border-top: 1px solid var(--fio); }
.citacao::before { content: "“"; position: absolute; left: -4px; top: 6px; font: 500 64px/1 var(--serif); color: var(--ouro); opacity: .55; }
.citacao span { display: block; font: italic 500 27px/1.3 var(--serif); color: var(--t1); }
.citacao cite { display: block; margin-top: 12px; font-style: normal; color: var(--t4); }

/* vidro com luz que segue o mouse */
.vidro { position: relative; border-radius: var(--raio); border: 1px solid var(--fio); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 24px 60px -34px rgba(0, 0, 0, .9); transition: border-color .45s var(--suave), transform .45s var(--suave), background .45s var(--suave); }
.luz { --mx: 50%; --my: 0%; }
.luz::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s ease; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--ouro-rgb), .11), transparent 42%); }
.luz:hover::before { opacity: 1; }
.luz:hover { border-color: var(--fio-2); }

.diferenciais { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.diferenciais li { padding: 26px 24px 24px; }
.diferenciais li:hover { transform: translateY(-3px); }
.diferenciais b { display: block; margin: 18px 0 6px; font: 500 22px/1.2 var(--serif); }
.diferenciais p { font-size: 14.5px; color: var(--t3); }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; color: var(--ouro-hi); background: linear-gradient(160deg, rgba(var(--ouro-rgb), .16), rgba(var(--ouro-rgb), .03)); border: 1px solid rgba(var(--ouro-rgb), .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* ---------- atuação ---------- */
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pilar { display: flex; flex-direction: column; padding: 34px 30px 22px; }
.pilar::after { content: ""; position: absolute; left: 30px; right: 30px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--ouro-rgb), .75), transparent); opacity: .7; transition: left .6s var(--suave), right .6s var(--suave), opacity .6s ease; }
.pilar:hover::after { left: 10px; right: 10px; opacity: 1; }
.pilar:hover { transform: translateY(-4px); }
.pilar-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.pilar-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: var(--ouro-hi); background: radial-gradient(circle at 30% 20%, rgba(var(--ouro-rgb), .22), rgba(var(--ouro-rgb), .04) 70%); border: 1px solid rgba(var(--ouro-rgb), .26); transition: box-shadow .5s ease; }
.pilar:hover .pilar-ic { box-shadow: 0 0 28px -6px rgba(var(--ouro-rgb), .6); }
.pilar-ic .ic { width: 26px; height: 26px; }
.pilar-topo .mono { color: var(--t4); }
.pilar h3 { font-size: 32px; }
.pilar-sub { margin: 10px 0 16px; font: 500 11px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ouro); }
.pilar > p:not(.pilar-sub) { font-size: 15px; color: var(--t3); }
.itens { margin-top: 22px; border-top: 1px solid var(--fio); }
.itens details { border-bottom: 1px solid var(--fio); }
.itens details:last-child { border-bottom: 0; }
.itens summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 0; font-size: 14.5px; font-weight: 500; color: var(--t1); transition: color .3s ease; }
.itens summary::-webkit-details-marker { display: none; }
.itens summary:hover { color: var(--ouro-hi); }
.itens summary::after { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--fio-2); background: linear-gradient(var(--ouro), var(--ouro)) center / 9px 1px no-repeat, linear-gradient(var(--ouro), var(--ouro)) center / 1px 9px no-repeat; transition: transform .35s var(--suave), background-color .35s ease; }
.itens details[open] summary::after { transform: rotate(45deg); background-color: rgba(var(--ouro-rgb), .1); }
.itens details p { padding: 0 34px 18px 0; font-size: 14.5px; color: var(--t3); animation: abre .45s var(--suave); }
@keyframes abre { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- como trabalhamos ---------- */
.linha-tempo { position: relative; list-style: none; margin: 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.linha-tempo::before { content: ""; position: absolute; left: 6px; right: 6px; top: 40px; height: 1px; background: linear-gradient(90deg, rgba(var(--ouro-rgb), .6), rgba(var(--ouro-rgb), .18) 70%, transparent); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--suave) .2s; }
.linha-tempo.visto::before { transform: scaleX(1); }
.linha-tempo::after { /* pulso que percorre a linha */
  content: ""; position: absolute; top: 38px; left: 0; width: 60px; height: 5px; border-radius: 5px; background: radial-gradient(closest-side, rgba(var(--ouro-rgb), .9), transparent); filter: blur(1px); opacity: 0; animation: percorre 6s var(--suave) infinite 2.2s;
}
@keyframes percorre { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 80% { opacity: .8; } 100% { left: calc(100% - 60px); opacity: 0; } }
.linha-tempo li { position: relative; padding-top: 34px; }
.linha-tempo .no { position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--f0); border: 1px solid var(--ouro); box-shadow: 0 0 0 5px rgba(var(--ouro-rgb), .08), 0 0 16px rgba(var(--ouro-rgb), .55); }
.linha-tempo .no::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ouro); }
.linha-tempo .mono { color: var(--ouro); }
.linha-tempo h3 { margin: 12px 0 10px; font-size: 26px; }
.linha-tempo p { font-size: 14.5px; color: var(--t3); }
.remoto { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.remoto > div { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; }
.remoto .ic { width: 24px; height: 24px; margin-top: 2px; color: var(--ouro); }
.remoto b { display: block; font-weight: 500; }
.remoto span { font-size: 13.5px; color: var(--t3); }

/* ---------- dúvidas ---------- */
.duvidas { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 80px; align-items: start; }
.duvidas .cabeca { position: sticky; top: 120px; }
.duvidas .cabeca h2 { margin-bottom: 20px; }
.duvidas .cabeca p { color: var(--t3); margin-bottom: 30px; }
.faq details { border-bottom: 1px solid var(--fio); }
.faq details:first-child { border-top: 1px solid var(--fio); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 42px minmax(0, 1fr) 16px; align-items: baseline; gap: 10px; padding: 24px 0; font: 500 22px/1.3 var(--serif); color: var(--t1); transition: color .3s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ouro-hi); }
.faq summary .mono { color: var(--t4); font-size: 11px; transition: color .3s ease; }
.faq details[open] summary .mono { color: var(--ouro); }
.faq summary::after { content: ""; width: 9px; height: 9px; justify-self: end; border-right: 1.2px solid var(--ouro); border-bottom: 1.2px solid var(--ouro); transform: translateY(-3px) rotate(45deg); transition: transform .35s var(--suave); }
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq details > div { padding: 0 26px 26px 52px; color: var(--t3); font-size: 15.5px; animation: abre .45s var(--suave); }
.faq ul { margin: 0 0 1em; padding-left: 18px; }
.faq li { margin: 4px 0; }
.faq li::marker { color: var(--ouro); }

/* ---------- contato ---------- */
.contato-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 28px; align-items: start; }
.canais { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.canal { display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-decoration: none; color: inherit; min-width: 0; }
a.canal:hover { transform: translateY(-2px); }
.canal > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.canal b { font-weight: 500; font-size: 15px; color: var(--t1); overflow-wrap: break-word; }
.canal .linhas { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.canal .linhas a { text-decoration: none; }
.canal .linhas a:hover { color: var(--ouro-hi); }
.canal .seta { width: 16px; height: 16px; color: var(--t4); transition: transform .35s var(--suave), color .35s ease; }
a.canal:hover .seta { color: var(--ouro); transform: translateX(3px); }
.canal[data-c="mapa"] { grid-column: 1 / -1; }
.form { display: grid; gap: 16px; padding: 32px; background: linear-gradient(180deg, rgba(19, 23, 34, .9), rgba(10, 12, 18, .92)); border-color: var(--fio-2); }
.form-topo { display: flex; align-items: center; justify-content: space-between; }
.form-topo .mono { color: var(--ouro); }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: #3fcf8e; box-shadow: 0 0 0 4px rgba(63, 207, 142, .12), 0 0 12px rgba(63, 207, 142, .7); animation: pulsa-verde 2.6s ease-in-out infinite; }
@keyframes pulsa-verde { 50% { box-shadow: 0 0 0 7px rgba(63, 207, 142, .04), 0 0 16px rgba(63, 207, 142, .9); } }
.form h3 { font-size: 32px; }
.form-nota { margin: -4px 0 6px; font-size: 13.5px; color: var(--t3); }
.form label { display: grid; gap: 8px; font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--t3); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--fio-2); background-color: rgba(6, 7, 10, .65); font: 400 15px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--t1); transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease; -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--ouro) 50%), linear-gradient(135deg, var(--ouro) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form select option { background: var(--f2); color: var(--t1); }
.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: var(--t4); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(var(--ouro-rgb), .6); background-color: rgba(6, 7, 10, .85); box-shadow: 0 0 0 4px rgba(var(--ouro-rgb), .1); }
.form .erro { border-color: #d0605a; box-shadow: 0 0 0 4px rgba(208, 96, 90, .12); }
.form .btn { margin-top: 6px; width: 100%; }

/* ---------- rodapé ---------- */
.rodape { background: #050608; color: var(--t3); padding: 80px 0 30px; font-size: 14px; }
.rodape-grade { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--fio); }
.rodape-grade p { margin-top: 20px; max-width: 420px; }
.rodape h4 { margin-bottom: 16px; color: var(--ouro); }
.rodape-grade > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.rodape a { text-decoration: none; transition: color .3s ease; }
.rodape a:hover { color: var(--ouro-hi); }
.rodape-fim { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 12.5px; color: var(--t4); }
.rodape-fim > span:last-child { display: inline-flex; align-items: center; gap: 12px; }
.rodape-fim i { width: 3px; height: 3px; border-radius: 50%; background: var(--t4); }

.whats-flutuante { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--ouro-hi); background: rgba(13, 16, 23, .82); border: 1px solid rgba(var(--ouro-rgb), .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .9), 0 0 24px -8px rgba(var(--ouro-rgb), .5); transition: transform .35s var(--suave), border-color .35s ease, opacity .35s ease; opacity: 0; transform: translateY(12px); pointer-events: none; }
.whats-flutuante.visivel { opacity: 1; transform: none; pointer-events: auto; }
.whats-flutuante .ic { width: 26px; height: 26px; }
.whats-flutuante:hover { border-color: var(--ouro); transform: translateY(-2px); }

/* ---------- aparecer ao rolar ---------- */
.revela { opacity: 0; transform: translateY(22px); filter: blur(4px); transition: opacity .9s var(--suave), transform .9s var(--suave), filter .9s var(--suave); transition-delay: var(--atraso, 0s); }
.revela.visto { opacity: 1; transform: none; filter: none; }

/* ---------- telas menores ---------- */
@media (min-width: 1121px) and (min-height: 860px) { .rolar { display: block; } }
@media (max-width: 1120px) {
  .heroi-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .credencial { max-width: 540px; }
  .pilares { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
  .linha-tempo { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .linha-tempo::before, .linha-tempo::after { display: none; }
  .duas, .duvidas, .contato-grade { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .duvidas .cabeca { position: static; }
  .rodape-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .rodape-grade > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1080px) {
  .menu { position: fixed; inset: 0 0 auto; top: 0; padding: 92px 24px 26px; flex-direction: column; gap: 2px; background: rgba(6, 7, 10, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--fio); transform: translateY(-105%); transition: transform .5s var(--suave); z-index: -1; }
  .menu a { padding: 16px 4px; border-radius: 0; font: 500 26px/1.1 var(--serif); color: var(--t1); border-bottom: 1px solid var(--fio); }
  .menu a.ativo::after { display: none; }
  .topo.aberto .menu { transform: none; }
  .menu-btn { display: block; }
  .topo-cta { display: none; }
  .faixa { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 70px; }
  .faixa > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .faixa > div:nth-child(3)::before { left: 0; }
  .faixa > div:nth-child(n+3) { border-top: 1px solid var(--fio); }
  .remoto, .canais, .diferenciais { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .caixa, .topo-in { padding-left: 18px; padding-right: 18px; }
  .heroi { padding-top: 120px; }
  .heroi-hex { width: 480px; height: 480px; right: -220px; top: 90px; }
  .heroi-sub { font-size: 16.5px; }
  .heroi-acoes .btn { width: 100%; }
  .selos { margin-top: 32px; }
  .credencial-in { padding: 24px; }
  .secao { padding: 90px 0; }
  .linha-tempo { grid-template-columns: minmax(0, 1fr); }
  .pilar { padding: 28px 22px 18px; }
  .pilar h3 { font-size: 29px; }
  .faq summary { grid-template-columns: 34px minmax(0, 1fr) 14px; font-size: 19.5px; }
  .faq details > div { padding-left: 44px; padding-right: 0; }
  .form { padding: 24px; }
  .rodape-grade { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .marca strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela, .heroi h1 .palavra, .heroi .entra { opacity: 1 !important; transform: none !important; filter: none !important; }
  .rede { display: none; }
}
@media print {
  .topo, .whats-flutuante, .form, .rede, .grade, .heroi-hex { display: none !important; }
  body, .secao, .secao-alt, .heroi, .rodape { background: #fff !important; color: #111 !important; }
  h1, h2, h3, b { color: #000 !important; }
}

/* logo oficial do escritório */
.marca img.marca-logo { width: auto; height: 42px; border-radius: 0; box-shadow: none; }
.cred-selo img { object-fit: contain; padding: 8px; background: var(--f2); }
@media (max-width: 520px) { .marca img.marca-logo { height: 34px; } }

/* ---------- fundo do topo com a foto do advogado ---------- */
.heroi-foto { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.heroi::after { display: none; }
.heroi-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.heroi-foto::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 7, 10, 0) 30%, rgba(6, 7, 10, .45) 52%, rgba(6, 7, 10, .78) 78%, rgba(6, 7, 10, .85)),
              linear-gradient(180deg, rgba(6, 7, 10, .55) 0, rgba(6, 7, 10, 0) 22%, rgba(6, 7, 10, 0) 62%, var(--f0) 100%); }
.heroi-in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.heroi-texto { grid-column: 2; }
.heroi h1 { font-size: clamp(40px, 4.9vw, 70px); }
.heroi-sub { color: #d3d6de; }
@media (max-width: 1120px) {
  .heroi { padding-top: min(64vh, 600px); }
  .heroi-in { grid-template-columns: minmax(0, 1fr); }
  .heroi-foto { bottom: auto; height: min(84vh, 780px); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
  .heroi-foto img { object-position: 22% 15%; }
  .heroi-foto::after { background: linear-gradient(180deg, rgba(6, 7, 10, .5) 0, rgba(6, 7, 10, 0) 18%, rgba(6, 7, 10, 0) 45%, rgba(6, 7, 10, .7) 80%); }
  .heroi-texto { grid-column: 1; }
}
@media (max-width: 760px) {
  .heroi { padding-top: min(88vw, 520px); }
  .heroi-foto { height: min(118vw, 700px); }
  .heroi-foto img { object-position: center top; }
}
