/* Humberto Teixeira Advocacia
   Base: grade do Veritas (12 colunas, margens de 2vw), cantos retos, cores sólidas.
   Títulos em Geist (sans corporativa, sem itálico), texto em Montserrat (fonte da marca). */
:root {
  --grafite: #2C3638;
  --grafite-2: #242C2E;
  --grafite-3: #36413F;
  --cobre: #A27B5A;
  --cobre-2: #8A5628;
  --creme: #DDD7C9;
  --bg: #F1F1EE;
  --bg-2: #E6E6E1;
  --ink: #1F2729;
  --ink-2: #596260;
  --line: rgba(31, 39, 41, .14);
  --line-d: rgba(221, 215, 201, .16);

  --serif: "Geist", "Montserrat", system-ui, sans-serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: max(18px, 2.08vw);
  --gap: .625rem;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { /* grão sutil, fixo, sem custo de repintura na rolagem */
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  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");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--cobre); color: #fff; }
:focus-visible { outline: 1px solid var(--cobre); outline-offset: 3px; }
.container { padding: 0 var(--pad); }

/* ---------- Tipografia ---------- */
.display { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.9vw, 46px); line-height: 1.08; letter-spacing: -.03em; max-width: 24ch; }
.display--md { font-size: clamp(26px, 2.35vw, 38px); }
.display em { font-style: normal; color: var(--cobre-2); }
[data-theme="dark"] .display em { color: var(--cobre); }
.display .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.display .w > span { display: inline-block; }

/* ---------- Botões: sólidos, retos, preenchimento que sobe ---------- */
.btn {
  --fill: var(--cobre); --fill-ink: #fff;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 50px; padding: 0 20px 0 24px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em; white-space: nowrap;
  background: var(--grafite); color: var(--creme);
  transition: color .5s var(--ease), transform .2s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill); transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:active { transform: scale(.98); }
.btn--light { background: var(--creme); color: var(--grafite); }
.btn--ghost { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1px rgba(221, 215, 201, .4); --fill: var(--creme); --fill-ink: var(--grafite); }
.btn--sm { height: 42px; padding: 0 16px 0 18px; font-size: 13px; }
.btn__arrow { position: relative; width: 14px; height: 16px; overflow: hidden; }
.btn__arrow i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; transition: transform .55s var(--ease); }
.btn__arrow i + i { transform: translateX(-120%); }
.btn--ghost .btn__arrow i + i { transform: translateY(-120%); }
@media (hover: hover) {
  .btn:hover { color: var(--fill-ink); }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__arrow i:first-child { transform: translateX(120%); }
  .btn--ghost:hover .btn__arrow i:first-child { transform: translateY(120%); }
  .btn:hover .btn__arrow i + i { transform: none; }
}

/* ---------- Transição de navegação ---------- */
.veil {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; visibility: hidden;
  background: rgba(44, 54, 56, .28);
  backdrop-filter: blur(26px) saturate(1.25); -webkit-backdrop-filter: blur(26px) saturate(1.25);
  clip-path: circle(0% at 50% 50%);
}

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); color: var(--creme); transition: background .45s var(--ease), color .45s var(--ease), transform .6s var(--ease), box-shadow .45s; }
.nav.is-solid { background: rgba(241, 241, 238, .72); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid .nav__cta { background: var(--grafite); color: var(--creme); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { width: 26px; }
.nav__name { width: 170px; aspect-ratio: 1186 / 76; background: currentColor; -webkit-mask: url(../assets/nome-castoro.svg) left center / contain no-repeat; mask: url(../assets/nome-castoro.svg) left center / contain no-repeat; opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.nav.is-solid .nav__name { opacity: 1; transform: none; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 13.5px; font-weight: 500; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
@media (hover: hover) { .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav__menu { display: none; width: 40px; height: 40px; margin-left: auto; position: relative; }
.nav__menu span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.nav__menu span:first-child { top: 16px; } .nav__menu span:last-child { top: 23px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-panel { position: fixed; inset: 0; z-index: 59; background: rgba(36, 44, 46, .86); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 var(--pad); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.menu-panel.is-open { opacity: 1; visibility: visible; }
.menu-panel a { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; color: var(--creme); font-size: 32px; }
body.menu-open .nav { background: transparent; color: var(--creme); box-shadow: none; backdrop-filter: none; }

/* ---------- Entrada ---------- */
.hero { position: relative; height: 170vh; }
.hero__stage { position: fixed; inset: 0 0 auto; z-index: 5; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: var(--grafite); color: var(--creme); }
.hero__stage.is-gone { visibility: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.55) sepia(.25) contrast(1.05) brightness(.8); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 45%, rgba(44, 54, 56, .35), rgba(44, 54, 56, .92) 100%); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__center { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__lockup { width: min(620px, 84vw); margin-top: -4vh; }
.has-3d .hero__center { visibility: hidden; }
.hero__bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: var(--pad); }
.hero__lede { max-width: 36ch; color: rgba(221, 215, 201, .82); font-size: 15px; }
.hero__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 11vw, 180px) 0 clamp(70px, 7vw, 110px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(70px, 7vw, 110px); }
.stats > div { position: relative; padding-top: 18px; }
.stats > div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.stats dt { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 4.4vw, 72px); line-height: 1; }
.stats > div:first-child dt { color: var(--cobre-2); }
.stats dd { margin-top: 12px; font-size: 13px; color: var(--ink-2); max-width: 22ch; }

/* ---------- História ---------- */
.story { position: relative; z-index: 1; background: var(--grafite); color: var(--creme); padding: clamp(110px, 11vw, 180px) 0; }
.story__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.story__aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 24px); }
.story__photo { overflow: hidden; }
.story__photo img { width: 100%; height: auto; }
.story__caption { margin-top: 14px; font-size: 13px; color: rgba(221, 215, 201, .6); }
.story__main { grid-column: 7 / span 6; }
.story__lede { margin-top: 18px; font-size: clamp(15px, 1.05vw, 17px); color: rgba(221, 215, 201, .75); max-width: 40ch; }
.chapters { position: relative; margin-top: clamp(48px, 5vw, 80px); padding-left: 36px; }
.chapters__track { position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-d); }
.chapters__fill { position: absolute; inset: 0; background: var(--cobre); transform-origin: top; transform: scaleY(0); }
.chapter { position: relative; padding-bottom: clamp(44px, 4.5vw, 72px); }
.chapter::before { content: ""; position: absolute; left: -36px; top: 5px; width: 9px; height: 9px; background: var(--grafite); box-shadow: inset 0 0 0 1px var(--cobre); }
.chapter__k { display: block; font-size: 12px; letter-spacing: .02em; font-weight: 500; color: var(--cobre); margin-bottom: 10px; }
.chapter h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(19px, 1.45vw, 23px); line-height: 1.2; }
.chapter p { margin-top: 10px; font-size: 14.5px; color: rgba(221, 215, 201, .72); max-width: 48ch; }
.story__quote { padding-top: 36px; border-top: 1px solid var(--line-d); }
.story__quote p { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; max-width: 40ch; color: rgba(221, 215, 201, .85); }

/* ---------- Cabeçalho de seção ---------- */
.head { margin-bottom: clamp(40px, 4vw, 64px); }
.head__sub { margin-top: 16px; color: var(--ink-2); max-width: 46ch; }

/* ---------- Serviços: cards empilhados ---------- */
.services { padding: clamp(100px, 10vw, 170px) 0 clamp(80px, 8vw, 130px); }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.card { position: sticky; top: calc(var(--nav-h) + 12px + var(--i) * 60px); background: var(--bg-2); transform-origin: 50% 0; }
.card:nth-child(even) { background: #DEDED8; }
.card__head { display: flex; align-items: center; gap: 28px; height: 60px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.card__num { font-size: 13px; font-weight: 500; color: var(--cobre-2); width: 20px; }
.card__head h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(17px, 1.3vw, 21px); }
.card__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 22px; }
.card__media { grid-column: 1 / span 6; position: relative; aspect-ratio: 16 / 9; max-height: 330px; width: 100%; overflow: hidden; background: var(--grafite); }
.card__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) sepia(.2) contrast(1.05) brightness(.92); transform: scale(1.02); transition: transform 1.2s var(--ease); }
@media (hover: hover) { .card:hover .card__media video { transform: scale(1.07); } }
.card__text { grid-column: 8 / span 5; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.card__text > p { font-size: clamp(14.5px, .95vw, 16px); max-width: 44ch; }
.card__list li { position: relative; padding: 11px 0; font-size: 13.5px; font-weight: 500; }
.card__list li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }

/* ---------- O advogado ---------- */
.lawyer { position: relative; z-index: 1; background: var(--bg); padding: clamp(90px, 9vw, 150px) 0; border-top: 1px solid var(--line); }
.lawyer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.lawyer__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--nav-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; }
.lawyer__role { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--cobre-2); }
.lawyer__text { margin: 14px 0 32px; color: var(--ink-2); max-width: 34ch; }
.pillars { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.pillar { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: clamp(22px, 2vw, 32px); background: var(--bg-2); isolation: isolate; overflow: hidden; transition: color .6s var(--ease); }
.pillar::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grafite); transform: translateY(101%); transition: transform .7s var(--ease); }
.pillar__n { font-size: 13px; font-weight: 500; color: var(--cobre-2); transition: color .6s var(--ease); }
.pillar h3 { margin-top: auto; padding-top: 48px; font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; font-size: clamp(20px, 1.55vw, 25px); }
.pillar p { margin-top: 10px; font-size: 14px; color: var(--ink-2); transition: color .6s var(--ease); }
@media (hover: hover) {
  .pillar:hover { color: var(--creme); }
  .pillar:hover::after { transform: none; }
  .pillar:hover .pillar__n { color: var(--cobre); }
  .pillar:hover p { color: rgba(221, 215, 201, .75); }
}

/* ---------- Método ---------- */
.method { padding: clamp(90px, 9vw, 150px) 0; }
/* Etapas: trilho clicável que avança sozinho + painel de detalhe */
.process { position: relative; }
.process__rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.process__step { width: 100%; display: flex; flex-direction: column; gap: 10px; padding: 0 8px 20px 0; text-align: left; color: var(--ink-2); transition: color .5s var(--ease); }
.process__n { font-size: 13px; font-weight: 500; color: var(--ink-2); transition: color .5s var(--ease); }
.process__t { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; font-size: clamp(15px, 1.1vw, 18px); }
.process__step[aria-selected="true"], .process__step:hover { color: var(--ink); }
.process__step[aria-selected="true"] .process__n { color: var(--cobre-2); }
.process__line { position: relative; display: block; height: 2px; background: var(--line); }
.process__line i { position: absolute; inset: 0; background: var(--cobre-2); transform-origin: left; transform: scaleX(0); }
.process__detail { position: relative; display: grid; margin-top: clamp(36px, 4vw, 60px); min-height: 260px; }
.process__panel { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; visibility: hidden; }
.process__panel.is-active { visibility: visible; }
.process__big { grid-column: 1 / span 3; font-family: var(--serif); font-weight: 500; font-size: clamp(70px, 7.5vw, 128px); line-height: .82; letter-spacing: -.06em; color: var(--cobre-2); }
.process__lead { grid-column: 4 / span 5; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
.process__mt { display: none; }
.process__list { grid-column: 9 / span 4; }
.process__list li { position: relative; padding: 12px 0; font-size: 13.5px; color: var(--ink-2); }
.process__list li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.who { margin-top: clamp(80px, 8vw, 130px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.who__title { grid-column: 1 / span 4; font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(20px, 1.6vw, 26px); }
.who__list { grid-column: 5 / span 8; }
.who__list li { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: baseline; padding: 22px 16px; isolation: isolate; transition: color .5s var(--ease); }
.who__list li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.who__list li::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grafite); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.who__list span { font-size: clamp(15px, 1.1vw, 18px); font-weight: 500; }
.who__list p { color: var(--ink-2); transition: color .5s var(--ease); }
@media (hover: hover) {
  .who__list li:hover { color: var(--creme); }
  .who__list li:hover::after { transform: scaleY(1); }
  .who__list li:hover p { color: rgba(221, 215, 201, .72); }
}

/* ---------- Valores: painéis com vídeo que se abrem ---------- */
.values { position: relative; z-index: 1; background: var(--grafite); color: var(--creme); padding: clamp(100px, 10vw, 170px) 0; }
.panels { display: flex; gap: var(--gap); height: clamp(440px, 64vh, 640px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--grafite-3); cursor: default; transition: flex-grow 1s var(--ease); }
.panel.is-active { flex-grow: 3.2; cursor: default; }
.panel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: grayscale(.6) sepia(.25) contrast(1.05) brightness(.8); transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.panel.is-active video { opacity: .7; transform: scale(1); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 44, 46, .55) 0%, rgba(36, 44, 46, 0) 35%, rgba(36, 44, 46, .88) 100%); pointer-events: none; }
.panel__tab { position: absolute; z-index: 1; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2vw, 30px); text-align: left; color: var(--creme); }
.panel.is-active .panel__tab { cursor: default; }
.panel__n { font-size: 13px; font-weight: 500; color: var(--cobre); }
.panel__t { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; font-size: clamp(22px, 2vw, 34px); line-height: 1; white-space: nowrap; }
.panel__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw, 30px); padding-bottom: calc(clamp(20px, 2vw, 30px) + 10px); opacity: 0; transform: translateY(18px); filter: blur(10px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.panel.is-active .panel__body { opacity: 1; transform: none; filter: blur(0); transition-delay: .35s; }
.panel__body p { font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.4; letter-spacing: -.015em; max-width: 30ch; }
.panel__bar { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(221, 215, 201, .12); opacity: 0; transition: opacity .4s; }
.panel.is-active .panel__bar { opacity: 1; }
.panel__bar i { position: absolute; inset: 0; background: var(--cobre); transform-origin: left; transform: scaleX(0); }
@media (hover: hover) { .panel:not(.is-active):hover video { opacity: .5; } }
.principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gap); margin-top: clamp(40px, 4vw, 64px); }
.principles li { position: relative; display: flex; gap: 12px; align-items: baseline; padding-top: 16px; font-size: 14px; font-weight: 500; }
.principles li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-d); }
.principles span { font-size: 12px; color: var(--cobre); }

/* ---------- Contato ---------- */
.contact { position: relative; overflow: hidden; background: var(--grafite); color: var(--creme); padding: clamp(110px, 11vw, 180px) 0; }
.contact__media { position: absolute; inset: 0; }
.contact__media video { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.6) sepia(.25) brightness(.8); }
.contact__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(44, 54, 56, .95) 30%, rgba(44, 54, 56, .6)); }
.contact__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: end; }
.contact__info { grid-column: 1 / span 6; }
.contact__list { margin-top: clamp(40px, 4vw, 64px); }
.contact__list > div { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; font-size: 14px; }
.contact__list > div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-d); }
.contact__list dt { color: rgba(221, 215, 201, .55); }
.contact__list dd { overflow-wrap: anywhere; }
.contact__list a { background: linear-gradient(var(--cobre), var(--cobre)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
@media (hover: hover) { .contact__list a:hover { background-size: 100% 1px; color: #fff; } }
.form {
  grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.4vw, 36px);
  background: rgba(54, 65, 63, .45); border: 1px solid rgba(221, 215, 201, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
}
.form__title { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: 22px; margin-bottom: 4px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(221, 215, 201, .78); }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(221, 215, 201, .2); background: rgba(36, 44, 46, .6); color: var(--creme); font-size: 15px; resize: vertical; transition: border-color .3s; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cobre) 50%), linear-gradient(135deg, var(--cobre) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cobre); }
.form .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Rodapé ---------- */
.footer { position: relative; z-index: 1; background: var(--grafite-2); color: rgba(221, 215, 201, .62); border-bottom: 4px solid var(--cobre-2); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 48px; }
.footer__lockup { width: 260px; height: auto; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13.5px; font-weight: 500; }
@media (hover: hover) { .footer__links a { transition: color .3s; } .footer__links a:hover { color: var(--creme); } }
.footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line-d); font-size: 12px; }

/* ---------- Responsivo ---------- */
@media (max-width: 991px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .story__aside { grid-column: 1 / -1; position: relative; top: auto; max-width: 520px; }
  .story__main { grid-column: 1 / -1; }
  .card__media { grid-column: 1 / -1; margin-bottom: 22px; }
  .card__text { grid-column: 1 / -1; }
  .process__rail { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
  .process__big { grid-column: 1 / span 3; }
  .process__lead { grid-column: 4 / -1; }
  .process__list { grid-column: 4 / -1; margin-top: 20px; }
  .principles { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .who__title, .who__list { grid-column: 1 / -1; }
  .lawyer__intro { grid-column: 1 / -1; position: relative; top: auto; }
  .pillars { grid-column: 1 / -1; }
  .who__list { margin-top: 28px; }
  .contact__info, .form { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --nav-h: 62px; }
  .card { position: relative; top: auto; }
  .card__head { padding: 0 16px; gap: 16px; }
  .card__body { padding: 16px; }
  .process__rail, .process__line { display: none; }
  .process__detail { display: block; margin-top: 0; min-height: 0; }
  .process__panel { display: block; visibility: visible; padding: 22px 0; border-top: 1px solid var(--line); }
  .process__big { display: none; }
  .process__mt { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--cobre-2); margin-bottom: 8px; font-family: var(--sans); }
  .process__lead { font-size: 19px; }
  .process__list { margin-top: 14px; }
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; min-height: 300px; cursor: default; }
  .panel video { opacity: .55; transform: none; }
  .panel__body { opacity: 1; transform: none; filter: none; }
  .panel__bar { display: none; }
  .principles { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .who__list li { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .contact__list > div { grid-template-columns: 1fr; gap: 4px; }
  .hero__lede { font-size: 14px; }
  .nav__name { width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Contato direto: dois botões ---------- */
.reach__sub { color: rgba(221, 215, 201, .72); margin: -6px 0 10px; }
.reach__btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; row-gap: 4px; align-items: center;
  padding: 20px 22px; background: var(--creme); color: var(--grafite);
  transition: color .5s var(--ease), transform .2s var(--ease);
}
.reach__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cobre); transform: translateY(101%); transition: transform .55s var(--ease); }
.reach__btn--alt { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 1px rgba(221, 215, 201, .35); }
.reach__btn--alt::before { background: var(--creme); }
.reach__btn:active { transform: scale(.99); }
.reach__k { grid-column: 1; font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .7; }
.reach__v { grid-column: 1; font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-size: clamp(18px, 1.5vw, 22px); overflow-wrap: anywhere; }
.reach__arrow { grid-column: 2; grid-row: 1 / span 2; position: relative; width: 18px; height: 20px; overflow: hidden; font-size: 18px; }
.reach__arrow i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; transition: transform .55s var(--ease); }
.reach__arrow i + i { transform: translateX(-120%); }
@media (hover: hover) {
  .reach__btn:hover { color: #fff; }
  .reach__btn--alt:hover { color: var(--grafite); }
  .reach__btn:hover::before { transform: none; }
  .reach__btn:hover .reach__arrow i:first-child { transform: translateX(120%); }
  .reach__btn:hover .reach__arrow i + i { transform: none; }
}
