:root {
  --bordeaux: #741f37;
  --bordeaux-dark: #4a0f22;
  --bordeaux-deep: #320914;
  --silver: #b9b9b9;
  --gold: #c7a861;
  --anthracite: #262626;
  --muted: #6f6a68;
  --off-white: #f8f7f5;
  --white: #ffffff;
  --border: #e5dfdb;
  --shadow: 0 24px 70px rgba(29, 18, 22, .18);
  --sidebar-width: 258px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--anthracite);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin-top: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; font-weight: 600; margin: 0 0 12px; }
.eyebrow.dark { color: var(--bordeaux); }

.site-header {
  position: fixed;
  inset: 0 0 auto var(--sidebar-width);
  z-index: 45;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 4vw;
  color: var(--bordeaux-dark);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(116,31,55,.08);
}
.mobile-brand, .menu-button { display: none; }
.language-switch { display: flex; gap: 10px; align-items: center; }
.language-switch button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: .82rem;
  opacity: .62;
}
.language-switch button.active { opacity: 1; font-weight: 600; color: var(--bordeaux); }

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  z-index: 60;
  display: flex;
  flex-direction: column;
  color: var(--white);
  padding: 38px 0 26px;
  background: linear-gradient(180deg, #4d0d20 0%, #2f0712 100%);
  border-radius: 56px 0 0 0;
  box-shadow: 18px 0 45px rgba(40,7,18,.16);
}
.side-brand { width: 170px; margin: 0 auto 72px; }
.side-brand img { filter: brightness(0) invert(1); }
.side-menu nav:not(.language-switch) { display: grid; }
.side-link {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 18px 28px;
  color: rgba(255,255,255,.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: .02em;
  transition: background .25s ease, color .25s ease;
}
.side-link svg { width: 27px; height: 27px; }
.side-link:hover,
.side-link:focus-visible,
.side-link.is-active {
  color: var(--white);
  background: rgba(116,31,55,.68);
}
.side-link.is-active::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: var(--gold);
}
.sidebar-language { margin: auto auto 22px; color: var(--white); }
.sidebar-language button.active { color: #ead39a; }
.sidebar-copyright { margin: 0; text-align: center; color: rgba(255,255,255,.67); font-family: Georgia, "Times New Roman", serif; font-size: .9rem; }
.close-menu { display: none; }
.menu-overlay { display: none; }

.site-shell { margin-left: var(--sidebar-width); padding-top: 72px; }

.hero {
  min-height: 780px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image: url("assets/hero-boardroom-clean.png");
  background-size: cover;
  background-position: 52% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17,10,12,.38), rgba(17,10,12,.14)),
    linear-gradient(0deg, rgba(17,10,12,.18), rgba(17,10,12,.06));
}
.hero-content {
  width: min(860px, 84vw);
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 110px 0 90px;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.15rem, 5.65vw, 5.45rem);
  line-height: 1;
  margin-bottom: 22px;
  font-weight: 400;
  letter-spacing: .015em;
  text-shadow: 0 2px 14px rgba(0,0,0,.22);
}
.hero-copy {
  max-width: 760px;
  margin: 26px auto 34px;
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
  line-height: 1.72;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.divider { display: flex; justify-content: center; align-items: center; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.divider::before, .divider::after { content: ""; width: 90px; height: 1px; background: rgba(255,255,255,.65); }
.divider span { width: 8px; height: 8px; border: 1px solid rgba(255,255,255,.75); transform: rotate(45deg); margin: 0 12px; }
.divider.dark::before, .divider.dark::after { background: rgba(116,31,55,.45); }
.divider.dark span { border-color: var(--bordeaux); }
.primary-button {
  border: 1px solid rgba(255,255,255,.72);
  background: linear-gradient(135deg, var(--bordeaux), #8b1738);
  color: var(--white);
  min-width: 220px;
  padding: 16px 28px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .83rem;
  cursor: pointer;
  transition: .25s ease;
}
.primary-button:hover { transform: translateY(-2px); background: var(--bordeaux-dark); }

.practice-section { padding: 100px 6vw 110px; position: relative; overflow: hidden; }
.practice-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  bottom: -180px;
  background: url("assets/logo-symbol.svg") center/contain no-repeat;
  opacity: .025;
}
.section-heading { text-align: center; margin-bottom: 55px; }
.section-heading h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.practice-card {
  width: 100%;
  min-height: 165px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.97);
  color: inherit;
  text-align: center;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px 18px;
  box-shadow: 0 10px 28px rgba(31,20,23,.05);
  transition: .3s ease;
}
.practice-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(116,31,55,.3); }
.practice-card:focus-visible { outline: 3px solid rgba(116,31,55,.25); outline-offset: 3px; }
.practice-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bordeaux);
}
.practice-card-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.practice-card h3 { font-size: 1.1rem; margin: 0; line-height: 1.35; font-weight: 500; }

.team-preview {
  padding: 70px 8vw;
  background: var(--off-white);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
}
.team-preview h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); max-width: 720px; margin: 0; }
.text-link { color: var(--bordeaux); font-weight: 600; white-space: nowrap; }
.muted-link { opacity: .65; }

footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux));
  color: var(--white);
  padding: 72px 6vw 26px;
}
.footer-watermark { position: absolute; right: -70px; bottom: -120px; width: 420px; opacity: .06; filter: brightness(0) invert(1); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1.3fr 1.5fr 1fr 1fr; gap: 34px; }
.footer-brand img { width: 170px; filter: brightness(0) invert(1); }
footer strong { display: block; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
footer a, footer p, footer address { display: block; font-style: normal; line-height: 1.8; margin: 0; font-size: .92rem; color: rgba(255,255,255,.88); }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.2); margin-top: 50px; padding-top: 22px; text-align: center; color: rgba(255,255,255,.7); font-size: .78rem; }
.footer-link-button { display: block; border: 0; padding: 0; background: none; color: rgba(255,255,255,.88); line-height: 1.8; font-size: .92rem; cursor: pointer; text-align: left; }
.footer-link-button:hover, footer a:hover { color: #fff; text-decoration: underline; }

/* Janelas */
dialog { color: var(--anthracite); }
dialog::backdrop { background: rgba(20,14,15,.64); backdrop-filter: blur(6px); }
.dialog-close {
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 5;
  border: 0;
  background: none;
  font-size: 2.15rem;
  font-weight: 200;
  color: var(--bordeaux-dark);
  cursor: pointer;
}

.practice-dialog {
  width: min(780px, 92vw);
  max-height: 90vh;
  border: 0;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}
.practice-dialog-inner { position: relative; background: var(--white); }
.practice-dialog-content { padding: 58px 72px 54px; text-align: center; }
.practice-dialog-icon { width: 72px; height: 72px; margin: 0 auto 22px; color: var(--bordeaux); }
.practice-dialog-icon svg { width: 100%; height: 100%; }
.practice-dialog-content h2 { font-size: clamp(2.8rem,5vw,4.25rem); margin-bottom: 16px; }
.practice-dialog-content .divider { margin-bottom: 30px; }
.practice-dialog-content #practiceDialogText {
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.95;
  text-align: justify;
  hyphens: auto;
  color: #454545;
}
.practice-book-button { margin-top: 38px; min-width: 290px; }

.contact-dialog {
  width: min(770px, 92vw);
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-dialog-inner { position: relative; background: var(--white); overflow-y: auto; max-height: 92vh; }
.contact-dialog-heading { padding: 46px 64px 22px; text-align: center; }
.contact-heading-icon { width: 58px; height: 58px; color: var(--bordeaux); margin-bottom: 14px; }
.contact-dialog-heading h2 { margin-bottom: 16px; color: var(--bordeaux-dark); font-size: clamp(2.8rem,5vw,4rem); text-transform: uppercase; letter-spacing: .02em; }
.contact-dialog-heading .divider { margin-bottom: 22px; }
.contact-dialog-heading p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
  text-align: center;
}
.contact-list { padding: 0 72px 12px; }
.contact-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #eadfd3;
}
.contact-row:last-child { border-bottom: 0; }
.contact-row > svg,
.contact-icon-link { width: 38px; height: 38px; color: var(--bordeaux); justify-self: center; }
.contact-icon-link { display: grid; place-items: center; }
.contact-icon-link svg { width: 38px; height: 38px; fill: currentColor; stroke: none; }
.contact-row strong {
  display: block;
  color: var(--bordeaux-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.contact-row address,
.contact-row p,
.contact-row a:not(.contact-icon-link) {
  font-style: normal;
  margin: 0;
  line-height: 1.55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}
.contact-row a:not(.contact-icon-link):hover { color: var(--bordeaux); }
.contact-map {
  position: relative;
  min-height: 190px;
  margin-top: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid #eadfd3;
  background-color: #f7f4ee;
  background-image:
    linear-gradient(30deg, transparent 47%, rgba(116,31,55,.07) 48%, rgba(116,31,55,.07) 51%, transparent 52%),
    linear-gradient(-30deg, transparent 47%, rgba(116,31,55,.07) 48%, rgba(116,31,55,.07) 51%, transparent 52%);
  background-size: 88px 52px;
}
.map-pin {
  position: absolute;
  top: 34px;
  left: 50%;
  width: 36px;
  height: 36px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 50% 50% 50% 0;
  background: var(--bordeaux);
  box-shadow: 0 10px 20px rgba(116,31,55,.2);
}
.map-pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--white);
}
.map-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 270px;
  margin-top: 58px;
  padding: 14px 24px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(48,31,36,.14);
}
.map-card strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; color: var(--bordeaux-dark); }
.map-card small { font-size: .72rem; color: #504b49; }
.contact-map:hover .map-card { transform: translateY(-2px); }

.booking-dialog {
  width: min(860px, 94vw);
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}
.booking-dialog form { padding: 44px; position: relative; overflow-y: auto; max-height: 92vh; }
.dialog-heading { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.dialog-heading h2 { font-size: 3rem; margin-bottom: 8px; }
.dialog-heading p:last-child { line-height: 1.6; color: #666; text-align: justify; hyphens: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.booking-dialog label { display: grid; gap: 8px; font-size: .85rem; font-weight: 600; }
.booking-dialog input, .booking-dialog select, .booking-dialog textarea {
  width: 100%;
  border: 1px solid #d8d2cf;
  padding: 13px 14px;
  background: #fff;
  color: var(--anthracite);
  outline: none;
}
.booking-dialog input:focus, .booking-dialog select:focus, .booking-dialog textarea:focus { border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(116,31,55,.08); }
.full-width { margin-top: 20px; }
.word-counter { text-align: right; color: #777; font-weight: 400; font-size: .75rem; }
.sensitive-data-note { color: #766d69; font-size: .76rem; font-weight: 400; line-height: 1.45; text-align: justify; }
.consent a { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 2px; }
.consent { grid-template-columns: 18px 1fr !important; align-items: start; margin: 18px 0; font-weight: 400 !important; line-height: 1.5; text-align: justify; }
.consent input { width: 16px; margin-top: 3px; }
.required-note { text-align: left; color: var(--bordeaux); font-size: .78rem; }
.confirmation-note { font-weight: 600; color: var(--anthracite); text-align: center; }
.submit-button { width: 100%; margin-top: 6px; }
.form-status { min-height: 24px; margin-bottom: 8px; text-align: center; font-size: .85rem; }
.form-status.success { color: #2f6d3d; }
.form-status.error { color: #a1232d; }

@media (max-width: 1100px) {
  :root { --sidebar-width: 225px; }
  .side-link { padding-left: 22px; padding-right: 20px; font-size: .98rem; }
  .side-brand { width: 145px; }
  .practice-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .site-header {
    inset: 0 0 auto 0;
    height: 88px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    padding: 0 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux));
  }
  .menu-button {
    display: inline-grid;
    grid-template-columns: 26px auto;
    grid-template-rows: repeat(3, 4px);
    gap: 4px 10px;
    align-items: center;
    justify-self: start;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
  }
  .menu-button span { width: 25px; height: 2px; background: currentColor; grid-column: 1; }
  .menu-button b { grid-column: 2; grid-row: 1 / 4; font-size: .78rem; }
  .mobile-brand { display: block; width: 110px; }
  .mobile-brand img { filter: brightness(0) invert(1); }
  .header-language { color: var(--white); }
  .header-language button.active { color: var(--white); }

  .side-menu {
    width: min(310px, 86vw);
    transform: translateX(-104%);
    transition: transform .34s ease;
    border-radius: 0;
    box-shadow: 20px 0 70px rgba(0,0,0,.24);
  }
  .side-menu.open { transform: translateX(0); }
  .close-menu {
    display: block;
    position: absolute;
    top: 14px;
    right: 20px;
    border: 0;
    background: none;
    color: var(--white);
    font-size: 2.2rem;
    cursor: pointer;
  }
  .side-brand { margin-bottom: 40px; }
  .sidebar-language { margin-top: auto; }
  .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .menu-overlay.visible { opacity: 1; pointer-events: auto; }
  .site-shell { margin-left: 0; padding-top: 88px; }
  .hero { min-height: 610px; background-position: 58% center; }
  .hero-wallmark { width: 120px; right: 4vw; top: 14%; }
  .team-preview { align-items: flex-start; flex-direction: column; padding: 60px 24px; }
}

@media (max-width: 680px) {
  .menu-button b { display: none; }
  .language-switch { gap: 6px; }
  .hero-copy { text-align: justify; text-align-last: center; }
  .practice-section { padding: 75px 20px; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 160px; }
  .footer-grid { grid-template-columns: 1fr; }
  .practice-dialog-content { padding: 50px 24px 36px; }
  .practice-book-button { width: 100%; min-width: 0; }
  .contact-dialog-heading { padding: 48px 24px 18px; }
  .contact-list { padding: 0 24px 12px; }
  .contact-row { grid-template-columns: 44px 1fr; gap: 14px; }
  .contact-row address, .contact-row p, .contact-row a:not(.contact-icon-link) { font-size: 1.05rem; overflow-wrap: anywhere; }
  .contact-map { min-height: 175px; }
  .map-card { min-width: min(260px, 82vw); padding-left: 12px; padding-right: 12px; }
  .booking-dialog form { padding: 36px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}
