/* Sueli Oliveira Advocacia · protótipo */
@font-face { font-family: 'Fraunces'; src: url(../fonts/fraunces.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(../fonts/fraunces-italic.woff2) format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/hanken.woff2) format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --navy: #252440;
  --navy-d: #1a1930;
  --navy-l: #34335a;
  --gold: #D3AF37;
  --gold-l: #e6cc72;
  --gold-d: #8a6d1a;
  --black: #000000;
  --cream: #f5f1e6;
  --paper: #fbf8f0;
  --ink: #16152a;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (pointer: coarse) { html.is-scroll-locked { overflow: hidden; } }
body {
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--black);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.eyebrow { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
h1, h2, h3 { font-weight: 400; }
em { font-style: italic; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-l); transform: translateY(-2px); }
.btn-line { color: #fff; box-shadow: inset 0 0 0 1px rgba(211, 175, 55, .55); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-l); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn-big { min-height: 62px; padding: 0 34px; font-size: 16.5px; }

/* ---------- topo ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-header.is-solid { background: rgba(26, 25, 48, .95); box-shadow: 0 1px 0 rgba(211, 175, 55, .18); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 16px; letter-spacing: -.02em;
}
.brand-name { font-family: var(--serif); font-size: 19px; line-height: 1; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: .36em; color: var(--gold); margin-top: 5px; font-weight: 600; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 14px; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* ---------- luz que segue o cursor ---------- */
[data-spot] { position: relative; }
.spot {
  position: absolute; left: 0; top: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px;
  border-radius: 50%; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(211, 175, 55, .15) 0%, rgba(211, 175, 55, .05) 34%, transparent 66%);
  will-change: transform;
}
.spot.on { opacity: 1; }
.spot--idle { opacity: .7; left: 50%; top: 35%; animation: drift 16s ease-in-out infinite alternate; animation-play-state: paused; }
[data-spot].is-visible .spot--idle { animation-play-state: running; }
@keyframes drift { from { transform: translate(-28vw, -6vh); } to { transform: translate(28vw, 22vh); } }

/* ---------- capa ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; text-align: center; color: #fff;
  padding-top: clamp(116px, 16vh, 168px);
  background: radial-gradient(ellipse 85% 65% at 50% 0%, #302e55 0%, var(--navy) 52%, var(--navy-d) 100%);
  overflow: hidden; overflow: clip;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(211, 175, 55, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(211, 175, 55, .075) 1px, transparent 1px);
  background-size: 72px 72px; background-position: 50% 0;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 38%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 38%, #000 15%, transparent 78%);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif); font-weight: 320; font-size: clamp(44px, 7.2vw, 116px);
  line-height: .98; letter-spacing: -.028em; margin: 22px auto 0; max-width: 11.5ch;
}
.hero h1 em { color: var(--gold); font-weight: 300; }
.hero-sub { max-width: 560px; margin: 24px auto 0; color: rgba(255, 255, 255, .74); font-size: clamp(16px, 1.25vw, 18.5px); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.doc-stage {
  position: relative; z-index: 2; flex: 1;
  display: flex; justify-content: center;
  min-height: clamp(220px, 34vh, 380px);
  margin-top: clamp(44px, 7vh, 80px);
  perspective: 1500px;
}
.doc-scroll { width: clamp(280px, 33vw, 450px); transform-style: preserve-3d; transform-origin: 50% 0%; }
html:not(.motion) .doc-scroll { transform: rotateX(14deg) rotate(-3deg); }
.doc-tilt { transform-style: preserve-3d; }
.doc {
  position: relative; text-align: left; color: var(--ink);
  background: linear-gradient(180deg, #fdfbf5, var(--paper) 60%, #f1ecdf);
  padding: clamp(22px, 2.4vw, 36px) clamp(22px, 2.4vw, 36px) clamp(60px, 8vw, 120px);
  border-radius: 3px;
  box-shadow: 0 60px 90px -34px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .05);
}
.doc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-right: 54px; }
.doc-brand { font-family: var(--serif); font-size: clamp(15px, 1.35vw, 20px); color: var(--navy); }
.doc-meta { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); font-weight: 600; white-space: nowrap; }
.doc-rule { height: 1px; margin: 11px 0 12px; background: linear-gradient(90deg, var(--gold), rgba(211, 175, 55, .15)); }
.doc-date { font-size: 10px; color: #6c6b7e; text-align: right; margin-bottom: 10px; }
.doc-text { font-size: clamp(10.5px, .9vw, 12.8px); line-height: 1.65; color: #3d3c54; }
.doc-text p + p { margin-top: .75em; }
.doc-hi { font-family: var(--serif); font-style: italic; font-size: 1.18em; color: var(--navy); }
.motion .doc-text { clip-path: inset(0 0 100% 0); }
.doc-sign { margin-top: 14px; width: 62%; }
.sign { width: 100%; height: auto; overflow: visible; margin-bottom: -6px; }
.sign path { fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc-sign span { display: block; border-top: 1px solid rgba(37, 36, 64, .28); padding-top: 6px; font-family: var(--serif); font-size: 13px; color: var(--navy); }
.doc-sign small { font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: #77768a; }
.seal {
  position: absolute; top: clamp(-34px, -2.4vw, -22px); right: clamp(-30px, -2vw, -18px);
  width: clamp(84px, 8.4vw, 118px); height: auto; transform: rotate(-12deg);
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}
.seal-ring { font-family: var(--sans); font-weight: 700; }
.seal-mono { font-family: var(--serif); font-style: italic; font-size: 27px; letter-spacing: -.5px; }

/* ---------- faixa ---------- */
.marquee {
  position: relative; z-index: 3; background: var(--black); color: var(--gold);
  border-block: 1px solid rgba(211, 175, 55, .25); overflow: hidden;
}
.marquee-track { display: flex; width: max-content; animation: mq 60s linear infinite; }
.marquee-group { display: flex; }
.marquee-group span {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.4vw, 34px);
  padding: 18px 0; white-space: nowrap; display: flex; align-items: center;
}
.marquee-group span::after { content: "§"; font-style: normal; color: rgba(211, 175, 55, .45); margin: 0 .85em; font-size: .75em; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee.is-paused .marquee-track, .marquee.is-off .marquee-track { animation-play-state: paused; }
.mq-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(211, 175, 55, .4);
  background: var(--black); color: var(--gold); cursor: pointer; display: grid; place-items: center;
  box-shadow: -24px 0 24px 6px var(--black);
}
.mq-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mq-toggle .i-play { display: none; fill: currentColor; }
.marquee.is-paused .i-play { display: block; }
.marquee.is-paused .i-pause { display: none; }

/* ---------- escritório ---------- */
.about {
  position: relative; background: var(--cream); color: var(--ink);
  padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; overflow: clip;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 8 - 1px), rgba(37, 36, 64, .05) calc(100% / 8 - 1px) calc(100% / 8));
}
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-photo { position: relative; }
.arch { position: relative; border-radius: 999px 999px 6px 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(37, 36, 64, .55)); pointer-events: none; }
.arch-cover { position: absolute; inset: 0; z-index: 2; background: var(--navy); display: none; }
.motion .arch-cover { display: block; }
.about-photo figcaption {
  margin-top: 16px; font-size: 13px; color: #5c5b70; display: flex; align-items: center; gap: 12px;
}
.about-photo figcaption::before { content: ""; width: 32px; height: 1px; background: var(--gold-d); }
.about .eyebrow { color: var(--gold-d); }
.about h2 {
  font-family: var(--serif); font-weight: 330; font-size: clamp(36px, 4.4vw, 66px);
  line-height: 1.03; letter-spacing: -.022em; margin: 18px 0 28px; color: var(--navy);
}
.about h2 em { color: var(--gold-d); }
.about-text > p:not(.eyebrow) { max-width: 52ch; color: #3e3d55; }
.about-text > p + p { margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid rgba(37, 36, 64, .18); }
.stats > div { padding: 22px 18px 0 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid rgba(37, 36, 64, .12); }
.stats dt { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 74px); line-height: 1; color: var(--navy); font-variant-numeric: lining-nums; }
.stats dt small { font-size: .55em; color: var(--gold-d); vertical-align: .55em; margin-right: 2px; }
.stats dd { font-size: 13.5px; line-height: 1.45; color: #5a596e; margin-top: 10px; max-width: 17ch; }

/* ---------- áreas ---------- */
.areas {
  background: var(--navy); color: #fff; padding: clamp(100px, 12vw, 170px) 0;
  overflow: hidden; overflow: clip;
  background-image: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(52, 51, 90, .9), transparent 70%);
}
.areas-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.areas-aside { position: sticky; top: 108px; }
.areas h2 { font-family: var(--serif); font-weight: 330; font-size: clamp(36px, 4.1vw, 60px); line-height: 1.03; letter-spacing: -.022em; margin-top: 16px; }
.areas h2 em { color: var(--gold); }
.panel { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(211, 175, 55, .3); min-height: 330px; }
.panel-num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(90px, 9.5vw, 150px); line-height: .82;
  color: transparent; -webkit-text-stroke: 1px var(--gold); font-variant-numeric: lining-nums;
}
.panel-name { font-family: var(--serif); font-size: 28px; line-height: 1.15; margin-top: 16px; }
.panel-body p { color: rgba(255, 255, 255, .72); margin-top: 10px; max-width: 42ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.tags li { font-size: 12.5px; line-height: 1.3; padding: 7px 12px; border: 1px solid rgba(211, 175, 55, .35); border-radius: 999px; color: var(--gold-l); }
.areas-note { margin-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.area-list { list-style: none; }
.area { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.area:first-child { border-top: 1px solid rgba(255, 255, 255, .1); }
.area-head { display: grid; grid-template-columns: 76px 1fr 60px; align-items: baseline; gap: 14px; padding: 26px 0; cursor: default; }
.area-art { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.area-name {
  font-family: var(--serif); font-weight: 330; font-size: clamp(26px, 2.7vw, 42px); line-height: 1.1; letter-spacing: -.015em;
  color: rgba(255, 255, 255, .4); transition: color .45s, transform .6s var(--ease);
}
.area-line { height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); align-self: center; }
.area.is-on .area-name { color: #fff; transform: translateX(12px); }
.area.is-on .area-line { transform: scaleX(1); }
.area-body { display: none; }

/* ---------- como funciona ---------- */
.steps {
  color: #fff; overflow: hidden; overflow: clip;
  background: radial-gradient(ellipse 75% 55% at 50% 100%, rgba(52, 51, 90, .85), var(--black) 72%);
}
.steps::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(90deg, rgba(211, 175, 55, .06) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
}
.steps-inner {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(100px, 12vw, 160px) var(--pad);
}
.steps.is-stage { height: 100vh; height: 100svh; min-height: 560px; }
.steps.is-stage .steps-inner { height: 100%; justify-content: center; padding-top: 92px; padding-bottom: 28px; }
.steps h2 { font-family: var(--serif); font-weight: 330; font-size: clamp(32px, 4vw, 58px); line-height: 1.04; letter-spacing: -.022em; margin-top: 14px; }
.steps h2 em { color: var(--gold); }
.pile { position: relative; width: min(560px, 100%); margin-top: clamp(28px, 5vh, 56px); display: grid; gap: 18px; }
.steps.is-stage .pile { display: block; height: clamp(250px, 36vh, 320px); margin-top: clamp(56px, 9vh, 96px); }
.card {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 4px; text-align: left;
  padding: clamp(24px, 3.2vw, 40px); box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; justify-content: center;
}
.card::before { content: ""; position: absolute; left: clamp(24px, 3.2vw, 40px); top: 0; width: 56px; height: 3px; background: var(--gold); }
.steps.is-stage .card { position: absolute; inset: 0; will-change: transform; }
.card-lead { font-family: var(--serif); font-style: italic; color: var(--gold-d); font-size: 19px; }
.card h3 { font-family: var(--serif); font-weight: 380; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -.02em; color: var(--navy); margin: 4px 0 14px; }
.card > p:last-child { color: #4a495f; font-size: 15.5px; max-width: 44ch; }
.steps-hint {
  display: none; margin-top: clamp(22px, 4vh, 36px); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); flex-direction: column; align-items: center; gap: 10px; transition: opacity .4s;
}
.steps.is-stage .steps-hint { display: flex; }
.steps-hint i { width: 1px; height: 32px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- contato ---------- */
.contact { color: #fff; background: var(--navy-d); overflow: hidden; overflow: clip; padding: clamp(110px, 14vw, 190px) 0 clamp(80px, 10vw, 130px); }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .5; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-d) 22%, rgba(26, 25, 48, .8) 55%, rgba(26, 25, 48, .3)); }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { font-family: var(--serif); font-weight: 320; font-size: clamp(42px, 6.2vw, 98px); line-height: .99; letter-spacing: -.028em; margin-top: 18px; max-width: 12ch; }
.contact h2 em { color: var(--gold); display: block; }
.contact .btn-big { margin-top: 40px; }
.contact-info {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 920px;
  margin-top: clamp(60px, 8vw, 110px); padding-top: 30px; border-top: 1px solid rgba(211, 175, 55, .28);
}
.contact-info h3 { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact-info p { margin-top: 8px; color: rgba(255, 255, 255, .82); }

/* ---------- rodapé ---------- */
.footer { background: var(--black); color: rgba(255, 255, 255, .55); padding: 56px 0 44px; font-size: 13.5px; border-top: 1px solid rgba(211, 175, 55, .15); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer .proto { color: var(--gold); }

/* ---------- whatsapp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--gold); color: var(--black); font-weight: 600; font-size: 14.5px; text-decoration: none;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, .6);
  transform: translateY(140%); transition: transform .5s var(--ease), background-color .3s;
}
.wa-float svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-float.is-on { transform: none; }
.wa-float:hover { background: var(--gold-l); }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 440px; }
  .areas-grid { grid-template-columns: 1fr; gap: 36px; }
  .areas-aside { position: static; }
  .panel { display: none; }
  .areas-note { margin-top: 18px; }
  .area-head { grid-template-columns: 58px 1fr; padding: 24px 0 8px; }
  .area-line { display: none; }
  .area-name { color: rgba(255, 255, 255, .62); font-size: 27px; }
  .area.is-on .area-name { transform: none; }
  .area-body { display: block; padding: 0 0 24px 72px; }
  .area-body p { color: rgba(255, 255, 255, .7); font-size: 15px; }
  .tags { margin-top: 12px; }
  .contact-info { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
  .hero-cta .btn { flex: 1 1 100%; max-width: 340px; }
  .doc-more { display: none; }
  .doc-head { flex-direction: column; align-items: flex-start; gap: 4px; padding-right: 64px; }
  .stats > div { padding-right: 10px; }
  .stats > div + div { padding-left: 12px; }
  .stats dd { font-size: 12.5px; }
  .area-body { padding-left: 0; }
  .wa-float span { display: none; }
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
