:root {
  --ink: #17120b;
  --muted: #71685d;
  --line: #d8c7a8;
  --paper: #fbf8ef;
  --soft: #f2eadb;
  --brand: #b88932;
  --brand-dark: #070604;
  --accent: #d6ad57;
  --wood: #6d4529;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.site-page,
body.legal-page {
  background: var(--brand-dark);
  padding-top: 73px;
}

body.legal-page.app-legal-page {
  padding-top: 0;
}

body.site-page::before,
body.site-page::after,
body.legal-page::before,
body.legal-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.site-page::before,
body.legal-page::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 4, 0.96), rgba(18, 13, 9, 0.88)),
    url("hero-law-office.png") center / cover no-repeat;
}

body.site-page::after,
body.legal-page::after {
  z-index: 0;
  background: var(--legal-bg-logo, url("logo-richard-de-paula-cropped.png")) center 24vh / min(620px, 72vw) auto no-repeat;
  opacity: 0;
  transition: opacity 260ms ease;
}

body.site-page.has-scrolled::after,
body.legal-page.has-scrolled::after {
  opacity: 0.09;
}

.site-page main,
.site-page .footer,
.legal-page main,
.legal-page .footer {
  position: relative;
  z-index: 1;
}

.site-page .topbar,
.legal-page .topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.legal-page main {
  padding-top: 0;
}

.app-legal-page main {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
  gap: 22px;
  align-items: center;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(7, 6, 4, 0.95);
  border-bottom: 1px solid rgba(214, 173, 87, 0.35);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 52px;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-text strong {
  color: var(--accent);
  font-size: 1rem;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.nav a:hover,
.text-link:hover {
  color: var(--brand);
}

.nav-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--brand);
  border-radius: 6px;
  padding: 0 16px;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}

.language-switcher button {
  width: 32px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  overflow: hidden;
  padding: 0;
}

.language-switcher button::before {
  content: "";
  width: 28px;
  height: 20px;
  display: block;
  border-radius: 2px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.language-switcher button[data-lang-button="pt"]::before {
  background-image: url("flag-br.svg");
}

.language-switcher button[data-lang-button="en"]::before {
  background-image: url("flag-gb.svg");
}

.language-switcher button[data-lang-button="es"]::before {
  background-image: url("flag-es.svg");
}

.language-switcher button.is-active {
  display: none;
}

.page-reader {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 6px;
  border: 1px solid rgba(214, 173, 87, 0.3);
  border-radius: 6px;
  background: rgba(7, 6, 4, 0.52);
  color: rgba(255, 255, 255, 0.82);
  vertical-align: middle;
}

.page-reader-title {
  color: var(--accent);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.reader-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.reader-control {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(214, 173, 87, 0.34);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.reader-control:hover,
.reader-control.is-active {
  background: var(--accent);
  color: var(--brand-dark);
}

.reader-control:disabled,
.reader-speed select:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.reader-speed {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
}

.reader-speed select {
  height: 26px;
  max-width: 62px;
  border: 1px solid rgba(214, 173, 87, 0.36);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
}

.reader-speed option {
  color: var(--ink);
}

.reader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-reader[data-reader-state="empty"] .reader-status,
.page-reader[data-reader-state="error"] .reader-status,
.page-reader[data-reader-state="unsupported"] .reader-status {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--accent);
}

body.device-mobile .topbar,
body.device-tablet .topbar {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

body.device-mobile .brand img,
body.device-tablet .brand img,
body.device-mobile .nav-action,
body.device-tablet .nav-action {
  display: none;
}

body.device-mobile .brand,
body.device-tablet .brand {
  order: 1;
}

body.device-mobile .menu-button,
body.device-tablet .menu-button {
  display: block;
  order: 2;
}

body.device-mobile .language-switcher,
body.device-tablet .language-switcher {
  order: 3;
  display: flex;
  gap: 4px;
  opacity: 1;
  visibility: visible;
}

body.device-mobile .language-switcher button,
body.device-tablet .language-switcher button {
  display: inline-grid;
}

body.device-mobile .language-switcher button,
body.device-tablet .language-switcher button {
  width: 30px;
  height: 22px;
  font-size: 0;
}

body.device-mobile .language-switcher button.is-active,
body.device-tablet .language-switcher button.is-active {
  display: none;
}

body.device-mobile .nav,
body.device-tablet .nav {
  grid-column: 1 / -1;
  order: 5;
  display: none;
  padding: 12px 0 4px;
  border-top: 1px solid var(--line);
}

body.device-mobile .nav.is-open,
body.device-tablet .nav.is-open {
  display: grid;
  gap: 12px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 75px));
  display: flex;
  align-items: center;
  padding: clamp(72px, 12vw, 132px) clamp(22px, 6vw, 86px) clamp(80px, 9vw, 116px);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 6, 4, 0.94) 0%, rgba(20, 15, 10, 0.78) 45%, rgba(22, 14, 9, 0.34) 100%);
  z-index: -1;
}

.hero-content {
  width: min(720px, 100%);
  max-width: 720px;
  color: var(--white);
  display: grid;
  justify-items: center;
  transform: translateY(-2.6cm);
}

.hero-eyebrow {
  width: fit-content;
  max-width: min(620px, 88vw);
  display: block;
  margin: 0 auto 10px;
  padding: 0;
  text-align: center;
  background: transparent;
  border: 0;
  line-height: 1.2;
  white-space: normal;
}

.hero-logo {
  width: min(620px, 88vw);
  aspect-ratio: 3 / 2;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(0.62rem, 1.25vw, 0.78rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow.hero-eyebrow {
  margin: 0 auto 10px;
  font-size: clamp(0.58rem, 1vw, 0.74rem);
  letter-spacing: 0.11em;
  overflow-wrap: normal;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4.1vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.13rem;
}

.hero-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.92rem, 1.25vw, 1.04rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 700;
}

.button.primary {
  background: var(--accent);
  color: #1d1910;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.button.wide {
  width: 100%;
  margin-top: 24px;
}

.payment-thanks {
  min-height: calc(100vh - 145px);
  display: grid;
  place-items: center;
  padding: clamp(72px, 10vw, 128px) clamp(22px, 6vw, 86px);
  color: var(--white);
  text-align: center;
}

.payment-thanks-inner {
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 16px;
}

.payment-logo {
  width: min(440px, 82vw);
  max-height: 250px;
  margin-bottom: 4px;
}

.payment-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

.payment-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.payment-thanks .hero-actions {
  justify-content: center;
  margin-top: 14px;
}

.quick-strip {
  width: min(1120px, calc(100% - 44px));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(214, 173, 87, 0.32);
  background: rgba(7, 6, 4, 0.82);
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.quick-strip div {
  min-height: 96px;
  padding: 22px;
  border-right: 1px solid rgba(214, 173, 87, 0.26);
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.quick-strip strong {
  display: block;
  margin-top: 5px;
  color: var(--accent);
}

.section {
  padding: clamp(70px, 10vw, 118px) clamp(22px, 6vw, 86px);
}

.site-page .section:not(.clipping-section) {
  background: transparent;
  color: var(--white);
}

.site-page .section h2,
.site-page .section h3,
.site-page .section strong {
  color: rgba(255, 255, 255, 0.94);
}

.two-column,
.client-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.contact-section {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  scroll-margin-top: 96px;
}

.contact-heading {
  margin-bottom: 0;
  max-width: 820px;
}

.prose {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.06rem;
}

.prose p:first-child {
  margin-top: 0;
}

.profile-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  background: transparent;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head.compact {
  max-width: 700px;
}

.language-note {
  margin: 10px 0 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 184px;
  padding: 26px;
  background: rgba(7, 6, 4, 0.72);
  border: 1px solid rgba(214, 173, 87, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.timeline span {
  display: inline-flex;
  min-width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
}

.practice-list {
  display: grid;
  gap: 12px;
}

.area-card {
  background: rgba(7, 6, 4, 0.74);
  border: 1px solid rgba(214, 173, 87, 0.28);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.area-card summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.area-card summary::-webkit-details-marker {
  display: none;
}

.area-card summary::after {
  content: "+";
  grid-column: 2;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
}

.area-card[open] summary::after {
  content: "-";
}

.area-card summary strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.area-intro {
  margin: 0;
  padding: 0 24px 18px;
  color: rgba(255, 255, 255, 0.72);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0 24px 26px 42px;
  color: rgba(255, 255, 255, 0.72);
}

.service-list li {
  padding-left: 4px;
}

.process-section {
  background: transparent;
}

.clipping-section {
  background: rgba(7, 6, 4, 0.9);
  backdrop-filter: blur(2px);
  color: var(--white);
}

.clipping-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.clipping-toolbar p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.small-button {
  min-height: 42px;
  border: 1px solid rgba(214, 173, 87, 0.58);
  border-radius: 6px;
  padding: 0 14px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(214, 173, 87, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.news-card span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-card h3 {
  margin: 0;
  color: var(--white);
}

.news-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.news-card a {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.client-section {
  padding: clamp(70px, 10vw, 118px) clamp(22px, 6vw, 86px);
  background: rgba(9, 8, 6, 0.92);
  backdrop-filter: blur(2px);
  color: var(--white);
  align-items: center;
}

.client-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.feature-list span {
  border: 1px solid rgba(198, 154, 69, 0.48);
  border-radius: 6px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.86);
}

.login-panel,
.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  background: rgba(7, 6, 4, 0.78);
  color: var(--white);
  border-radius: 8px;
  border: 1px solid rgba(214, 173, 87, 0.28);
  backdrop-filter: blur(3px);
}

.contact-form-whatsapp {
  gap: 18px;
}

.contact-main-fields {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(340px, 1.22fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: stretch;
}

.contact-basic-fields {
  display: grid;
  gap: 14px;
  align-content: start;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 4px;
}

.panel-head span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.login-panel label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.login-panel input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.login-panel input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(214, 173, 87, 0.22);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.phone-fieldset {
  display: grid;
  grid-template-columns: minmax(76px, 0.55fr) minmax(88px, 0.65fr) minmax(180px, 1.8fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
}

.phone-fieldset legend {
  grid-column: 1 / -1;
  margin-bottom: -5px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.phone-fieldset label {
  min-width: 0;
}

.phone-fieldset select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.contact-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.message-field {
  min-height: 100%;
}

.message-field textarea {
  height: 100%;
  min-height: 224px;
}

.contact-action-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(220px, 0.42fr);
  gap: 16px;
  align-items: start;
}

.turnstile-wrapper {
  display: grid;
  gap: 8px;
  min-height: 78px;
  align-content: start;
}

.turnstile-placeholder {
  min-height: 70px;
}

.turnstile-error {
  min-height: 20px;
  color: #f0c56a;
  font-size: 0.9rem;
  font-weight: 700;
}

.login-panel button,
.form-button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 700;
}

.login-panel button:hover,
.form-button:hover {
  filter: brightness(1.06);
}

.login-panel button:disabled,
.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.login-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.contact-form {
  min-height: auto;
}

.contact-action-row .form-button {
  width: 100%;
  min-height: 70px;
}

.contact-form span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-form p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 20px;
  font-size: 0.92rem;
}

address {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

address a {
  color: var(--accent);
  font-weight: 700;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px 14px;
  padding: 26px clamp(22px, 6vw, 86px);
  background: #171313;
  color: rgba(255, 255, 255, 0.74);
}

.footer > * {
  min-width: 0;
}

.footer > *:not(:last-child)::after {
  content: "-";
  margin-left: 14px;
  color: rgba(214, 173, 87, 0.4);
}

.footer strong {
  color: var(--accent);
}

.footer-addon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1;
}

.footer-addon:hover {
  color: var(--white);
}

.footer-addon img {
  width: clamp(74px, 9vw, 118px);
  height: auto;
  display: block;
  object-fit: contain;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  color: inherit;
  font-size: inherit;
}

.legal-links a + a::before {
  content: "-";
  margin-right: 14px;
  color: rgba(214, 173, 87, 0.4);
}

.legal-links a:hover {
  color: var(--accent);
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 4vw, 42px);
  bottom: clamp(14px, 4vw, 34px);
  left: clamp(14px, 4vw, 42px);
  z-index: 140;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(214, 173, 87, 0.42);
  border-radius: 8px;
  background: rgba(7, 6, 4, 0.96);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-copy {
  display: grid;
  gap: 8px;
}

.cookie-copy strong {
  color: var(--accent);
  font-size: 0.98rem;
}

.cookie-copy p {
  max-width: 980px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-copy ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-actions a {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.cookie-actions a:hover {
  color: var(--white);
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 800;
}

.legal-hero {
  position: relative;
  min-height: 410px;
  display: grid;
  place-items: center;
  padding: clamp(86px, 12vw, 132px) clamp(22px, 6vw, 86px) clamp(58px, 8vw, 88px);
  overflow: hidden;
  background: transparent;
  color: var(--white);
  text-align: center;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(214, 173, 87, 0.1), transparent 56%);
  pointer-events: none;
}

.legal-hero-inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
}

.legal-hero-logo {
  width: min(420px, 82vw);
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.4));
}

.legal-hero h1 {
  font-size: clamp(1.55rem, 4.25vw, 4rem);
  white-space: nowrap;
  overflow-wrap: normal;
}

.legal-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-hero p.legal-single-line {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.legal-hero p.legal-single-line::-webkit-scrollbar {
  display: none;
}

.legal-hero .legal-meta {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.legal-document {
  position: relative;
  padding: clamp(56px, 8vw, 96px) clamp(22px, 6vw, 86px);
  background: transparent;
  overflow: hidden;
}

.legal-document-inner {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.legal-content {
  display: grid;
  gap: 28px;
}

.legal-content[hidden] {
  display: none;
}

.legal-block {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(214, 173, 87, 0.28);
}

.legal-block:last-child {
  border-bottom: 0;
}

.legal-block h2 {
  color: var(--brand);
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-block h2 span {
  color: var(--brand);
}

.legal-block h3 {
  margin: 22px 0 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
}

.legal-block p,
.legal-block li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
}

.legal-block p {
  margin: 10px 0;
}

.legal-block ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.legal-table {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border: 1px solid rgba(214, 173, 87, 0.28);
  border-radius: 6px;
  overflow: hidden;
}

.legal-table div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 3fr;
}

.legal-table div:first-child {
  background: rgba(214, 173, 87, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.legal-table span {
  padding: 12px 14px;
  border-right: 1px solid rgba(214, 173, 87, 0.22);
  color: rgba(255, 255, 255, 0.74);
}

.legal-table span:last-child {
  border-right: 0;
}

.legal-table div + div {
  border-top: 1px solid rgba(214, 173, 87, 0.22);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }

  .menu-button {
    display: block;
    order: 2;
  }

  .nav {
    grid-column: 1 / -1;
    order: 5;
    display: none;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }

  .brand {
    order: 1;
  }

  .nav-action {
    order: 4;
  }

  .language-switcher {
    order: 3;
  }

  .nav.is-open {
    display: grid;
    gap: 12px;
  }

  .quick-strip,
  .timeline,
  .news-grid,
  .two-column,
  .client-section {
    grid-template-columns: 1fr;
  }

  .contact-main-fields,
  .contact-action-row {
    grid-template-columns: 1fr;
  }

  .message-field textarea {
    min-height: 180px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .clipping-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip div:last-child {
    border-bottom: 0;
  }

  body.device-desktop .topbar {
    grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
  }

  body.device-desktop .menu-button {
    display: none;
  }

  body.device-desktop .brand,
  body.device-desktop .nav-action,
  body.device-desktop .language-switcher,
  body.device-desktop .nav {
    order: initial;
  }

  body.device-desktop .nav {
    grid-column: auto;
    display: flex;
    padding: 0;
    border-top: 0;
  }
}

@media (max-width: 560px) {
  body.site-page,
  body.legal-page {
    padding-top: 68px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    padding: 10px 14px;
  }

  body.device-mobile .brand img,
  body.device-tablet .brand img {
    display: none;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .brand-text small {
    font-size: 0.72rem;
  }

  body.device-mobile .nav-action,
  body.device-tablet .nav-action {
    display: none;
  }

  body.device-mobile .language-switcher,
  body.device-tablet .language-switcher {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .language-switcher button {
    width: 30px;
    height: 22px;
    font-size: 0;
  }

  .page-reader {
    margin: 8px auto 0;
    padding: 4px 6px;
    justify-content: center;
  }

  .page-reader-title {
    font-size: 0.62rem;
  }

  .reader-controls {
    gap: 4px;
  }

  .reader-speed {
    font-size: 0.66rem;
  }

  .hero {
    min-height: 690px;
    padding-inline: 18px;
  }

  .hero-content {
    transform: translateY(-1.4cm);
  }

  .eyebrow.hero-eyebrow {
    max-width: min(520px, 90vw);
    padding: 0;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .hero-logo {
    width: min(560px, 90vw);
  }

  .legal-hero {
    background-attachment: scroll;
  }

  .legal-hero h1 {
    font-size: 1.25rem;
  }

  .legal-table div {
    grid-template-columns: 1fr;
  }

  .legal-table span {
    border-right: 0;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cookie-actions {
    justify-content: space-between;
  }

  .phone-fieldset {
    grid-template-columns: 1fr 1fr;
  }

  .phone-number-field {
    grid-column: 1 / -1;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section,
  .client-section {
    padding-inline: 18px;
  }

  .area-card summary {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .area-intro,
  .service-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 14px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-actions a,
  .cookie-actions button {
    width: 100%;
    text-align: center;
  }
}



/* Integração progressiva do clipping com o Blog Jurídico. */
.clipping-blog-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
.news-card.is-blog-card { border-color: rgba(214, 173, 87, 0.56); background: rgba(214, 173, 87, 0.1); }
.news-card.is-blog-card .news-origin { display: inline-flex; align-items: center; gap: 6px; }
.news-card.is-blog-card .news-origin::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
