:root {
  --navy-950: #06101d;
  --navy-900: #091426;
  --navy-850: #0d1b2e;
  --navy-800: #132643;
  --navy-700: #1a2f4f;
  --gold: #d0b070;
  --gold-bright: #e0bd70;
  --ink: #172033;
  --muted: #5b6472;
  --line: #d9dee6;
  --paper: #f7f9fc;
  --warm: #eeeee9;
  --white: #fff;
  --shadow: 0 24px 70px rgba(3, 11, 22, .18);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .brand strong, .signature strong { font-family: Georgia, "Times New Roman", serif; }
h1 { margin-bottom: 24px; color: var(--white); font-size: clamp(2.5rem, 5vw, 4.75rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 500; }
h1 span { color: var(--gold-bright); }
h2 { margin-bottom: 14px; color: var(--navy-850); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 500; }
h3 { color: var(--navy-850); font-size: 1.2rem; line-height: 1.3; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: #fff; color: #000; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(208, 176, 112, .18); background: rgba(6, 16, 29, .94); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--white); text-decoration: none; }
.brand img { width: 48px; height: 54px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 1.18rem; line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; }
.brand small { margin-top: 4px; color: var(--gold); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: #eef3f8; font-size: .9rem; font-weight: 700; text-decoration: none; }
.main-nav a:not(.nav-cta):hover { color: var(--gold-bright); }
.nav-cta { padding: 11px 17px; border: 1px solid var(--gold); border-radius: 8px; }
.nav-cta:hover { background: var(--gold); color: var(--navy-950); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px; background: var(--white); }

.hero { position: relative; overflow: hidden; padding: 90px 0 80px; background: radial-gradient(circle at 12% 40%, rgba(26, 47, 79, .82), transparent 38%), linear-gradient(135deg, #06101d 0%, #0d1d33 60%, #071220 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(208,176,112,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(208,176,112,.16) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, #000, transparent 72%); }
.hero-glow { position: absolute; width: 440px; height: 440px; right: -100px; top: 8%; border-radius: 50%; background: rgba(208, 176, 112, .12); filter: blur(25px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(340px, .83fr); align-items: center; gap: 72px; }
.eyebrow { margin-bottom: 14px; color: var(--gold-bright); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: #8a6827; }
.hero-intro { max-width: 700px; color: #d5dce7; font-size: 1.1rem; }
.urgent-box { max-width: 690px; margin: 30px 0; padding: 22px 24px; border: 1px solid var(--gold); border-radius: 12px; background: rgba(208, 176, 112, .12); }
.urgent-box p { margin: 8px 0 0; color: #e1e6ec; font-size: .92rem; }
.urgent-label { display: block; color: var(--gold-bright); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.urgent-phone { display: inline-block; margin-top: 4px; color: var(--white); font-family: Georgia, serif; font-size: 1.65rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-size: .9rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--navy-950); }
.button-secondary { border-color: rgba(255,255,255,.38); color: var(--white); }
.button-secondary:hover { border-color: var(--gold); }
.portrait-frame { position: relative; justify-self: end; width: min(100%, 430px); padding: 16px; border: 1px solid rgba(208, 176, 112, .45); background: rgba(9,20,38,.74); box-shadow: var(--shadow); }
.portrait-frame::before, .portrait-frame::after { content: ""; position: absolute; width: 70px; height: 70px; border-color: var(--gold); }
.portrait-frame::before { left: -8px; top: -8px; border-left: 2px solid var(--gold); border-top: 2px solid var(--gold); }
.portrait-frame::after { right: -8px; bottom: -8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); }
.portrait-frame img { width: 100%; aspect-ratio: 520 / 700; object-fit: cover; object-position: center top; }
.portrait-caption { position: absolute; left: 30px; right: 30px; bottom: 30px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-left: 3px solid var(--gold); background: rgba(6,16,29,.89); color: var(--white); }
.portrait-caption span { color: var(--gold); font-size: .78rem; }

.section-heading { max-width: 800px; margin: 0 auto 44px; text-align: center; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.04rem; }
.section-heading.light h2 { color: var(--white); }
.section-heading.light > p:last-child { color: #c7d0dc; }
.cards { display: grid; gap: 20px; }
.three-cards { grid-template-columns: repeat(3, 1fr); }
.case-card { min-height: 280px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 38px rgba(19, 38, 67, .08); }
.case-card.featured { border: 2px solid var(--gold); }
.case-card p { color: var(--muted); }
.case-card a { margin-top: auto; color: var(--navy-800); font-weight: 800; text-decoration: none; }
.case-card a:hover { color: #8a6827; }
.card-tag { align-self: flex-start; margin-bottom: 23px; padding: 5px 10px; border-radius: 999px; background: #edf0f5; color: var(--navy-800); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.featured .card-tag { background: #f4e8cb; color: #745412; }

.custody { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 90% 20%, rgba(208,176,112,.14), transparent 30%), linear-gradient(145deg, #071220, #10223a); }
.custody::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(120deg, transparent 49.8%, var(--gold) 50%, transparent 50.2%); background-size: 120px 120px; }
.custody .container { position: relative; }
.timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.timeline li { position: relative; padding: 25px 24px 28px; border-top: 1px solid rgba(208,176,112,.55); border-bottom: 1px solid rgba(208,176,112,.2); background: rgba(255,255,255,.04); }
.timeline li + li { border-left: 1px solid rgba(255,255,255,.12); }
.timeline li > span { position: absolute; top: -17px; left: 24px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-size: .75rem; font-weight: 900; }
.timeline h3 { margin-top: 10px; color: var(--white); }
.timeline p { margin-bottom: 0; color: #cbd3de; font-size: .92rem; }

.documents { background: var(--warm); }
.document-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.document-card { position: relative; padding: 38px; overflow: hidden; border: 1px solid #c9ced6; border-top: 4px solid var(--navy-800); border-radius: var(--radius); background: #f8f8f6; }
.document-card .number { position: absolute; right: 22px; top: 5px; color: rgba(13, 27, 46, .08); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.document-card h3 { padding-bottom: 17px; border-bottom: 1px solid #d8d9d7; }
.document-card ul { margin: 0; padding: 0; list-style: none; }
.document-card li { position: relative; padding: 7px 0 7px 20px; }
.document-card li::before { content: ""; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: #b2761e; }

.bio { color: #e4e9ef; background: radial-gradient(circle at 85% 10%, rgba(208,176,112,.12), transparent 30%), linear-gradient(110deg, #071220, #0d1d33); }
.bio-grid { display: grid; grid-template-columns: minmax(280px, 390px) 1fr; align-items: center; gap: 70px; }
.bio-image { padding: 14px; border: 1px solid rgba(208,176,112,.4); background: rgba(9,20,38,.72); }
.bio-image img { width: 100%; aspect-ratio: 418 / 514; object-fit: cover; }
.bio-copy h2 { color: var(--white); }
.bio-copy > p { max-width: 710px; }
.signature { margin-top: 26px; padding-top: 22px; display: flex; flex-direction: column; border-top: 1px solid rgba(208,176,112,.35); }
.signature strong { color: var(--white); font-size: 1.35rem; }
.signature span { color: var(--gold); font-size: .85rem; font-weight: 800; letter-spacing: .08em; }

.practice { background: var(--navy-800); }
.practice-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; list-style: none; }
.practice-list li { padding: 13px 16px; border: 1px solid rgba(213,220,231,.35); border-radius: 7px; background: var(--paper); color: var(--navy-850); text-align: center; font-weight: 750; }
.practice-list li.highlight { border: 2px solid var(--gold); }

.clarity { padding: 76px 0; color: var(--white); text-align: center; background: var(--navy-900); }
.clarity-inner { max-width: 850px; }
.clarity h2 { color: var(--white); }
.clarity p:not(.eyebrow) { color: #d0d7e0; }
.button-light { margin-top: 14px; background: var(--white); color: var(--navy-900); }

.contact { position: relative; overflow: hidden; background: #090f19; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 10% 100%, rgba(208,176,112,.1), transparent 32%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch; gap: 64px; }
.contact-map { min-height: 570px; overflow: hidden; border: 1px solid rgba(208,176,112,.4); border-radius: 12px; background: var(--navy-900); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.contact-map iframe { width: 100%; height: 100%; min-height: 570px; display: block; border: 0; filter: saturate(.78) contrast(1.03); }
.contact-info { align-self: center; color: #e7ebf0; }
.contact-info h2 { max-width: 600px; color: var(--white); font-size: clamp(2.8rem, 5vw, 4.7rem); }
.contact-lead { max-width: 610px; color: #c9d0da; }
.contact-details { margin: 28px 0 0; }
.contact-details > div { padding: 18px 0; display: grid; grid-template-columns: minmax(120px, .36fr) 1fr; gap: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-details dt { color: var(--gold); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--white); font-weight: 650; }
.contact-details dd a { color: var(--white); font-size: 1.18rem; font-weight: 850; }
.contact-actions { margin-top: 24px; }
.contact-whatsapp { border-color: #1cbe63; background: #08743a; color: #fff; box-shadow: inset 0 0 16px rgba(37,220,112,.2); }
.contact-whatsapp:hover { background: #09994d; }
.contact-map-link { color: var(--gold-bright); font-size: .9rem; font-weight: 800; }
.criminal-note { margin-top: 24px; padding: 18px; border-left: 4px solid var(--gold); background: var(--navy-850); color: var(--white); }
.criminal-note strong { color: var(--gold-bright); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.criminal-note p { margin: 7px 0 0; font-size: .9rem; }

.site-footer { padding: 36px 0; color: #cbd3dd; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }
.footer-brand .brand strong, .footer-brand strong { font-size: 1rem; }
.footer-grid p { margin: 0; text-align: center; font-size: .86rem; }
.footer-grid > a { color: var(--gold); font-size: .86rem; font-weight: 800; }
.floating-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: radial-gradient(circle at 50% 42%, #31e87b 0 30%, #16c763 58%, #079044 100%); color: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.32), 0 0 22px rgba(32,218,108,.4), inset 0 2px 7px rgba(255,255,255,.28); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp::before { content: ""; position: absolute; inset: -6px; z-index: -1; border: 1px solid rgba(34, 211, 112, .3); border-radius: inherit; }
.floating-whatsapp svg { width: 39px; height: 39px; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 40px rgba(0,0,0,.36), 0 0 28px rgba(32,218,108,.5), inset 0 2px 7px rgba(255,255,255,.3); }
.floating-whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* Refinamento visual: ritmo editorial, detalhes em dourado e contato integrado. */
html { scroll-padding-top: 110px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
h1, h2 { text-wrap: balance; }
.hero { padding: 100px 0 92px; }
.hero-grid { gap: 58px; }
.hero h1 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); }
.hero::before { background-size: 100px 100px; opacity: .08; }
.hero-intro { max-width: 490px; line-height: 1.8; }
.portrait-frame { padding: 10px; border-radius: 120px 120px 4px 4px; }
.portrait-frame img { border-radius: 110px 110px 0 0; }
.portrait-frame::before { display: none; }
.urgent-box { border: 0; border-left: 2px solid var(--gold); border-radius: 0 8px 8px 0; background: linear-gradient(90deg,rgba(208,176,112,.12),transparent); }
.office-strip { background: #101f33; border-block: 1px solid rgba(208,176,112,.22); color: #f3eee5; }
.office-strip-grid { display: grid; grid-template-columns: repeat(3,1fr); padding-block: 27px; }
.office-strip p { margin: 0; padding-inline: 30px; font-size: 1rem; }
.office-strip p:first-child { padding-left: 0; }
.office-strip p + p { border-left: 1px solid rgba(208,176,112,.25); }
.office-strip span { display: block; margin-bottom: 5px; color: var(--gold); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.start { background: #f7f5f0; }
.section-heading { max-width: 730px; margin-bottom: 52px; }
.case-card { position: relative; padding: 34px; border-radius: 4px; box-shadow: none; transition: transform .2s ease,box-shadow .2s ease; }
.case-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(19,38,67,.09); }
.case-card h3 { font-family: Georgia,serif; font-size: 1.65rem; font-weight: 500; }
.case-card a { padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.case-card a span { font-size: 1.4rem; font-weight: 400; }
.case-card.featured { border: 1px solid var(--gold); background: var(--navy-850); }
.case-card.featured h3, .case-card.featured a { color: #fff; }
.case-card.featured p { color: #cbd3de; }
.case-card.featured a { border-color: rgba(208,176,112,.28); }
.featured .card-tag { background: rgba(208,176,112,.15); color: var(--gold-bright); }
.document-card { border-radius: 4px; border-top-width: 2px; }
.bio-image { position: relative; padding: 10px; }
.bio-copy h2 { font-size: clamp(2rem,3.4vw,3rem); }
.practice { background: #0d1b2e; border-top: 1px solid rgba(208,176,112,.18); }
.practice-list { gap: 0; counter-reset: practice; }
.practice-list li { counter-increment: practice; display: flex; align-items: center; gap: 14px; padding: 23px 15px; border: 0; border-bottom: 1px solid rgba(208,176,112,.22); border-radius: 0; background: transparent; color: #eef0f4; text-align: left; font-size: .95rem; }
.practice-list li::before { content: counter(practice,decimal-leading-zero); color: var(--gold); font-size: .65rem; font-weight: 400; }
.practice-list li.highlight { border: 0; border-bottom: 1px solid rgba(208,176,112,.22); }
.clarity { background: #eee9df; color: var(--ink); padding: 85px 0; }
.clarity h2 { color: var(--navy-850); }
.clarity .eyebrow { color: #826327; }
.clarity p:not(.eyebrow) { color: var(--muted); }
.clarity .button { background: var(--navy-850); color: #fff; }
.contact-grid { gap: 60px; align-items: center; }
.contact-map { display: flex; flex-direction: column; min-height: 570px; border-radius: 6px; }
.map-heading { display: flex; flex-direction: column; gap: 3px; padding: 22px 26px; border-bottom: 1px solid rgba(208,176,112,.3); }
.map-heading span { font-size: .65rem; color: var(--gold); text-transform: uppercase; letter-spacing: .15em; }
.map-heading strong { font-family: Georgia,serif; font-size: 1.4rem; font-weight: 400; color: #fff; }
.contact-map iframe { flex: 1; min-height: 480px; }
.contact-info h2 { font-size: clamp(2.8rem,4.6vw,4.1rem); }
.contact-whatsapp { border-radius: 999px; padding-inline: 25px; }
.contact-details dd { font-weight: 500; font-size: .94rem; }
.site-footer { padding-bottom: 105px; border-top: 1px solid rgba(208,176,112,.18); }
@media (min-width: 641px) and (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map, .contact-map iframe { min-height: 400px; }
}
@media (max-width: 640px) {
  .office-strip-grid { grid-template-columns: 1fr; padding-block: 10px; }
  .office-strip p, .office-strip p:first-child { padding: 15px 3px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .82rem; }
  .office-strip p + p { border-left: 0; border-top: 1px solid rgba(208,176,112,.18); }
  .office-strip span { margin: 0; font-size: .6rem; }
  .case-card { padding: 28px; }
  .hero h1 { font-size: clamp(2.25rem,10.5vw,3.3rem); }
  .practice-list li { padding-inline: 5px; gap: 8px; font-size: .83rem; }
  .map-heading { padding: 18px 22px; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { position: fixed; inset: 84px 0 auto; padding: 24px 20px 30px; display: none; flex-direction: column; align-items: stretch; gap: 7px; border-top: 1px solid rgba(208,176,112,.2); background: var(--navy-950); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px; text-align: center; }
  .hero-grid, .bio-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .portrait-frame { width: min(100%, 480px); justify-self: center; }
  .three-cards { grid-template-columns: 1fr; }
  .case-card { min-height: 0; }
  .case-card a { margin-top: 14px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .timeline li:nth-child(3) { border-left: 0; }
  .practice-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 62px 0; }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 40px; height: 45px; }
  .brand strong { font-size: .98rem; }
  .brand small { font-size: .61rem; }
  .main-nav { inset: 74px 0 auto; }
  .hero { padding: 64px 0 58px; }
  .hero-grid { gap: 50px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.3rem); }
  .urgent-box { padding: 19px; }
  .hero-actions .button { width: 100%; }
  .portrait-caption { left: 24px; right: 24px; bottom: 24px; flex-direction: column; align-items: flex-start; gap: 0; }
  .section-heading { margin-bottom: 32px; text-align: left; }
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline li + li { border-left: 0; }
  .document-grid, .contact-grid { grid-template-columns: 1fr; }
  .document-card { padding: 26px 22px; }
  .contact-grid { gap: 36px; }
  .contact-map, .contact-map iframe { min-height: 410px; }
  .contact-info h2 { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .contact-details > div { grid-template-columns: 1fr; gap: 5px; }
  .bio-grid { gap: 40px; }
  .practice-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 64px; height: 64px; }
  .floating-whatsapp svg { width: 35px; height: 35px; }
}

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