/* Isquierdo Dahlem · versão 2 do site institucional (12/11/2026)
   Referências: Henley & Partners (barra de utilidades, hero com painel sólido, jornada em acordeão,
   índice de frentes, rodapé-mapa, contato flutuante) e Amorim Global (menu por área, cartões que
   empilham na rolagem, soluções por abas). Só tokens de tokens.css; fundo branco; Limão só como sinal. */

/* ---------- cabeçalho institucional: barra de utilidades + barra principal fixa */
.hx-util { background: var(--panel); color: var(--on-2); font-size: 12.5px; }
.hx-util-in { display: flex; align-items: center; gap: 22px; height: 36px; }
.hx-loc { margin-right: auto; color: var(--on-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-util a { color: var(--on-2); white-space: nowrap; transition: color .2s; }
.hx-util a:hover { color: #fff; }
.hx-busca { display: inline-flex; align-items: center; gap: 8px; color: var(--on-2); font-size: 12.5px; }
.hx-busca:hover { color: #fff; }
.hx-busca svg { width: 13px; height: 13px; }
.hx-busca kbd { font-family: var(--mono); font-size: 10.5px; padding: 1px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--on-line); color: var(--on-3); }

.hx { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hx.sombra { box-shadow: 0 10px 30px -24px rgba(0, 54, 60, .45); }
.hx-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.hx .logo img { height: 30px; width: auto; display: block; }
.hx nav { margin-left: auto; }
.hx-nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hx-a { display: inline-flex; align-items: center; gap: 6px; height: 72px; padding: 0 12px; font-size: 14px; color: var(--ink-2); position: relative; transition: color .2s; }
.hx-a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--ink-4); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.hx-a:hover, .hx-a[aria-current="page"], .hx-mm.on .hx-a { color: var(--ink); }
.hx-a:hover::after, .hx-a[aria-current="page"]::after, .hx-mm.on .hx-a::after { transform: scaleX(1); }
.hx-a .chev { width: 11px; height: 11px; transition: transform .3s var(--ease-out); }
.hx-mm.on .chev { transform: rotate(180deg); }
.hx-r { display: flex; align-items: center; gap: 8px; }
.hx-r .btn { height: 40px; }
.hx-busca-m { display: none; width: 38px; height: 38px; border-radius: 6px; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.hx-busca-m svg { width: 16px; height: 16px; }
.hx .menu-b { border-radius: 6px; width: 38px; height: 38px; }

/* menu por área (mega) */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 40px 60px -40px rgba(0, 54, 60, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .3s; }
.hx-mm.on .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease-out); }
.mega-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-top: 40px; padding-bottom: 44px; }
.mega-l { display: grid; gap: 14px; align-content: start; padding-right: 24px; border-right: 1px solid var(--line); }
.mega-sub { font-size: 13px; color: var(--ink-3); }
.mega-l h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; color: var(--ink-4); }
.mega-l p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.mega-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 8px; }
.mega-r { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.mega-r a { display: grid; gap: 4px; padding: 16px 0 16px 14px; border-bottom: 1px solid var(--line); box-shadow: inset 0 0 0 0 var(--ink-4); transition: box-shadow .3s, background-color .3s; }
.mega-r a:hover { box-shadow: inset 2px 0 0 var(--ink-4); background: linear-gradient(90deg, var(--paper-3), transparent 85%); }
.mega-r b { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; color: var(--ink-4); }
.mega-r small { font-size: 13px; line-height: 1.5; color: var(--ink-3); }

/* páginas internas: o cabeçalho agora ocupa espaço (não sobrepõe) */
.page-h { padding-top: 88px; }
.reader { padding-top: 56px; }
.perfil-hero { padding-top: 72px; }
.vaga-hero { padding-top: 72px; }
.hero-l { padding-top: 64px; }
.hero { min-height: min(calc(100svh - 108px), 760px); }
.menu { z-index: 70; padding-top: 120px; }

/* botões */
.btn-lime { background: var(--limao); color: var(--panel); }
.btn-lime:hover { background: #ecff9a; }
.btn-line-on { color: var(--on); box-shadow: inset 0 0 0 1px rgba(247, 246, 245, .4); background: transparent; }
.btn-line-on:hover { background: rgba(247, 246, 245, .08); }
.lnk-on { color: var(--on); border-color: rgba(247, 246, 245, .3); }
.lnk-on:hover { border-color: var(--on); }
.sinal { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--limao); box-shadow: 0 0 0 4px rgba(225, 255, 93, .14); }

/* ---------- home: hero com foto em tela cheia e painel sólido (Henley) */
.hv { position: relative; min-height: min(calc(100svh - 108px), 800px); display: grid; align-items: center; overflow: hidden; background: var(--paper-3); }
.hv > .photo { position: absolute; inset: 0 34% 0 0; background: var(--panel); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.hv > .photo img { object-position: 50% 50%; transform: scale(1.06); transition: transform 2.6s var(--ease-out); }
.ready .hv > .photo img { transform: scale(1); }
.hv-in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); padding-top: 48px; padding-bottom: 48px; }
.hv-panel { grid-column: 2; background: var(--ink-4); color: var(--on); padding: 56px 56px 52px; display: grid; gap: 22px; clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%, 0 64px); opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) .2s, transform 1.2s var(--ease-out) .2s; }
.ready .hv-panel { opacity: 1; transform: none; }
.hv-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--on-2); }
.hv h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 62px); line-height: .98; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hv h1 span { color: rgba(247, 246, 245, .58); }
.hv-panel p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on-2); max-width: 44ch; }
.hv-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hv-legenda { position: absolute; z-index: 2; left: max(var(--g), calc((100vw - var(--wrap)) / 2 + var(--g))); bottom: 28px; font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* faixa de normas, versão escura sob o hero */
.leis { background: var(--panel); color: var(--on-2); border-top: 1px solid var(--on-line); }
.leis-in { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.leis-in::-webkit-scrollbar { display: none; }
.leis-in span { flex: 1 0 auto; padding: 20px 26px; border-right: 1px solid var(--on-line); font-family: var(--serif); font-size: 19px; color: var(--on); white-space: nowrap; }
.leis-in span:first-child { padding-left: 0; }
.leis-in small { display: block; font-family: var(--sans); font-size: 12px; color: var(--on-3); margin-top: 2px; }

/* o escritório (Henley "the firm"): foto com diagonal + texto + números reais */
.firma { padding: 128px 0; }
.firma-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.firma-ph { aspect-ratio: 4 / 5; clip-path: polygon(0 0, 100% 0, 100% 100%, 14% 100%); }
.firma-t { display: grid; gap: 22px; }
.firma-t .p { max-width: 54ch; font-size: 16.5px; color: var(--ink-2); }
.nums2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid var(--line-2); }
.nums2 div { padding: 22px 16px 0 0; display: grid; gap: 6px; }
.nums2 div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.nums2 b { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 58px); line-height: .9; letter-spacing: -.03em; color: var(--ink); }
.nums2 span { font-size: 13px; line-height: 1.45; color: var(--ink-3); }

/* ---------- áreas em cartões que empilham na rolagem (Amorim) */
.pilha-sec { padding: 40px 0 128px; }
.pilha-h { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; margin-bottom: 48px; }
.pilha { display: grid; gap: 28px; }
.pc { position: sticky; top: calc(96px + var(--i, 0) * 22px); min-height: 560px; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); box-shadow: 0 -30px 60px -40px rgba(0, 0, 0, .4); }
.pc-t { padding: 52px 56px; display: grid; gap: 18px; align-content: start; }
.pc-k { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.pc h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.6vw, 54px); line-height: .96; letter-spacing: -.02em; }
.pc h3 span { display: block; }
.pc-t > p { margin: 0; font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.pc-fr { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.pc-fr a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; font-size: 14.5px; border-bottom: 1px solid; transition: padding .3s var(--ease-out); }
.pc-fr a:hover { padding-left: 6px; }
.pc-fr svg { width: 14px; height: 14px; flex: none; opacity: .6; }
.pc-cta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 14px; }
.pc .photo { clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); min-height: 100%; }
.pc-escuro { background: var(--panel); color: var(--on); }
.pc-escuro .pc-k, .pc-escuro .pc-t > p { color: var(--on-2); }
.pc-escuro h3 span { color: var(--on-3); }
.pc-escuro .pc-fr a { border-color: var(--on-line); color: var(--on); }
.pc-petroleo { background: var(--ink-4); color: var(--on); }
.pc-petroleo .pc-k, .pc-petroleo .pc-t > p { color: rgba(247, 246, 245, .72); }
.pc-petroleo h3 span { color: rgba(247, 246, 245, .5); }
.pc-petroleo .pc-fr a { border-color: rgba(247, 246, 245, .16); color: var(--on); }
.pc-claro { background: var(--paper-3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), 0 -30px 60px -40px rgba(0, 0, 0, .25); }
.pc-claro h3 { color: var(--ink-4); }
.pc-claro h3 span { color: var(--ink-3); }
.pc-claro .pc-k, .pc-claro .pc-t > p { color: var(--ink-3); }
.pc-claro .pc-fr a { border-color: var(--line); color: var(--ink); }

/* ---------- soluções por abas (Amorim) */
.sol { padding: 128px 0; background: var(--paper-3); border-top: 1px solid var(--line); }
.sol-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 32px; }
.sol-tabs button { height: 40px; padding: 0 16px; border-radius: 6px; font-size: 14px; color: var(--ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.sol-tabs button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.sol-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.sol-p { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sol-p[hidden] { display: none; }
.sol-c { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px 22px 22px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); min-height: 250px; transition: box-shadow .3s, transform .4s var(--ease-out); }
.sol-c:hover { box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 50px -36px rgba(0, 54, 60, .45); transform: translateY(-3px); }
.sol-i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-3); color: var(--ink-4); }
.sol-i svg { width: 20px; height: 20px; }
.sol-c h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.08; color: var(--ink-4); }
.sol-c p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
.sol-c .lnk { justify-self: start; }
.sol-c-dest { background: var(--ink-4); box-shadow: none; }
.sol-c-dest h3 { color: #fff; }
.sol-c-dest p { color: rgba(247, 246, 245, .72); }
.sol-c-dest .sol-i { background: rgba(255, 255, 255, .1); color: var(--limao); }
.sol-c-dest .lnk { color: #fff; border-color: rgba(247, 246, 245, .35); }

/* ---------- jornada em acordeão ao lado da foto (Henley) */
.jv { padding: 128px 0; }
.jv-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.jv-ph { position: sticky; top: 120px; aspect-ratio: 4 / 5; clip-path: polygon(0 0, 86% 0, 100% 100%, 0 100%); }
.jv-l { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-2); counter-reset: j; }
.jv-l details { border-bottom: 1px solid var(--line); }
.jv-l summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 22px; gap: 12px; align-items: baseline; padding: 24px 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; color: var(--ink-4); }
.jv-l summary::-webkit-details-marker { display: none; }
.jv-l summary kbd { font-family: var(--serif); font-size: 22px; color: var(--ink-3); }
.jv-l summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 24px; color: var(--ink-3); justify-self: end; transition: transform .3s var(--ease-out); }
.jv-l details[open] summary::after { transform: rotate(45deg); }
.jv-l details p { margin: -8px 0 24px 56px; font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 52ch; }

/* ---------- índice de frentes (Henley "programas") */
.idx { padding: 128px 0; border-top: 1px solid var(--line); }
.idx-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 48px; }
.idx-col h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--ink-4); display: flex; align-items: baseline; gap: 12px; }
.idx-col h3 small { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.idx-col ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line-2); }
.idx-col li a { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); height: 100%; }
.idx-col li b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.1; color: var(--ink-4); }
.idx-col li small { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.idx-col li span { font-size: 13px; color: var(--ink-4); display: inline-flex; align-items: center; gap: 6px; }
.idx-col li span svg { width: 13px; height: 13px; transition: transform .3s var(--ease-out); }
.idx-col li a:hover span svg { transform: translateX(4px); }

/* ---------- publicações em destaque (Henley "news") */
.novas { padding: 128px 0; border-top: 1px solid var(--line); }
.news-g { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; margin-top: 44px; }
.news-dest { display: grid; gap: 16px; align-content: start; }
.news-dest .photo { aspect-ratio: 16 / 10; border-radius: 4px; }
.news-dest h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: var(--ink-4); }
.news-dest p, .news-l p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.news-data { font-size: 12.5px; color: var(--ink-3); }
.news-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.news-l a { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-l h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.12; color: var(--ink-4); transition: color .2s; }
.news-l a:hover h3, .news-dest:hover h3 { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---------- pré-rodapé e rodapé-mapa (Henley) */
.pre-foot { background: var(--ink-4); color: var(--on); padding: 88px 0; }
.pre-foot-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.pre-foot h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.6vw, 52px); line-height: 1; letter-spacing: -.015em; max-width: 18ch; }
.pre-foot h2 span { color: rgba(247, 246, 245, .55); }
.pre-foot-cta { display: grid; gap: 18px; justify-items: start; }
.rx { display: block; padding: 72px 0 36px; }
.rx-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; align-items: center; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--on-line); }
.rx-top p { margin: 0; max-width: 52ch; color: #8b9998; font-size: 13.5px; line-height: 1.6; }
.rx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.rx h2 { margin: 0 0 16px; font-size: 13px; font-weight: 400; color: #8b9998; }
.rx h2 a { color: var(--on); font-family: var(--serif); font-size: 19px; }
.rx .foot-legal { text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.rx .foot-legal a { text-decoration: underline; }

/* ---------- contato flutuante (Henley "request a callback") */
.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: grid; justify-items: end; gap: 10px; }
.fab-b { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--panel); color: #fff; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08); transform: translateY(80px); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s, background-color .2s; }
.fab.vis .fab-b { transform: none; opacity: 1; }
.fab-b:hover { background: #12302f; }
.fab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--limao); box-shadow: 0 0 0 0 rgba(225, 255, 93, .5); animation: pulso 2.4s infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 9px rgba(225, 255, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 255, 93, 0); } }
.fab-p { width: min(320px, calc(100vw - 32px)); background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -24px rgba(0, 54, 60, .45), inset 0 0 0 1px var(--line); display: grid; }
.fab-p[hidden] { display: none; }
.fab-t { margin: 8px 10px 6px; font-family: var(--serif); font-size: 19px; color: var(--ink-4); }
.fab-p a { display: grid; gap: 2px; padding: 12px 10px; border-radius: 10px; transition: background-color .2s; }
.fab-p a:hover { background: var(--paper-3); }
.fab-p b { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.fab-p small { font-size: 12.5px; color: var(--ink-3); }

/* ---------- busca (⌘K) */
.busca { position: fixed; inset: 0; z-index: 90; background: rgba(12, 31, 33, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; align-items: start; justify-items: center; padding: 12vh 16px 16px; }
.busca[hidden] { display: none; }
.busca-in { width: min(680px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); overflow: hidden; }
.busca-q { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.busca-q > svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.busca-q input { flex: 1; height: 60px; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); background: transparent; }
.busca-q input::-webkit-search-cancel-button { display: none; }
.busca-q button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink-3); border-radius: 6px; }
.busca-q button svg { width: 14px; height: 14px; }
.busca-r { list-style: none; margin: 0; padding: 6px; max-height: min(56vh, 520px); overflow-y: auto; }
.busca-r a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 12px; border-radius: 10px; }
.busca-r a:hover, .busca-r a.on { background: var(--paper-3); }
.busca-r b { font-weight: 500; font-size: 14.5px; color: var(--ink); }
.busca-r small { grid-column: 1; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.busca-r em { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 12px; color: var(--ink-4); padding: 3px 8px; border-radius: 6px; background: var(--paper-3); }
.busca-r .vazio { padding: 18px 12px; font-size: 14px; color: var(--ink-3); }
.busca-d { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.busca-d kbd { font-family: var(--mono); font-size: 11px; padding: 1px 5px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- responsivo */
@media (max-width: 1180px) {
  .hx-a { padding: 0 9px; font-size: 13.5px; }
  .hx-r .btn { display: none; }
}
@media (max-width: 980px) {
  .hx nav, .hx-loc, .hx-util a[href^="tel"] { display: none; }
  .hx-util-in { justify-content: flex-end; }
  .hx-busca-m, .hx .menu-b { display: grid; }
  .hx-in { height: 64px; }
  .hv-in { grid-template-columns: 1fr; padding: 0; }
  .hv-panel { grid-column: 1; padding: 36px 24px 32px; clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%, 0 40px); }
  .hv { min-height: 0; padding-top: 44vh; background: var(--panel); }
  .hv > .photo { inset: 0 0 auto 0; height: 50vh; clip-path: none; }
  .hv-legenda { top: 16px; bottom: auto; }
  .firma-in, .jv-in, .news-g, .pre-foot-in, .pilha-h { grid-template-columns: 1fr; }
  .firma-ph { aspect-ratio: 16 / 11; }
  .jv-ph { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .pc { grid-template-columns: 1fr; min-height: 0; top: calc(76px + var(--i, 0) * 14px); }
  .pc .photo { display: none; }
  .pc-t { padding: 32px 24px; }
  .sol-p { grid-template-columns: 1fr 1fr; }
  .idx-g { grid-template-columns: 1fr; gap: 48px; }
  .rx-grid { grid-template-columns: 1fr 1fr; }
  .nums2 { grid-template-columns: 1fr 1fr; }
  .nums2 div:nth-child(3) { border-left: 0; padding-left: 0; }
  .firma, .sol, .jv, .idx, .novas { padding: 88px 0; }
}
@media (max-width: 640px) {
  .hx-util a:not([href^="https://wa"]), .hx-busca kbd, .hv-legenda { display: none; }
  .pc-fr, .idx-col ul, .sol-p { grid-template-columns: 1fr; }
  .sol-c { min-height: 0; }
  .rx-grid { grid-template-columns: 1fr; }
  .fab-b { height: 44px; padding: 0 16px 0 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-panel, .fab-b { opacity: 1; transform: none; transition: none; }
  .fab-dot { animation: none; }
}


/* ---------- páginas internas (v2): topo com foto + painel, faixa de título Petróleo */
.hv-int { min-height: min(calc(100svh - 108px), 640px); }
.hv-int .hv-panel { padding: 48px 52px 46px; }
.hv-int h1 { font-size: clamp(38px, 4vw, 56px); }
.hv-panel .crumbs { color: var(--on-3); }
.hv-panel .crumbs a { color: var(--on-2); }
.hv-panel .crumbs a:hover { color: #fff; }

/* faixa de título (Pessoas, Guias, Publicações, perfis, vagas) */
.page-h, .vaga-hero { position: relative; background: var(--ink-4); color: var(--on); padding: 88px 0 80px; overflow: hidden; }
.page-h::after, .vaga-hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: url("/assets/img/fachada-pb.jpg") center / cover; filter: grayscale(1) contrast(1.05) brightness(.9); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); opacity: .9; }
.page-h .wrap, .vaga-hero .wrap { position: relative; z-index: 1; }
.page-h-in, .vaga-hero .wrap { max-width: var(--wrap); }
.page-h-in > *, .vaga-hero .wrap > * { max-width: min(760px, 58%); }
.page-h .t-hero, .vaga-hero .t-hero { color: #fff; }
.page-h .t-hero .t-gray, .page-h .t-hero span { color: rgba(247, 246, 245, .58); }
.page-h .p, .vaga-hero .perfil-lede { color: rgba(247, 246, 245, .74); max-width: 56ch; }
.page-h .crumbs, .vaga-hero .crumbs, .perfil-hero .crumbs { color: var(--on-3); }
.page-h .crumbs a, .vaga-hero .crumbs a { color: var(--on-2); }
.vaga-hero .btn-ink { background: var(--limao); color: var(--panel); }
.vaga-hero .vaga-kv dt { color: var(--on-3); font-family: var(--sans); font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.vaga-hero .vaga-kv dd { color: #fff; }
.vaga-hero .vaga-kv div { border-color: rgba(247, 246, 245, .16); }
.vaga-hero .vaga-kv { border-color: rgba(247, 246, 245, .16); }

/* perfil: faixa Petróleo atrás do nome, retrato sobreposto */
.perfil-hero { position: relative; padding-top: 72px; padding-bottom: 64px; }
.perfil-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: 100vw; height: 100%; transform: translateX(-50%); background: var(--ink-4); }
.perfil { isolation: isolate; }
.perfil-hero .t-hero { color: #fff; }
.perfil-hero .perfil-cargo { color: var(--limao); font-family: var(--sans); font-size: 14.5px; letter-spacing: 0; text-transform: none; }
.perfil-hero .perfil-lede { color: rgba(247, 246, 245, .76); }
.perfil-hero .crumbs a { color: var(--on-2); }
.perfil-hero .btn-ink { background: var(--limao); color: var(--panel); }
.perfil-hero .lnk { color: #fff; border-color: rgba(247, 246, 245, .35); }
.perfil-hero .perfil-ph { box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .6); }

@media (max-width: 980px) {
  .page-h::after, .vaga-hero::after { width: 100%; opacity: .14; clip-path: none; }
  .page-h-in > *, .vaga-hero .wrap > * { max-width: 100%; }
  .page-h, .vaga-hero { padding: 64px 0 56px; }
  .hv-int .hv-panel { padding: 32px 24px 30px; }
}


/* ---------- agenda dentro da triagem (/contato/) */
.ag-socio, .ag-ok { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: center; margin: 18px 0 6px; padding: 14px 16px; border-radius: 12px; background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line); }
.ag-ph { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.ag-ph img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); }
.ag-ph img.simb { width: 26px; height: auto; filter: none; opacity: .7; }
.ag-socio b, .ag-ok b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; color: var(--ink-4); }
.ag-socio small, .ag-ok small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.ag-meta { grid-column: 2; font-size: 12.5px; color: var(--ink-3); }
.ag { margin: 18px 0 4px; min-height: 150px; }
.ag-load { margin: 0; padding: 24px 0; font-size: 14.5px; color: var(--ink-3); }
.ag-dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.ag-d { flex: 0 0 auto; width: 64px; padding: 10px 0 9px; border-radius: 10px; display: grid; justify-items: center; gap: 1px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.ag-d small { font-size: 11.5px; color: var(--ink-3); }
.ag-d b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.05; color: var(--ink); }
.ag-d:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.ag-d.on { background: var(--ink); box-shadow: none; }
.ag-d.on small, .ag-d.on b { color: #fff; }
.ag-hs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.ag-h { height: 46px; border-radius: 8px; font-size: 15px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.ag-h:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.ag-h.on { background: var(--limao); box-shadow: inset 0 0 0 1px #c5e43c; color: var(--panel); font-weight: 500; }
.ag-demo { margin: 10px 0 0; font-size: 12px; color: #8a5d00; }
.ag-sem { background: none; cursor: pointer; }
.ag-tz { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3); }
.ag-ok { margin: 20px 0 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 40px -30px rgba(0, 54, 60, .4); }
.ag-cal { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.fx-card-socio { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.fx-card-socio:empty { display: none; }
.fx-card-socio img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; filter: var(--photo); }
@media (max-width: 640px) {
  .ag-hs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ag-meta { grid-column: 1 / -1; }
}

.fx-page { padding-top: 0; }
.fx-page .fx { min-height: calc(100svh - 108px); border-top: 0; }

.team-top .team-grid + .sec-h { margin-top: 112px; padding-top: 48px; border-top: 1px solid var(--line); }

/* ---------- time na home (referência: decade.com) */
.time { padding: 128px 0 112px; border-top: 1px solid var(--line); overflow: hidden; }
.time-h { margin: 0 auto 64px; text-align: center; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.012em; color: var(--ink-3); }
.tm-wrap { margin: 0 calc(-1 * var(--g)); }
.tm { list-style: none; margin: 0; padding: 0 var(--g) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 3 * 28px) / 4)); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; }
.tm::-webkit-scrollbar { display: none; }
.tm-c { scroll-snap-align: start; display: grid; align-content: start; gap: 4px; }
.tm-ph { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--paper-3); margin-bottom: 14px; display: grid; place-items: center; }
.tm-ph img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo); transition: transform 1.2s var(--ease-out); }
.tm-ph img.simb { width: 64px; height: auto; filter: none; opacity: .5; }
.tm-c:hover .tm-ph img:not(.simb) { transform: scale(1.03); }
.tm-c h3 { margin: 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.tm-c h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tm-cargo { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.tm-in { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 3px; background: var(--paper-4); color: var(--ink-3); }
.tm-in svg { width: 12px; height: 12px; }
.tm-in:hover { background: var(--ink); color: #fff; }
.tm-c > small { font-size: 12.5px; color: var(--ink-3); }
.tm-bio { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.tm-vaga a { display: grid; align-content: start; gap: 6px; height: 100%; }
.tm-vaga .tm-mais { aspect-ratio: 4 / 5; border-radius: 4px; display: grid; place-items: center; margin-bottom: 14px; font-family: var(--sans); font-weight: 300; font-size: 88px; line-height: 1; color: var(--ink-4); background: var(--paper-3); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, color .3s; }
.tm-vaga a:hover .tm-mais { background: var(--ink-4); color: var(--limao); }
.tm-vaga h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--ink-4); }
.tm-vaga .lnk { justify-self: start; margin-top: 8px; }
.tm-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.tm-b { width: 40px; height: 40px; border-radius: 6px; font-size: 22px; line-height: 1; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, opacity .2s; }
.tm-b:hover { background: var(--paper-3); }
.tm-b[disabled] { opacity: .3; pointer-events: none; }
@media (max-width: 980px) { .tm { grid-auto-columns: minmax(240px, 44%); } }
@media (max-width: 640px) { .tm { grid-auto-columns: 78%; gap: 18px; } .time { padding: 88px 0; } .time-h { margin-bottom: 40px; } }
