/* ═══════════════════════════════════════════════════════════
   Bersagui, Vargas & Ferreira Advocacia — Opção 1 "Tribuna Noturna"
   Navy abissal · dourado · Marcellus (display) + Archivo (corpo)
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink-0: #1a0a0f;
  --ink-1: #2d0d15;
  --ink-2: #3f1520;
  --line: rgba(187, 149, 85, 0.12);
  --line-soft: rgba(239, 234, 224, 0.06);
  --gold: #c4985e;
  --gold-hi: #e8d4a8;
  --ivory: #f5f1ed;
  --muted: #b8a0a8;
  --wine: #6b1f2e;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
  --w: min(1180px, calc(100% - 48px));
  --header-h: 68px;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 2px;
  border-radius: 2px;
}

body {
  font-family: var(--body);
  font-weight: 300;
  background: linear-gradient(135deg, var(--ink-0) 0%, #1d0b12 40%, #0a050a 100%);
  color: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--ink-0); }

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Tipografia base ─────────────────────────────── */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--ivory);
}

h2 em, h1 em, blockquote em {
  font-style: normal;
  color: var(--gold-hi);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.kicker::before,
.kicker::after,
.section-head .kicker::after,
.eyebrow::after,
.eyebrow-line { display: none; }

.section-head {
  width: var(--w);
  margin: 0 auto 56px;
  max-width: 720px;
  text-align: center;
}

.section-head .kicker { justify-content: center; }

.section-head .kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ── Botões ──────────────────────────────────────── */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-lg { padding: 17px 38px; }

.btn-gold {
  background: linear-gradient(140deg, #E2C68F 0%, var(--gold) 42%, #96733A 100%);
  color: var(--ink-0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 14px 34px rgba(187, 149, 85, 0.32);
}

.btn-gold:hover::after { left: 130%; }

.btn-ghost {
  border-color: rgba(187, 149, 85, 0.45);
  color: var(--ivory);
  background: rgba(187, 149, 85, 0.05);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(187, 149, 85, 0.12);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ── Skip Link ──────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--ink-0);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  font-weight: 600;
  font-size: 0.8rem;
}

.skip-link:focus { top: 0; }

main { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ── Header ──────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  height: var(--header-h);
}

.site-header.scrolled {
  background: rgba(32, 9, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  width: var(--w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo {
  height: 54px;
  width: auto;
  display: block;
  max-width: 240px;
}

.footer-logo {
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 220px;
  margin-bottom: 22px;
}

.brand-name,
.brand-sub {
  display: none;
}

.nav { display: flex; gap: 26px; }

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover { color: var(--gold-hi); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(32, 9, 15, 0.97);
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ivory);
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu .btn { margin-top: 16px; border-bottom: 0; }

.mobile-menu:not([hidden]) { display: flex; }

/* ── Hero cinematográfico (orbes + anéis + partículas) ─────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 130px 0 90px;
  background: radial-gradient(ellipse 80% 60% at 50% 42%, rgba(63, 21, 32, 0.28), transparent 60%);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
}

.hero-orb--gold {
  width: 44rem;
  height: 44rem;
  top: -18%;
  right: -14%;
  background: radial-gradient(circle at 35% 35%, rgba(232, 212, 168, 0.7), rgba(196, 152, 94, 0.25) 42%, transparent 72%);
  filter: blur(80px) saturate(1.4);
  opacity: 0.72;
  animation: orbGold 20s ease-in-out infinite;
}

.hero-orb--wine {
  width: 50rem;
  height: 50rem;
  bottom: -22%;
  left: -14%;
  background: radial-gradient(circle at 60% 35%, rgba(107, 31, 46, 0.85), rgba(45, 13, 21, 0.4) 50%, transparent 76%);
  filter: blur(90px) saturate(1.3);
  opacity: 0.65;
  animation: orbWine 26s ease-in-out infinite;
}

.hero-orb--accent {
  width: 22rem;
  height: 22rem;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232, 212, 168, 0.5), rgba(196, 152, 94, 0.15) 45%, transparent 70%);
  filter: blur(55px);
  opacity: 0.45;
  animation: orbAccent 14s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(232, 212, 168, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
}

.hero-ring--1 {
  width: 38rem;
  height: 38rem;
  border-color: rgba(232, 212, 168, 0.08);
  animation: ringPulse 8s ease-in-out infinite;
}

.hero-ring--2 {
  width: 52rem;
  height: 52rem;
  border-color: rgba(196, 152, 94, 0.06);
  animation: ringPulse 12s ease-in-out infinite 2s;
}

.hero-ring--3 {
  width: 68rem;
  height: 68rem;
  border-color: rgba(107, 31, 46, 0.05);
  animation: ringPulse 16s ease-in-out infinite 4s;
}

.hero-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(232, 212, 168, 0.6), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(232, 212, 168, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 42% 68%, rgba(196, 152, 94, 0.5), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(232, 212, 168, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 12% 72%, rgba(196, 152, 94, 0.45), transparent),
    radial-gradient(1px 1px at 55% 12%, rgba(232, 212, 168, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 78% 82%, rgba(196, 152, 94, 0.4), transparent),
    radial-gradient(1px 1px at 33% 44%, rgba(232, 212, 168, 0.35), transparent);
  animation: particlesDrift 28s linear infinite;
  opacity: 0.7;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 212, 168, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 212, 168, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 55% 45% at 50% 50%, #000 0%, transparent 82%);
  opacity: 0.5;
  transform: perspective(800px) rotateX(42deg) translateZ(-60px);
  transform-origin: center 80%;
}

.hero-elegance {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-monograma {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(800px) rotateY(-6deg) rotateX(3deg);
  width: clamp(220px, 32vw, 380px);
  height: auto;
  opacity: 0.04;
  filter: blur(2px) saturate(0.5);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: bvfFloat 18s ease-in-out infinite;
}

@keyframes orbGold {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.72; }
  33% { transform: translate(-30px, 20px) scale(1.08); opacity: 0.62; }
  66% { transform: translate(18px, -32px) scale(0.96); opacity: 0.78; }
}

@keyframes orbWine {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.65; }
  40% { transform: translate(34px, -20px) scale(1.05); opacity: 0.55; }
  70% { transform: translate(-18px, 28px) scale(0.97); opacity: 0.72; }
}

@keyframes orbAccent {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.45; }
  50% { transform: translateX(-48%) scale(1.12); opacity: 0.35; }
}

@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) rotateX(68deg) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) rotateX(68deg) scale(1.04); opacity: 0.6; }
}

@keyframes particlesDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

@keyframes bvfFloat {
  0%, 100% { transform: translate(-50%, -50%) perspective(800px) rotateY(-6deg) rotateX(3deg) scale(1); }
  50% { transform: translate(-50%, -48%) perspective(800px) rotateY(4deg) rotateX(-2deg) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orb,
  .hero-ring,
  .hero-particles,
  .hero-monograma,
  .hero-grid { animation: none; }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 42% at 50% 46%, rgba(232, 212, 168, 0.06), transparent 54%),
    radial-gradient(ellipse 70% 55% at 50% 54%, rgba(26, 10, 15, 0.12), rgba(26, 10, 15, 0.88) 80%),
    linear-gradient(180deg, rgba(26, 10, 15, 0.78) 0%, rgba(26, 10, 15, 0.10) 36%, rgba(26, 10, 15, 0.96) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--w);
  margin: 0 auto;
  max-width: 880px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.eyebrow-line { width: 40px; height: 1px; background: var(--gold); }

.eyebrow::after { content: ""; width: 40px; height: 1px; background: var(--gold); }

.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  color: var(--ivory);
  text-wrap: balance;
}

.hero-lead {
  max-width: 620px;
  margin: 28px auto 0;
  font-size: 1.06rem;
  color: var(--muted);
}

.hero-lead strong { color: var(--ivory); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 58px;
  border-top: 1px solid var(--line-soft);
}

.hero-trust li {
  flex: 1 1 180px;
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-trust li + li { border-left: 1px solid var(--line-soft); }

.hero-trust b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--gold-hi);
  letter-spacing: 0.04em;
}

.hero-trust span { font-size: 0.8rem; color: var(--muted); }

.hero-scroll {
  position: absolute;
  bottom: 74px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 52px;
  background: var(--line);
  overflow: hidden;
}

.hero-scroll span {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: scrolldrip 2.4s ease-in-out infinite;
}

@keyframes scrolldrip {
  0% { top: -40%; }
  100% { top: 110%; }
}

/* ── Marquee ─────────────────────────────────────── */

.valuestrip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-1);
  padding: 17px 0;
}

.vs-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.vs-track span {
  font-family: var(--display);
  font-size: 0.94rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  white-space: nowrap;
}

.vs-track i { color: var(--gold); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sobre ───────────────────────────────────────── */

.sobre { padding: 120px 0; }

.sobre-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 60px;
  align-items: start;
}

.sobre-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

.sobre-body p { color: var(--muted); font-size: 1.02rem; }

.sobre-body p + p { margin-top: 18px; }

.sobre-body strong { color: var(--ivory); font-weight: 500; }

.pilares {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 36px;
}

.pilar {
  padding-top: 4px;
}

.pilar h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  color: var(--gold-hi);
  margin-bottom: 7px;
}

.pilar p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Sócios ──────────────────────────────────────── */

.socios {
  padding: 110px 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(187, 149, 85, 0.05), transparent 55%),
    var(--ink-1);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.socias-figure {
  width: var(--w);
  margin: 0 auto 60px;
  display: flex;
  justify-content: center;
}

.socias-photo {
  width: 100%;
  max-width: 920px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(232, 212, 168, 0.22);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: var(--ink-2);
}

.socios-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.socio-card {
  padding: 40px 30px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.socio-card:hover {
  border-color: var(--line);
  transform: translateY(-4px);
}

.socio-spec {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold-hi);
  margin-bottom: 12px;
}

.socio-card h3 {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.socio-role {
  margin: 6px 0 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.socio-card > p:last-child {
  font-size: 0.9rem;
  color: var(--muted);
}

.socio-avatar { display: none; }

.socio-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line-soft);
}

/* ── Páginas de área ─────────────────────────────── */

.pagearea { background: var(--ink-0); }

.pagearea-hero { padding: 160px 0 20px; }

.pagearea-hero .section-head {
  text-align: left;
  margin-bottom: 0;
  width: var(--w);
  max-width: none;
  margin-inline: auto;
}

.pagearea-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 14px 0 18px;
}

.pagearea-hero h1 em { color: var(--gold-hi); font-style: italic; }

.pagearea-main {
  width: var(--w);
  margin: 0 auto;
  padding-bottom: 90px;
}

.pagearea-intro {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pagearea-sub {
  font-size: 1.6rem;
  margin: 52px 0 10px;
  letter-spacing: 0.02em;
}

.pagearea-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0 10px;
  padding: 0;
}

.pagearea-services li {
  list-style: none;
  padding: 20px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--ink-2);
  color: var(--muted);
  font-size: 0.95rem;
}

.pagearea-services li b {
  display: block;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 6px;
}

.pagearea-cta {
  margin: 60px 0 20px;
  padding: 40px 34px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: var(--ink-2);
  text-align: center;
}

.pagearea-cta h2 { font-size: 1.7rem; margin-bottom: 10px; }

.pagearea-cta p { color: var(--muted); margin-bottom: 24px; }

.pagearea-voltar { margin-top: 34px; }

.pagearea-voltar a { color: var(--gold); text-decoration: none; }

.pagearea-voltar a:hover { color: var(--gold-hi); }

.area-card h3 a { color: inherit; text-decoration: none; transition: color 0.25s ease; }

.area-card h3 a:hover { color: var(--gold-hi); }

@media (max-width: 760px) {
  .pagearea-hero { padding: 130px 0 10px; }
  .pagearea-services { grid-template-columns: 1fr; }
}

/* ── Áreas ───────────────────────────────────────── */

.areas { padding: 120px 0; }

.area-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1100px;
}

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 28px;
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink-1) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.26s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.area-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.area-card:hover {
  border-color: var(--line);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.area-card:hover::after { width: 100%; }

.area-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(187, 149, 85, 0.05);
}

.area-card h3 { font-size: 1.28rem; letter-spacing: 0.03em; }

.area-card > p { font-size: 0.9rem; color: var(--muted); flex: 1; }

.area-link {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-hi);
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  transition: color 0.2s, letter-spacing 0.3s;
}

.area-link:hover { color: var(--gold); letter-spacing: 0.2em; }

/* ── Processo ────────────────────────────────────── */

.processo {
  padding: 110px 0;
  background: var(--ink-1);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.proc-steps {
  list-style: none;
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.proc-step {
  position: relative;
  padding: 32px 26px 28px;
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--ink-1) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.proc-step:hover { transform: translateY(-6px); border-color: rgba(187, 149, 85, 0.5); }

.proc-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 14px;
  height: 1px;
  background: rgba(239, 234, 224, 0.25);
}

.proc-step:last-child::after { display: none; }

.ps-num {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 2.3rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 20px;
}

.proc-step h3 { font-size: 1.14rem; margin-bottom: 10px; }

.proc-step p { font-size: 0.88rem; color: var(--muted); }

/* ── Quote ───────────────────────────────────────── */

.quote-band {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}

.quote-band::before {
  content: "BVF";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(11rem, 30vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(187, 149, 85, 0.09);
  pointer-events: none;
  user-select: none;
}

.quote-band blockquote {
  position: relative;
  width: var(--w);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  color: var(--ivory);
}

/* ── FAQ ─────────────────────────────────────────── */

.faq { padding: 20px 0 120px; }

.faq-list {
  width: var(--w);
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line-soft);
  border-bottom: 0;
  background: var(--ink-1);
  transition: background 0.25s;
}

.faq-item:first-child { border-radius: 16px 16px 0 0; overflow: hidden; }

.faq-item:last-child { border-bottom: 1px solid var(--line-soft); border-radius: 0 0 16px 16px; overflow: hidden; }

.faq-item[open] { background: var(--ink-2); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-mark {
  position: relative;
  flex: 0 0 14px;
  height: 14px;
}

.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.3s ease;
}

.faq-mark::before { top: 6.5px; left: 0; width: 14px; height: 1px; }
.faq-mark::after { top: 0; left: 6.5px; width: 1px; height: 14px; }

.faq-item[open] .faq-mark::after { transform: rotate(90deg); }

.faq-item > p {
  padding: 0 26px 24px;
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 640px;
}

/* ── Contato ─────────────────────────────────────── */

.contato {
  padding: 110px 0;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(122, 43, 60, 0.1), transparent 55%),
    var(--ink-1);
  border-top: 1px solid var(--line-soft);
}

.contato-grid {
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contato-info > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  max-width: 460px;
}

.contato-list {
  list-style: none;
  margin-top: 40px;
  display: grid;
}

.contato-list li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}

.ci-label {
  flex: 0 0 120px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.contato-list a {
  text-decoration: none;
  color: var(--ivory);
  transition: color 0.2s;
}

.contato-list a:hover { color: var(--gold-hi); }

.ci-hours { display: grid; gap: 7px; }
.ci-hours span { display: block; font-size: 0.92rem; }

.contato-form {
  padding: 40px 36px;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-top: 2px solid var(--gold);
  border-radius: 18px;
}

.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.form-title {
  font-family: var(--display);
  font-size: 1.3rem;
  margin-bottom: 26px;
  color: var(--ivory);
}

.field { position: relative; margin-bottom: 18px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--ink-0);
  border: 1px solid var(--line-soft);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 0.95rem;
  transition: border-color 0.25s;
  border-radius: 12px;
}

.field textarea { resize: vertical; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 46px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23BB9555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

.field select:hover { border-color: var(--line); }

.field select option {
  background: var(--ink-0);
  color: var(--ivory);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field label {
  position: absolute;
  top: 15px;
  left: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.2s ease, left 0.2s ease, font-size 0.2s ease, letter-spacing 0.2s ease, color 0.2s ease, background 0.2s ease, padding 0.2s ease, text-transform 0.2s ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field .label-static {
  top: -8px;
  left: 10px;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--ink-2);
  padding: 0 6px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* ── Footer ──────────────────────────────────────── */

.site-footer {
  background: var(--ink-0);
  border-top: 1px solid var(--line);
}

.footer-top {
  width: var(--w);
  margin: 0 auto;
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
}

.footer-name {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.03em;
}

.footer-tag {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-contact a:hover { color: var(--gold-hi); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0 80px;
}

.footer-bottom p {
  width: var(--w);
  margin: 0 auto;
  font-size: 0.76rem;
  color: var(--muted);
  text-align: center;
}

.oab-note { margin-top: 6px !important; opacity: 0.65; }

/* ── WhatsApp float ──────────────────────────────── */

.wa-float {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 85;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1EBE5D;
  color: #fff;
  box-shadow: 0 10px 28px rgba(30, 190, 93, 0.35);
  transition: transform 0.25s ease;
  cursor: pointer;
}

.wa-float:hover { transform: translateY(-3px) scale(1.05); }

/* ── Reveal (scroll) ─────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(7px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; filter: none; }

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }

/* ── Responsivo ──────────────────────────────────── */

@media (max-width: 1020px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .area-grid, .socios-grid { grid-template-columns: 1fr 1fr; }
  .proc-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
  .proc-step:nth-child(even)::after { display: none; }
}

@media (max-width: 720px) {
  :root { --w: calc(100% - 40px); }
  .sobre, .areas { padding: 84px 0; }
  .socios, .processo, .contato { padding: 80px 0; }
  .quote-band { padding: 90px 0; }
  .sobre-grid, .contato-grid { grid-template-columns: 1fr; gap: 36px; }
  .area-grid, .socios-grid { grid-template-columns: 1fr; }
  .proc-steps { grid-template-columns: 1fr; gap: 18px; }
  .proc-step::after { display: none; }
  .pilares { grid-template-columns: 1fr; gap: 22px; }
  .hero-trust li { flex-basis: 100%; padding: 16px 0 0; }
  .hero-trust li + li { border-left: 0; border-top: 1px solid var(--line-soft); margin-top: 14px; padding-top: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; padding: 50px 0 38px; }
  .contato-form { padding: 30px 22px; }
  .hero-scroll { display: none; }
  .wa-float { right: 16px; bottom: 84px; }
}

/* ── Movimento reduzido ──────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vs-track { animation: none; }
  .hero-scroll span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Camada premium — Ateliê Jurídico Cinematográfico
   Profundidade bordô/dourada, superfícies lapidadas e mobile-first.
   ═══════════════════════════════════════════════════════════ */

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(196, 152, 94, 0.16), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(107, 31, 46, 0.34), transparent 34%),
    radial-gradient(circle at 76% 82%, rgba(196, 152, 94, 0.10), transparent 28%);
  filter: saturate(1.18);
}

body::after {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 25%, #000 0%, transparent 72%);
}

main > section { scroll-margin-top: calc(var(--header-h) + 18px); }

.site-header.scrolled {
  background: rgba(24, 7, 12, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  border-bottom-color: rgba(232, 212, 168, 0.14);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.brand-logo {
  filter: drop-shadow(0 4px 18px rgba(196, 152, 94, 0.14));
}


.nav a,
.footer-nav a,
.footer-contact a,
.area-link {
  position: relative;
}

.nav a::after,
.footer-nav a::after,
.footer-contact a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: right 0.28s ease;
}

.nav a:hover::after,
.footer-nav a:hover::after,
.footer-contact a:hover::after { right: 0; }

.hero {
  isolation: isolate;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(196, 152, 94, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(26, 10, 15, 0.16), var(--ink-0));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% 6% 5%;
  border: 1px solid rgba(232, 212, 168, 0.10);
  border-radius: 42px;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.08), transparent 24%, transparent 76%, rgba(196,152,94,0.08)),
    rgba(255,255,255,0.015);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 60px 160px rgba(0,0,0,0.22);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(160deg, #2c0e17, #20090f);
}

/* duotone bordô: o vídeo entra só como luz, tingido pela cor da marca */
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  mix-blend-mode: luminosity;
  opacity: 0.74;
  filter: contrast(1.1) brightness(0.85) saturate(0.7);
  transform: scale(1.03);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 10, 15, 0.5), rgba(26, 10, 15, 0.12) 44%, rgba(26, 10, 15, 0.7)),
    radial-gradient(ellipse 62% 54% at 50% 46%, rgba(32, 9, 15, 0.0), rgba(26, 10, 15, 0.34) 82%);
}

.hero-veil {
  background:
    radial-gradient(ellipse 46% 42% at 50% 46%, rgba(232, 212, 168, 0.13), transparent 54%),
    radial-gradient(ellipse 72% 56% at 50% 54%, rgba(26, 10, 15, 0.10), rgba(26, 10, 15, 0.86) 78%),
    linear-gradient(180deg, rgba(26, 10, 15, 0.84) 0%, rgba(26, 10, 15, 0.18) 42%, rgba(26, 10, 15, 0.96) 100%);
}

.hero-title {
  font-weight: 600;
  letter-spacing: -0.035em;
  text-shadow: 0 18px 60px rgba(0,0,0,0.42);
}

.hero-title em {
  color: var(--gold-hi);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title em {
    background: linear-gradient(105deg, #fff1cf 0%, var(--gold-hi) 42%, #b98443 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-lead {
  color: rgba(245, 241, 237, 0.78);
  font-weight: 400;
  text-wrap: pretty;
}

.hero-trust {
  border-top-color: rgba(232, 212, 168, 0.16);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.035), transparent);
  border-radius: 999px;
  padding-inline: 10px;
}

.btn {
  min-height: 44px;
  touch-action: manipulation;
}

.btn-gold {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.38), transparent 28%),
    linear-gradient(140deg, #f0d9a8 0%, #c4985e 44%, #8f612f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -8px 20px rgba(80,41,12,0.18),
    0 18px 44px rgba(196, 152, 94, 0.24);
}

.btn-gold::after {
  left: 0;
  transform: translateX(-170%) skewX(-20deg);
  transition: transform 0.55s ease;
}

.btn-gold:hover::after { left: 0; transform: translateX(260%) skewX(-20deg); }

.socio-card,
.area-card,
.proc-step,
.contato-form,
.faq-item {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.052), transparent 38%),
    linear-gradient(165deg, rgba(63,21,32,0.94) 0%, rgba(34,10,16,0.94) 100%);
  border-color: rgba(232, 212, 168, 0.10);
  box-shadow: 0 28px 80px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.045);
}

.socio-card:hover,
.area-card:hover,
.proc-step:hover {
  border-color: rgba(232, 212, 168, 0.28);
  box-shadow: 0 34px 100px rgba(0,0,0,0.32), 0 0 0 1px rgba(196, 152, 94, 0.08) inset;
}

.area-card::after {
  width: 100%;
  transform: scaleX(0.12);
  transform-origin: left center;
  transition: transform 0.4s ease;
}

.area-card:hover::after { width: 100%; transform: scaleX(1); }

.area-icon,
.socio-avatar {
  box-shadow: inset 0 0 24px rgba(232, 212, 168, 0.08), 0 16px 36px rgba(0,0,0,0.18);
}

.proc-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, rgba(232,212,168,0.10), transparent 34%);
  pointer-events: none;
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  background-color: rgba(26, 10, 15, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid rgba(232, 212, 168, 0.42);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.2em;
  margin-top: 12px;
  color: var(--gold-hi);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 720px) {
  :root { --w: calc(100% - 32px); --header-h: 64px; }
  .header-inner { padding: 10px 0; gap: 14px; }
  .brand-logo { height: 48px; }
  .brand-name { font-size: 0.82rem; max-width: 190px; }
  .brand-sub { font-size: 0.56rem; letter-spacing: 0.32em; }
  .hero { padding: 108px 0 64px; min-height: auto; }
  .hero::before { inset: 82px 10px 24px; border-radius: 28px; }
  .hero-title { font-size: clamp(2.55rem, 15vw, 4.35rem); line-height: 0.96; }
  .hero-lead { font-size: 0.98rem; margin-top: 22px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 28px; }
  .btn-lg { width: 100%; padding: 15px 22px; }
  .hero-trust { border-radius: 24px; padding: 8px 18px 18px; margin-top: 34px; }
  .section-head { margin-bottom: 38px; }
  .section-head .kicker::after { display: none; }
  .kicker { letter-spacing: 0.22em; }
  .contato-list li { display: grid; gap: 6px; }
  .ci-label { flex-basis: auto; }
  .wa-float { bottom: max(18px, env(safe-area-inset-bottom)); right: 14px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ── Hero monograma BVF no fundo ──────────────────── */

.hero-monograma {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) perspective(800px) rotateY(-8deg) rotateX(4deg);
  width: clamp(260px, 38vw, 460px);
  height: auto;
  opacity: 0.045;
  filter: blur(3px) saturate(0.6);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: bvfFloat 16s ease-in-out infinite;
}

@keyframes bvfFloat {
  0%, 100% { transform: translate(-50%, -50%) perspective(800px) rotateY(-8deg) rotateX(4deg) scale(1); }
  50% { transform: translate(-50%, -48%) perspective(800px) rotateY(4deg) rotateX(-3deg) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-monograma { animation: none; }
}

/* ── Foto das sócias ajustada ─────────────────────── */

.socias-photo {
  max-width: 480px;
  max-height: 600px;
}

@media (max-width: 720px) {
  .hero-monograma { width: clamp(200px, 60vw, 280px); opacity: 0.035; }
  .socias-photo { max-width: 320px; max-height: 400px; }
}
