/* =========================================================
   ALTRÃO & POCIBOM — ADVOGADOS ASSOCIADOS
   Design system: preto profundo + ouro
   ========================================================= */

:root {
  --bg: #0b0a09;
  --bg-2: #12100d;
  --bg-3: #1a1712;
  --line: rgba(212, 175, 95, 0.16);
  --line-strong: rgba(212, 175, 95, 0.38);
  --text: #ece6da;
  --muted: #a39b8b;
  --gold: #d4af5f;
  --gold-2: #f1dc9c;
  --gold-3: #a77d2e;
  --gold-grad: linear-gradient(120deg, #9a7430 0%, #e8cc85 28%, #fff1c4 45%, #c99a3e 62%, #f0d58e 80%, #9a7430 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", "Cormorant Garamond", serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
body.menu-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--gold); color: #000; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.gold-text {
  background: var(--gold-grad);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: goldShift 8s linear infinite;
}
.italic { font-style: italic; }
@keyframes goldShift { to { background-position: 200% center; } }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: -50%; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-out) .1s, visibility 0s 1.3s;
  clip-path: inset(0 0 0 0);
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader__logo { width: 150px; opacity: 0; transform: scale(.85); filter: blur(8px); animation: preLogo 1.2s var(--ease-out) .1s forwards; }
.preloader__bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); background-size: 200% 100%; transition: width .4s var(--ease); }
.preloader__text { font-family: var(--display); letter-spacing: .5em; font-size: 11px; color: var(--gold); text-transform: uppercase; margin: 0; opacity: .8; }
@keyframes preLogo { to { opacity: 1; transform: none; filter: none; } }
body.loaded .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--gold-2); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid var(--gold-2); transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease), opacity .3s; }
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; background: rgba(241, 220, 156, .12); }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
  body, a, button, summary, label, input, select, textarea { cursor: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 101; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .3s var(--ease);
}
.btn svg { font-size: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 44px; padding: 0 22px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--gold { color: #1a1206; background: var(--gold-grad); background-size: 200% auto; box-shadow: 0 10px 30px -10px rgba(212, 175, 95, .55); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover::before { transform: translateX(120%); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(212, 175, 95, .75); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-grad); background-size: 200% auto;
  transform: translateY(101%); transition: transform .55s var(--ease-out); border-radius: inherit;
}
.btn--ghost:hover { color: #1a1206; border-color: transparent; }
.btn--ghost:hover::before { transform: translateY(0); }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-size: 12px; letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow__line { display: inline-block; width: 42px; height: 1px; background: var(--gold-grad); }
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -.01em;
  margin-bottom: 26px;
}
.section__title em { font-style: italic; color: var(--gold-2); }
.section__sub { color: var(--muted); font-size: 17px; max-width: 520px; }
.section__head--center .section__sub { margin: 0 auto; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .5s var(--ease), backdrop-filter .5s, height .4s var(--ease), border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 72px;
  background: rgba(11, 10, 9, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark { height: 40px; width: auto; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; color: var(--gold-2); }
.brand__text small { font-family: var(--display); font-size: 8.5px; letter-spacing: .42em; color: var(--muted); text-transform: uppercase; }
.nav__list { display: flex; gap: 6px; }
.nav__link { position: relative; display: block; padding: 10px 14px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; z-index: 102; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--gold-2); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(11, 10, 9, .97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between; padding: 120px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-family: var(--serif); font-size: clamp(32px, 8vw, 48px); line-height: 1.1; transform: translateY(100%); transition: transform .7s var(--ease-out); }
.mobile-menu em { font-family: var(--display); font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.menu-open .mobile-menu nav a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .05s; } .menu-open .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .15s; } .menu-open .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu__foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; letter-spacing: .1em; }
.mobile-menu__foot a { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) 0 40px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 0; width: 900px; height: 900px; right: -200px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(212, 175, 95, .18) 0%, rgba(212, 175, 95, .05) 35%, transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.hero__lines { position: absolute; inset: 0; display: flex; justify-content: space-around; z-index: 0; pointer-events: none; }
.hero__lines span { width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, rgba(212, 175, 95, .07) 30%, rgba(212, 175, 95, .07) 70%, transparent); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 8vw, 116px); line-height: .98; letter-spacing: -.02em; margin-bottom: 30px; }
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split { display: inline-block; }
.split .char { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1.1s var(--ease-out), opacity 1.1s var(--ease-out); }
.split.gold-text .char { background: var(--gold-grad); background-size: 400% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
.loaded .split .char { transform: none; opacity: 1; }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__emblem { perspective: 1000px; display: grid; place-items: center; }
.emblem { position: relative; width: min(440px, 80vw); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .6s var(--ease-out); opacity: 0; transform: scale(.85); }
.loaded .emblem { animation: emblemIn 1.6s var(--ease-out) .5s forwards; }
@keyframes emblemIn { to { opacity: 1; transform: scale(1); } }
.emblem__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.emblem__ring--1 { inset: 0; border-style: dashed; border-color: rgba(212, 175, 95, .22); animation: spin 60s linear infinite; }
.emblem__ring--2 { inset: 14%; background: radial-gradient(circle at 50% 40%, rgba(212, 175, 95, .1), transparent 70%); box-shadow: inset 0 0 60px rgba(212, 175, 95, .08), 0 0 80px rgba(212, 175, 95, .08); }
.emblem__text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite reverse; }
.emblem__text text { fill: var(--gold); font-family: var(--display); font-size: 12.5px; letter-spacing: 4.2px; stroke: none; }
.emblem__logo { position: relative; width: 58%; transform: translateZ(60px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(212, 175, 95, .25)); }
.emblem__shine { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 240, 200, .18), transparent 45%); pointer-events: none; transform: translateZ(80px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 50px; }
.hero__info { display: flex; align-items: center; gap: 16px; font-family: var(--display); font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.hero__info i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
.scroll-hint__mouse { width: 24px; height: 38px; border: 1px solid var(--line-strong); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-hint__mouse span { width: 2px; height: 8px; background: var(--gold); border-radius: 2px; animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 26px 0; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-style: italic; color: var(--text); white-space: nowrap; opacity: .85; }
.marquee__track b { color: var(--gold); font-size: 16px; font-weight: 400; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; }
.about__frame {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #231d14 0%, #100e0b 70%);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.about__frame::after { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); border-radius: 10px; pointer-events: none; }
.about__logo { width: 78%; position: relative; z-index: 1; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .7)); }
.about__pattern {
  position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(45deg, rgba(212, 175, 95, .05) 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, rgba(212, 175, 95, .05) 0 1px, transparent 1px 22px);
  mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 80%); -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 30%, #000 80%);
}
.about__badge {
  position: absolute; right: -24px; bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 16px; padding: 20px 26px; border-radius: 14px;
  background: rgba(18, 16, 13, .85); backdrop-filter: blur(12px); border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite;
}
.about__badge-num { font-family: var(--serif); font-size: 56px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__badge-txt { font-size: 13px; line-height: 1.4; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-10px); } }
.about__content > p { color: var(--muted); font-size: 17px; }
.about__content strong { color: var(--text); font-weight: 600; }
.values { margin-top: 36px; display: grid; gap: 4px; }
.value { display: flex; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.value__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold); font-size: 20px; transition: background .4s, color .4s; }
.value:hover .value__icon { background: var(--gold); color: #000; }
.value h3 { font-family: var(--display); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 4px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(70px, 9vw, 120px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stat { padding: 40px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat__num { display: block; font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Areas ---------- */
.areas { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card {
  --x: 50%; --y: 50%;
  position: relative; padding: 40px 34px 34px; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; isolation: isolate;
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s;
  min-height: 330px; display: flex; flex-direction: column;
}
.area-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--x) var(--y), rgba(212, 175, 95, .16), transparent 45%); }
.area-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(260px circle at var(--x) var(--y), var(--gold), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.area-card:hover::before, .area-card:hover::after, .area-card:focus-visible::before { opacity: 1; }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.area-card__num { position: absolute; top: 26px; right: 30px; font-family: var(--display); font-size: 13px; letter-spacing: .2em; color: var(--muted); }
.area-card__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 34px; color: var(--gold); background: linear-gradient(145deg, rgba(212, 175, 95, .14), rgba(212, 175, 95, .02)); border: 1px solid var(--line); margin-bottom: 32px; transition: transform .6s var(--ease); }
.area-card__icon svg { stroke-width: 1.4; }
.area-card:hover .area-card__icon { transform: rotate(-8deg) scale(1.08); }
.area-card h3 { font-family: var(--serif); font-size: 30px; line-height: 1.1; margin-bottom: 14px; }
.area-card p { color: var(--muted); font-size: 15px; flex: 1; }
.area-card__more { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.area-card__more svg { transition: transform .4s var(--ease); }
.area-card:hover .area-card__more svg { transform: translateX(6px); }

/* ---------- Quote ---------- */
.quote { position: relative; padding: clamp(110px, 14vw, 200px) 0; overflow: hidden; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 50%, #1b1610 0%, var(--bg) 70%); }
.quote__bg-text { position: absolute; inset: 0; display: flex; align-items: center; white-space: nowrap; pointer-events: none; }
.quote__bg-text span { font-family: var(--display); font-size: clamp(120px, 20vw, 300px); color: transparent; -webkit-text-stroke: 1px rgba(212, 175, 95, .08); letter-spacing: .05em; will-change: transform; }
.quote__inner { position: relative; max-width: 980px; text-align: center; }
.quote__mark { width: 64px; height: 48px; fill: var(--gold); stroke: none; margin: 0 auto 36px; opacity: .9; }
.quote blockquote { margin: 0 0 28px; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.18; }
.quote cite { font-style: normal; font-family: var(--display); font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }

/* ---------- Method ---------- */
.method__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.method__sticky { position: sticky; top: 140px; }
.method__sticky .btn { margin-top: 16px; }
.timeline { position: relative; padding-left: 60px; }
.timeline__track { position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline__fill { position: absolute; inset: 0 0 auto; height: 100%; background: var(--gold-grad); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 12px rgba(212, 175, 95, .6); }
.step { position: relative; padding: 0 0 70px; opacity: .35; transition: opacity .6s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step.is-active { opacity: 1; }
.step__dot { position: absolute; left: -53px; top: 12px; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); transition: all .5s var(--ease); }
.step.is-active .step__dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(212, 175, 95, .15), 0 0 24px rgba(212, 175, 95, .7); }
.step__num { font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.step h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); margin: 6px 0 12px; }
.step p { color: var(--muted); font-size: 16px; max-width: 480px; }

/* ---------- Team ---------- */
.team { background: var(--bg-2); }
.team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1040px; margin: 0 auto; }
.lawyer { border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .5s; transform-style: preserve-3d; will-change: transform; }
.lawyer:hover { border-color: var(--line-strong); }
.lawyer__portrait {
  position: relative; aspect-ratio: 5/4; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 120%, rgba(212, 175, 95, .22), transparent 60%), linear-gradient(160deg, #1d1912, #0d0c0a);
}
.lawyer__initials { position: relative; z-index: 1; font-family: var(--display); font-size: clamp(90px, 12vw, 150px); line-height: 1; background: var(--gold-grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .04em; transition: transform .8s var(--ease-out), letter-spacing .8s var(--ease-out); }
.lawyer:hover .lawyer__initials { transform: scale(1.06); letter-spacing: .12em; }
.lawyer__watermark { position: absolute; width: 80%; opacity: .05; filter: grayscale(1); transform: rotate(-10deg) scale(1.3); }
.lawyer__corner { position: absolute; width: 36px; height: 36px; border-color: var(--gold); border-style: solid; transition: all .6s var(--ease); }
.lawyer__corner--tl { top: 20px; left: 20px; border-width: 1px 0 0 1px; }
.lawyer__corner--br { bottom: 20px; right: 20px; border-width: 0 1px 1px 0; }
.lawyer:hover .lawyer__corner { width: 60px; height: 60px; }
.lawyer__body { padding: 32px 34px 36px; }
.lawyer__role { font-family: var(--display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.lawyer__name { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; margin: 8px 0 4px; }
.lawyer__oab { color: var(--muted); font-size: 14px; letter-spacing: .1em; margin-bottom: 24px; }
.lawyer__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--gold-grad); background-size: 200% auto; color: #1a1206; transition: background-position .6s var(--ease), transform .3s; }
.chip svg { fill: currentColor; stroke: none; font-size: 17px; }
.chip:hover { background-position: 100% center; transform: translateY(-2px); }
.chip--line { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.chip--line:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.3; transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--gold-2); }
.acc__icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .4s, transform .5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__icon { background: var(--gold); transform: rotate(180deg); }
.acc[open] .acc__icon::before, .acc[open] .acc__icon::after { background: #000; }
.acc[open] .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { overflow: hidden; }
.acc__body p { color: var(--muted); padding: 0 60px 28px 0; margin: 0; }

/* ---------- Contact ---------- */
.contact__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px);
  padding: clamp(28px, 5vw, 70px); border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 0% 0%, rgba(212, 175, 95, .1), transparent 50%), var(--bg-2);
  position: relative; overflow: hidden;
}
.contact__list { display: grid; gap: 26px; margin-top: 16px; }
.contact__list li { display: flex; gap: 18px; align-items: flex-start; }
.contact__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #1a1206; background: var(--gold-grad); }
.contact__list small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact__list a { display: block; font-size: 17px; transition: color .3s; }
.contact__list a:hover { color: var(--gold-2); }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.5vw, 40px); }
.form__title { font-family: var(--serif); font-size: 32px; margin-bottom: 4px; }
.form__hint { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 18px 10px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--text); }
.field--select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 95, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-10px) scale(.72); color: var(--gold); }
.field.is-invalid input, .field.is-invalid select { border-color: #c2604f; }
.pick { border: 0; padding: 0; margin: 6px 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick legend { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; padding: 0; }
.pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick__opt span { display: block; padding: 14px 12px; text-align: center; font-size: 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: all .35s var(--ease); }
.pick__opt input:checked + span { border-color: var(--gold); color: var(--gold-2); background: rgba(212, 175, 95, .08); box-shadow: inset 0 0 0 1px var(--gold); }
.pick__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 22px; line-height: 1.5; }
.consent input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-strong); margin: 0; display: grid; place-items: center; transition: background .3s; }
.consent input::after { content: ""; width: 5px; height: 10px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform .3s var(--ease); }
.consent input:checked { background: var(--gold); border-color: var(--gold); }
.consent input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.form__error { color: #e0907f; font-size: 14px; margin: 14px 0 0; min-height: 1em; }

.map { margin-top: 28px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) sepia(.25) hue-rotate(-10deg); transition: filter .6s; }
.map:hover iframe { filter: grayscale(.2) invert(.92) contrast(.95) sepia(.35) hue-rotate(-10deg); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 80px; background: var(--bg); }
.footer__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; padding-bottom: 60px; }
.footer__logo { width: 240px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer h4 { font-family: var(--display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__cols a, .footer__cols p { display: block; color: var(--muted); font-size: 15px; margin-bottom: 8px; transition: color .3s; }
.footer__cols a:hover { color: var(--gold-2); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__legal { font-size: 12px; opacity: .7; }
.to-top { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); font-size: 18px; transition: background .4s, color .4s; }
.to-top:hover { background: var(--gold); color: #000; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float__btn { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--gold-grad); background-size: 200% auto; color: #1a1206; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(212, 175, 95, .6); transition: transform .4s var(--ease); }
.wa-float__btn:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float__btn svg { width: 30px; height: 30px; fill: currentColor; stroke: none; position: relative; z-index: 1; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float__menu { width: 270px; padding: 18px; border-radius: 18px; background: rgba(18, 16, 13, .95); backdrop-filter: blur(16px); border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -20px #000; opacity: 0; transform: translateY(14px) scale(.96); transform-origin: bottom right; pointer-events: none; transition: all .45s var(--ease-out); }
.wa-float.is-open .wa-float__menu { opacity: 1; transform: none; pointer-events: auto; }
.wa-float__menu p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.wa-float__menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font-size: 15px; transition: background .3s; }
.wa-float__menu a:hover { background: rgba(212, 175, 95, .1); }
.wa-float__ini { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 13px; background: var(--gold-grad); color: #1a1206; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, .75); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.modal__panel {
  position: relative; width: min(640px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  padding: clamp(28px, 5vw, 56px); border-radius: 24px; border: 1px solid var(--line-strong);
  background: radial-gradient(ellipse at 100% 0%, rgba(212, 175, 95, .14), transparent 55%), var(--bg-2);
  opacity: 0; transform: translateY(40px) scale(.96); transition: all .6s var(--ease-out);
}
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease), background .3s; }
.modal__close:hover { transform: rotate(90deg); background: rgba(212, 175, 95, .12); }
.modal__close span { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.5px; background: var(--gold-2); }
.modal__close span:first-child { transform: rotate(45deg); } .modal__close span:last-child { transform: rotate(-45deg); }
.modal__num { font-family: var(--display); font-size: 13px; letter-spacing: .3em; color: var(--gold); }
.modal__title { font-family: var(--serif); font-size: clamp(36px, 5vw, 52px); line-height: 1.05; margin: 8px 0 16px; padding-right: 40px; }
.modal__intro { color: var(--muted); font-size: 16px; }
.modal__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 22px 0 32px; }
.modal__list li { position: relative; padding-left: 22px; font-size: 15px; }
.modal__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* ---------- Reveal animations ---------- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal-up.is-in { opacity: 1; transform: none; }
.reveal-clip { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.reveal-clip.is-in { clip-path: inset(0 0 0 0); }
.reveal-words .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.reveal-words .word > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.reveal-words.is-in .word > span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__emblem { order: -1; }
  .emblem { width: min(260px, 64vw); }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .about__grid, .method__grid, .faq__grid, .contact__card { grid-template-columns: 1fr; }
  .about__frame { aspect-ratio: 4/3; }
  .about__logo { width: 62%; }
  .about__badge { right: 12px; bottom: 16px; }
  .method__sticky { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .team__grid { grid-template-columns: 1fr; max-width: 520px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { padding-right: 90px; }
}
@media (max-width: 640px) {
  .areas__grid { grid-template-columns: 1fr; }
  .area-card { min-height: 0; }
  .about__badge { position: relative; right: auto; bottom: auto; width: fit-content; margin: -34px auto 0; padding: 14px 20px; }
  .about__badge-num { font-size: 44px; }
  .hero__bottom { margin-top: 32px; }
  .hero__info { font-size: 9.5px; letter-spacing: .18em; gap: 10px; }
  .scroll-hint { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .brand__text strong { font-size: 13px; }
  .brand__text small { font-size: 7.5px; letter-spacing: .3em; }
  .brand__mark { height: 34px; }
  .footer__cols { grid-template-columns: 1fr; }
  .modal__list { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .acc__body p { padding-right: 0; }
  .map { height: 300px; }
  .timeline { padding-left: 44px; }
  .step__dot { left: -37px; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__btn { width: 56px; height: 56px; }
  .marquee { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal-up, .reveal-clip, .reveal-words .word > span, .split .char { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
