:root {
  --navy-950: #020d17;
  --navy-900: #061827;
  --navy-850: #0a2234;
  --navy-800: #103148;
  --charcoal: #17201f;
  --ink: #0b2235;
  --gold: #c79a3b;
  --gold-light: #dfbd72;
  --gold-dark: #956d22;
  --white: #ffffff;
  --paper: #f5f4f0;
  --mist: #e9edf0;
  --muted: #9daab4;
  --line: rgba(255,255,255,.13);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --header-h: 82px;
  --section-y: clamp(5.5rem, 9vw, 9rem);
  --container: 1220px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; max-width: 100%; overflow-x: clip; color: #e7ebee; background: var(--navy-950); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body, button, input, textarea, select { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--navy-950); background: var(--gold); }
.container-xl { max-width: var(--container); }
.skip-link { position: fixed; z-index: 9999; top: -5rem; left: 1rem; padding: .8rem 1rem; color: var(--navy-950); background: var(--gold); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 1rem; }

.site-header { height: var(--header-h); display: flex; align-items: center; color: var(--white); border-bottom: 1px solid transparent; transition: height .3s, background .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { height: 70px; background: rgba(2,13,23,.95); border-color: var(--line); box-shadow: 0 12px 34px rgba(0,0,0,.22); backdrop-filter: blur(14px); }
.navbar { width: 100%; padding: 0; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: .08em; line-height: .9; }
.brand small { display: block; margin-top: .18rem; color: var(--gold); font-size: .55rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.navbar-nav { gap: clamp(.05rem,.55vw,.65rem); }
.navbar .nav-link { position: relative; padding: .85rem .43rem !important; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 500; white-space: nowrap; }
.navbar .nav-link::after { content: ""; position: absolute; right: .43rem; bottom: .38rem; left: .43rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--white); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.theme-toggle { min-height: 40px; margin-left: .85rem; padding: .52rem .68rem; display: inline-flex; align-items: center; gap: .42rem; color: rgba(255,255,255,.76); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18); border-radius: 2px; font-size: .65rem; font-weight: 600; transition: .25s; }
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--gold-light); border-color: rgba(199,154,59,.6); outline: none; }
.theme-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-moon { display: none; }
.navbar-toggler { width: 44px; height: 44px; padding: 10px; color: var(--white); border: 0; border-radius: 0; box-shadow: none !important; }
.menu-line { display: block; height: 1px; margin: 6px 0; background: currentColor; }

.btn { min-height: 49px; padding: .78rem 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; border-radius: 1px; font-size: .8rem; font-weight: 700; transition: transform .25s var(--ease), color .25s, background .25s, border-color .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { color: var(--navy-950); background: var(--gold); border: 1px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { color: var(--navy-950); background: var(--gold-light); border-color: var(--gold-light); box-shadow: 0 14px 32px rgba(199,154,59,.2); }
.btn-outline { color: var(--white); background: rgba(2,13,23,.18); border: 1px solid rgba(255,255,255,.4); }
.btn-outline:hover { color: var(--white); background: rgba(255,255,255,.08); border-color: var(--white); }

.hero { min-height: max(730px,100svh); position: relative; display: flex; align-items: center; overflow: hidden; background: var(--navy-950); }
.hero-media { position: absolute; inset: 0; background: url("assets/hero-escritorio-vazio.png") 62% center/cover no-repeat; animation: heroZoom 16s ease-out both; }
.hero-edge { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(2,13,23,.99) 0%,rgba(2,13,23,.94) 29%,rgba(2,13,23,.54) 54%,rgba(2,13,23,.08) 78%); }
.hero-edge::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(transparent,var(--navy-950)); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 7rem; }
.hero-copy { max-width: 700px; }
.hero h1, .section h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 { max-width: 690px; color: var(--white); font-size: clamp(3.6rem,6.4vw,6.5rem); line-height: .94; }
.hero h1 em, .section h2 em { color: var(--gold); font-style: normal; }
.hero-copy > p { max-width: 560px; margin: 2rem 0 0; color: #c7d0d7; font-size: clamp(1.02rem,1.4vw,1.18rem); line-height: 1.75; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-actions .btn { min-width: 205px; }
.scroll-cue { position: absolute; z-index: 2; bottom: 1.5rem; left: 50%; width: 28px; height: 42px; border: 1px solid rgba(255,255,255,.33); border-radius: 17px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; border-radius: 3px; background: var(--gold); animation: scrollDot 1.8s infinite; }

.section { position: relative; padding: var(--section-y) 0; }
.section-label { margin: 0 0 1.15rem; color: var(--gold); font-size: .67rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section h2 { color: var(--white); font-size: clamp(2.8rem,5vw,4.8rem); line-height: 1.02; }
.section p { line-height: 1.75; }
.lead-copy { margin: 1.7rem 0 1rem; color: #e2e7ea; font-size: 1.08rem; }
.text-link { display: inline-flex; align-items: center; gap: .65rem; color: var(--gold-light); font-size: .79rem; font-weight: 600; }
.text-link span { transition: transform .2s; }
.text-link:hover { color: var(--gold); }
.text-link:hover span { transform: translateX(5px); }

.section-history { background: var(--navy-850); }
.history-layout { display: grid; grid-template-columns: minmax(300px,.92fr) minmax(340px,1.08fr); gap: clamp(3rem,7vw,7rem); align-items: center; }
.history-intro { max-width: 510px; }
.history-intro > p { margin: 2rem 0 0; color: #b8c3ca; font-size: .92rem; line-height: 1.9; text-align: justify; text-justify: inter-word; hyphens: auto; }
.history-media { margin: 0; overflow: hidden; border: 1px solid rgba(199,154,59,.38); }
.history-media img { width: 100%; height: auto; max-height: none; display: block; object-fit: contain; filter: saturate(.82) brightness(.82); }
.history-toggle { margin-top: 1.65rem; padding: .35rem 0; display: inline-flex; align-items: center; gap: .65rem; color: var(--gold-light); background: transparent; border: 0; border-bottom: 1px solid rgba(199,154,59,.55); font-size: .78rem; font-weight: 700; }
.history-toggle:hover, .history-toggle:focus-visible { color: var(--gold); outline: none; border-color: var(--gold); }
.history-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.history-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.history-more { margin-top: clamp(3rem,5vw,5rem); padding-top: clamp(2.5rem,4vw,4rem); border-top: 1px solid var(--line); }
.history-more[hidden] { display: none; }
.history-copy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem,5vw,5rem); }
.history-copy > div { min-width: 0; }
.history-copy p { margin: 0 0 1.45rem; color: #b8c3ca; font-size: .92rem; line-height: 1.9; text-align: justify; text-justify: inter-word; hyphens: auto; }

.section-team { min-height: 680px; display: flex; align-items: center; background: var(--navy-900); }
.team-layout { display: grid; grid-template-columns: .78fr 1fr 1fr; gap: clamp(1.8rem,3vw,3.5rem); align-items: center; }
.team-intro { align-self: center; padding-right: clamp(.5rem,2vw,2rem); }
.team-intro::before { content: ""; width: 58px; height: 2px; margin-bottom: 1.25rem; display: block; background: var(--gold); }
.team-intro h2 { font-size: clamp(2.7rem,4.3vw,4.2rem); }
.team-intro p:last-child { max-width: 330px; margin: 1.65rem 0 0; color: #abb7c0; font-size: .86rem; line-height: 1.85; }
.team-member { width: 100%; overflow: hidden; border: 1px solid rgba(199,154,59,.75); background: var(--navy-850); }
.team-member > img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center top; filter: saturate(.9) contrast(1.02); }
.team-member-info { padding: 1.2rem 1.35rem 1.35rem; border-top: 1px solid rgba(199,154,59,.48); }
.team-member h3 { margin: 0; padding-bottom: .58rem; position: relative; color: var(--gold-light); font-family: var(--serif); font-size: clamp(1.7rem,2.3vw,2.35rem); font-weight: 400; }
.team-member h3::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: rgba(199,154,59,.55); }
.team-member p { margin: .58rem 0 0; color: #d5dce1; font-size: .7rem; }
.team-bio-toggle { margin-top: 1rem; padding: .3rem 0; display: inline-flex; align-items: center; gap: .55rem; color: var(--gold-light); background: transparent; border: 0; border-bottom: 1px solid rgba(199,154,59,.55); font-size: .7rem; font-weight: 700; }
.team-bio-toggle:hover, .team-bio-toggle:focus-visible { color: var(--gold); outline: none; border-color: var(--gold); }
.team-bio-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.team-bio-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.team-biographies { margin-top: clamp(3.5rem,6vw,6rem); }
.team-biography { padding: clamp(2.5rem,5vw,5rem) 0; scroll-margin-top: 85px; border-top: 1px solid rgba(199,154,59,.5); border-bottom: 1px solid var(--line); }
.team-biography[hidden] { display: none; }
.team-biography header { max-width: 900px; margin-bottom: clamp(2.5rem,4vw,4rem); }
.team-biography header .section-label { margin-bottom: 1rem; }
.team-biography header h3 { margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(2.35rem,4.5vw,4.25rem); font-weight: 400; line-height: 1.06; letter-spacing: -.025em; }
.team-credentials { max-width: 820px; margin: 1.2rem 0 0; color: var(--gold-light); font-size: .78rem; line-height: 1.7; }
.team-biography-copy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(2rem,5vw,5rem); }
.team-biography-copy > div { min-width: 0; }
.team-biography-copy p { margin: 0 0 1.45rem; color: #b8c3ca; font-size: .88rem; line-height: 1.9; text-align: justify; text-justify: inter-word; hyphens: auto; }
.team-biography-copy .team-biography-closing { color: var(--gold-light); font-weight: 600; }

.section-practice { color: var(--ink); background: var(--paper); }
.section-practice h2 { color: var(--ink); }
.practice-intro { position: sticky; top: 110px; }
.practice-intro::before { content: ""; display: block; width: 68px; height: 2px; margin-bottom: 2rem; background: var(--gold); }
.practice-intro > p:last-child { margin: 1.5rem 0 0; color: #5e6973; }
.practice-list { border-top: 1px solid rgba(11,34,53,.18); }
.practice-row { min-height: 112px; display: grid; grid-template-columns: 82px 1fr 28px; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(11,34,53,.18); transition: padding .25s, background .25s; }
.practice-row:hover { padding: 0 1rem; background: rgba(199,154,59,.07); }
.practice-row > span { color: var(--gold-dark); font-family: var(--serif); font-size: 1.65rem; }
.practice-row h3 { margin: 0; color: var(--ink); font-size: clamp(1.1rem,2vw,1.45rem); font-weight: 600; }
.practice-row p { margin: .28rem 0 0; color: #66717b; font-size: .76rem; line-height: 1.5; }
.practice-row i { color: var(--gold-dark); font-style: normal; font-size: 1.25rem; }

.section-news { color: var(--ink); background: var(--white); }
.section-heading { margin-bottom: 3.5rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section-news h2 { color: var(--ink); }
.news-list { border-top: 1px solid rgba(11,34,53,.16); }
.news-row { min-height: 190px; padding: 2rem 0; display: grid; grid-template-columns: 150px 1.45fr 1fr 32px; align-items: center; gap: 2rem; border-bottom: 1px solid rgba(11,34,53,.16); }
.news-meta { align-self: start; padding-top: .25rem; }
.news-meta time, .news-meta span { display: block; color: var(--gold-dark); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-meta span { margin-top: .55rem; color: #536577; }
.news-row h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(1.5rem,2.5vw,2.05rem); font-weight: 400; line-height: 1.2; }
.news-row p { margin: 0; color: #66717b; font-size: .83rem; }
.news-row > a { color: var(--gold-dark); font-size: 1.25rem; transition: transform .2s; }
.news-row > a:hover { transform: translateX(5px); }

.section-publications { background: var(--navy-850); }
.publication-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.publication-item { min-height: 390px; padding: clamp(2rem,4vw,3.6rem); position: relative; }
.publication-item + .publication-item { border-left: 1px solid var(--line); }
.publication-item > div { display: flex; gap: 1.4rem; color: var(--gold); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.publication-item h3 { max-width: 470px; margin: 1.5rem 0 1rem; color: var(--white); font-family: var(--serif); font-size: clamp(2rem,3.6vw,3rem); font-weight: 400; line-height: 1.1; }
.publication-item p { max-width: 490px; color: #aab7c0; font-size: .86rem; }
.publication-item > a { position: absolute; bottom: 2.5rem; color: var(--gold); font-size: 1.3rem; }

.section-contact { background: var(--charcoal); }
.section-contact .col-lg-5 > p:not(.section-label) { margin: 1.5rem 0 2rem; color: #aeb7bc; }
.contact-details { display: grid; gap: 1rem; }
.contact-info-item { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; gap: 1rem; }
.contact-info-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--gold); background: var(--navy-900); border: 1px solid rgba(199,154,59,.13); border-radius: 50%; }
.contact-info-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label { display: block; margin-bottom: .15rem; color: var(--gold); font-size: .62rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-info-item a, .contact-info-item p { margin: 0; color: #f0f2f3; font-size: .85rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.contact-info-item a:hover { color: var(--gold-light); }
.contact-form { padding: clamp(1.6rem,4vw,3.4rem); background: var(--navy-900); border: 1px solid rgba(199,154,59,.2); box-shadow: 0 28px 72px rgba(0,0,0,.25); }
.form-heading { margin-bottom: 1rem; padding-bottom: 1.5rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.form-heading span { color: var(--white); font-family: var(--serif); font-size: 1.75rem; }
.form-heading p { margin: 0; color: #7f8e9b; font-size: .64rem; }
.form-label { color: #b8c2ca; font-size: .68rem; font-weight: 600; }
.form-control, .form-select { min-height: 50px; color: var(--white); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.14); border-radius: 0; font-size: .84rem; }
.form-control:focus, .form-select:focus { color: var(--white); background: rgba(255,255,255,.055); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(199,154,59,.1); }
.form-select { color-scheme: dark; }
.form-select option, .form-select optgroup { color: var(--ink); background: var(--white); }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-check-label { color: #91a0ac; font-size: .7rem; }
.form-check-input { border-radius: 0 !important; background: transparent; border-color: #6b7a86; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }
.invalid-feedback { font-size: .67rem; }
.form-success { margin-top: 1rem; padding: 1rem; display: flex; gap: .8rem; color: #cbe3d3; background: rgba(71,133,95,.16); border: 1px solid rgba(107,181,133,.25); }
.form-success > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 50%; background: #5a9a70; }
.form-success strong { display: block; color: var(--white); font-size: .84rem; }
.form-success p { margin: .2rem 0 0; font-size: .7rem; }

.site-footer { min-height: 490px; position: relative; color: #8d9aa5; background: var(--navy-950); border-top: 1px solid var(--line); }
.footer-content { padding-top: 5.5rem; padding-bottom: 1.4rem; }
.site-footer .brand, .site-footer .brand:hover { color: var(--white); }
.footer-brand { margin-bottom: 1.3rem; }
.footer-about > p { max-width: 330px; margin: 0; color: #9aa6af; font-size: .8rem; line-height: 1.75; }
.footer-social { margin-top: 2rem; display: flex; gap: .75rem; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; color: #8d969e; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; transition: color .2s, border-color .2s, transform .2s; }
.footer-social a:hover { color: var(--gold); border-color: rgba(199,154,59,.45); transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-column h2 { margin: 0 0 1.35rem; color: var(--white); font-family: var(--serif); font-size: 1.18rem; font-weight: 400; }
.footer-links { display: grid; gap: .72rem; }
.footer-links a { color: #a1abb3; font-size: .76rem; line-height: 1.45; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-list { margin: 0; display: grid; gap: 1rem; font-style: normal; }
.footer-contact-list > a, .footer-contact-list > span { display: grid; grid-template-columns: 19px minmax(0,1fr); align-items: start; gap: .7rem; color: #aab3ba; font-size: .76rem; line-height: 1.55; }
.footer-contact-list a { transition: color .2s; }
.footer-contact-list a:hover { color: var(--white); }
.footer-contact-list svg { width: 18px; height: 18px; margin-top: .05rem; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-address-line { white-space: nowrap; font-size: .7rem; letter-spacing: -.015em; }
.footer-legal { margin-top: 5rem; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.footer-legal-main { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-legal-main > div { display: flex; gap: 2rem; }
.footer-legal p, .footer-legal a { margin: 0; color: #788691; font-size: .62rem; line-height: 1.6; }
.footer-legal a:hover { color: var(--gold); }
.footer-legal > p { margin-top: 1.25rem; text-align: center; }

.whatsapp-float { position: fixed; z-index: 90; right: 1.4rem; bottom: 5.2rem; width: 62px; height: 62px; display: grid; place-items: center; color: var(--white); background: #20b65a; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 12px 28px rgba(0,0,0,.3); transition: transform .25s var(--ease), background .25s; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: var(--white); background: #159c49; transform: translateY(-4px) scale(1.03); outline: 3px solid rgba(32,182,90,.25); outline-offset: 3px; }
.whatsapp-float svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whatsapp-float svg path:last-child { fill: currentColor; stroke: none; }
.back-to-top { position: fixed; z-index: 80; right: 1.9rem; bottom: 1.4rem; width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold); background: rgba(2,13,23,.92); border: 1px solid rgba(199,154,59,.5); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s var(--ease),transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.045); } to { transform: scale(1.01); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,15px); } }

html[data-theme="light"] body { color: #324657; background: #d9dfe2; }
html[data-theme="light"] .site-header { color: var(--ink); background-color: transparent !important; border-color: transparent; box-shadow: none; }
html[data-theme="light"] .site-header.scrolled { background-color: rgba(214,221,224,.95) !important; border-color: rgba(11,34,53,.14); box-shadow: 0 12px 34px rgba(18,40,55,.12); backdrop-filter: blur(14px); }
html[data-theme="light"] .brand, html[data-theme="light"] .brand:hover { color: var(--ink); }
html[data-theme="light"] .site-header:not(.scrolled) .navbar .nav-link { color: rgba(255,255,255,.88); text-shadow: 0 1px 10px rgba(2,13,23,.72); }
html[data-theme="light"] .site-header:not(.scrolled) .navbar .nav-link:hover,
html[data-theme="light"] .site-header:not(.scrolled) .navbar .nav-link.active { color: var(--white); }
html[data-theme="light"] .site-header.scrolled .navbar .nav-link { color: rgba(11,34,53,.72); text-shadow: none; }
html[data-theme="light"] .site-header.scrolled .navbar .nav-link:hover,
html[data-theme="light"] .site-header.scrolled .navbar .nav-link.active { color: var(--ink); }
html[data-theme="light"] .theme-toggle { color: var(--ink); background: rgba(255,255,255,.34); border-color: rgba(11,34,53,.22); }
html[data-theme="light"] .site-header:not(.scrolled) .theme-toggle { color: var(--white); background: rgba(2,13,23,.18); border-color: rgba(255,255,255,.45); text-shadow: 0 1px 8px rgba(2,13,23,.7); }
html[data-theme="light"] .navbar-toggler { color: var(--ink); }
html[data-theme="light"] .theme-icon-sun { display: none; }
html[data-theme="light"] .theme-icon-moon { display: block; }
html[data-theme="light"] .hero { background: #d9dfe2; }
html[data-theme="light"] .hero-media { filter: brightness(.8) saturate(.82) contrast(1.04); }
html[data-theme="light"] .hero-edge { background: linear-gradient(90deg,rgba(217,223,226,.97) 0%,rgba(217,223,226,.86) 30%,rgba(217,223,226,.42) 55%,rgba(217,223,226,.02) 78%); }
html[data-theme="light"] .hero-edge::after { background: linear-gradient(transparent,#d9dfe2); }
html[data-theme="light"] .hero h1 { color: var(--ink); }
html[data-theme="light"] .hero-copy > p { color: #4d6171; }
html[data-theme="light"] .btn-outline { color: var(--ink); background: rgba(255,255,255,.24); border-color: rgba(11,34,53,.42); }
html[data-theme="light"] .btn-outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
html[data-theme="light"] .scroll-cue { border-color: rgba(11,34,53,.35); }
html[data-theme="light"] .section-history { background: #d9dfe2; }
html[data-theme="light"] .section-history h2 { color: var(--ink); }
html[data-theme="light"] .history-intro > p,
html[data-theme="light"] .history-copy p { color: #465d6a; }
html[data-theme="light"] .history-toggle { color: var(--gold-dark); border-color: rgba(149,109,34,.6); }
html[data-theme="light"] .history-more { border-color: rgba(11,34,53,.15); }
html[data-theme="light"] .section-team { background: var(--navy-900); }
html[data-theme="light"] .section-team h2 { color: var(--white); }
html[data-theme="light"] .team-intro p:last-child { color: #abb7c0; }
html[data-theme="light"] .team-member { background: var(--navy-850); border-color: rgba(199,154,59,.6); }
html[data-theme="light"] .team-member p { color: #d5dce1; }
html[data-theme="light"] .section-practice { background: #dde3e6; }
html[data-theme="light"] .section-news { background: #e8ecee; }
html[data-theme="light"] .section-contact { background: #dfe5e7; }
html[data-theme="light"] .section-contact h2 { color: var(--ink); }
html[data-theme="light"] .section-contact .col-lg-5 > p:not(.section-label) { color: #5c6d79; }
html[data-theme="light"] .contact-info-icon { color: var(--gold); background: var(--navy-900); }
html[data-theme="light"] .contact-info-item a, html[data-theme="light"] .contact-info-item p { color: #233b4d; }
html[data-theme="light"] .contact-form { background: #eef1f2; border-color: rgba(149,109,34,.25); box-shadow: 0 28px 72px rgba(18,40,55,.12); }
html[data-theme="light"] .form-heading { border-color: rgba(11,34,53,.13); }
html[data-theme="light"] .form-heading span { color: var(--ink); }
html[data-theme="light"] .form-heading p, html[data-theme="light"] .form-check-label { color: #677886; }
html[data-theme="light"] .form-label { color: #405665; }
html[data-theme="light"] .form-control, html[data-theme="light"] .form-select { color: var(--ink); background: #e5eaec; border-color: rgba(11,34,53,.2); }
html[data-theme="light"] .form-control:focus, html[data-theme="light"] .form-select:focus { color: var(--ink); background: #f4f6f7; border-color: var(--gold); }
html[data-theme="light"] .form-select { color-scheme: light; }
html[data-theme="light"] .site-footer .brand, html[data-theme="light"] .site-footer .brand:hover { color: var(--white); }

@media (max-width: 1199.98px) {
  :root { --header-h: 72px; }
  .site-header { height: var(--header-h); background: rgba(2,13,23,.94); backdrop-filter: blur(12px); }
  .navbar-collapse { position: absolute; top: 72px; right: 0; left: 0; padding: 1.2rem max(1.5rem,calc((100vw - 960px)/2)); background: var(--navy-950); border-top: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
  .navbar-nav { align-items: stretch !important; }
  .navbar .nav-link { padding: .78rem 0 !important; border-bottom: 1px solid var(--line); }
  .navbar .nav-link::after { display: none; }
  .theme-toggle { width: 100%; margin: 1rem 0 0; justify-content: center; }
  html[data-theme="light"] .site-header { color: var(--ink); background-color: transparent !important; }
  html[data-theme="light"] .site-header:not(.scrolled) .navbar-toggler { color: var(--white); filter: drop-shadow(0 1px 5px rgba(2,13,23,.7)); }
  html[data-theme="light"] .site-header.scrolled .navbar-toggler { color: var(--ink); filter: none; }
  html[data-theme="light"] .navbar-collapse { background: #e8ecee; border-color: rgba(11,34,53,.13); box-shadow: 0 24px 50px rgba(18,40,55,.14); }
  html[data-theme="light"] .navbar .nav-link { border-color: rgba(11,34,53,.13); }
  .hero-media { background-position: 69% center; }
}

@media (max-width: 991.98px) {
  .hero { min-height: 820px; }
  .hero-edge { background: linear-gradient(90deg,rgba(2,13,23,.98),rgba(2,13,23,.8) 64%,rgba(2,13,23,.25)); }
  html[data-theme="light"] .hero-edge { background: linear-gradient(90deg,rgba(217,223,226,.96),rgba(217,223,226,.7) 62%,rgba(217,223,226,.16)); }
  .history-layout { grid-template-columns: 1fr; }
  .history-intro { max-width: 720px; }
  .history-media { width: 100%; max-width: 720px; }
  .section-team { min-height: 0; }
  .team-layout { grid-template-columns: repeat(2,1fr); }
  .team-intro { grid-column: 1/-1; max-width: 720px; margin-bottom: 1rem; }
  .practice-intro { position: static; margin-bottom: 1rem; }
  .news-row { grid-template-columns: 130px 1.5fr 1fr 24px; gap: 1.2rem; }
}

@media (max-width: 767.98px) {
  :root { --section-y: 5rem; }
  .brand-mark { width: 37px; height: 37px; }
  .brand strong { font-size: 1.18rem; }
  .brand small { font-size: .47rem; }
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-media { background-position: 68% center; }
  .hero-edge { background: linear-gradient(90deg,rgba(2,13,23,.96),rgba(2,13,23,.72)); }
  .hero-edge::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(2,13,23,.98) 0%,transparent 52%); }
  html[data-theme="light"] .hero-edge { background: linear-gradient(90deg,rgba(217,223,226,.92),rgba(217,223,226,.5)); }
  html[data-theme="light"] .hero-edge::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(217,223,226,.96) 0%,transparent 54%); }
  .hero-inner { padding-top: 9rem; padding-bottom: 6rem; }
  .hero h1 { font-size: clamp(3rem,14vw,4.25rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .section h2 { font-size: clamp(2.55rem,11vw,3.7rem); }
  .history-copy { grid-template-columns: 1fr; gap: 0; }
  .team-layout { grid-template-columns: 1fr; }
  .team-layout { align-items: stretch; }
  .team-intro { grid-column: auto; }
  .team-member { width: 100%; max-width: 520px; }
  .team-intro { padding-right: 0; }
  .team-biography-copy { grid-template-columns: 1fr; gap: 0; }
  .practice-row { min-height: 82px; grid-template-columns: 52px 1fr 22px; }
  .section-heading { margin-bottom: 2.5rem; display: block; }
  .section-heading .text-link { margin-top: 1.2rem; }
  .news-row { min-height: 0; padding: 1.8rem 0; grid-template-columns: 1fr 24px; gap: .8rem 1rem; }
  .news-meta, .news-row h3, .news-row p { grid-column: 1; }
  .news-row > a { grid-column: 2; grid-row: 1/4; align-self: center; }
  .publication-grid { grid-template-columns: 1fr; }
  .publication-item { min-height: 350px; }
  .publication-item + .publication-item { border-top: 1px solid var(--line); border-left: 0; }
  .form-heading { display: block; }
  .form-heading p { margin-top: .4rem; }
  .site-footer { min-height: 0; }
  .footer-content { padding-top: 4.2rem; }
  .footer-legal { margin-top: 3.5rem; }
  .footer-legal-main { display: block; }
  .footer-legal-main > p { padding-right: 4.75rem; }
  .footer-legal-main > div { margin-top: 1rem; gap: 1.25rem; }
  .footer-legal > p { text-align: left; }
  .whatsapp-float { right: 1rem; bottom: 4.85rem; width: 58px; height: 58px; }
  .back-to-top { right: 1.4rem; bottom: 1rem; }
}

@media (max-width: 399.98px) {
  .hero h1 { font-size: 2.75rem; }
  .contact-info-item { grid-template-columns: 44px minmax(0,1fr); gap: .8rem; }
  .contact-info-icon { width: 44px; height: 44px; }
}

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