:root {
  --ink: #172c38;
  --muted: #5b6464;
  --paper: #f7f6f2;
  --gold: #a78450;
  --line: #dcded7;
  --link-hover: #735422;
  --em: #7d613b;
  --icon: #826840;
  --map: #eaece5;
  --button-bg: #172c38;
  --button-text: #ffffff;
  --button-hover: #304d5c;
  --about-bg: #172c38;
  --about-text: #f7f6f2;
  color-scheme: light;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, figure { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
a:hover { color: var(--link-hover); }
.container { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; background: var(--button-bg); color: var(--button-text); padding: 12px 20px; z-index: 10; }
.skip-link:hover { color: var(--button-text); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.header { position: sticky; top: 0; z-index: 5; background: var(--ink); color: #ffffff; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); border-bottom: none; }
.header a { color: #ffffff; }
.header .brand small { color: #9ab0c2; }
.header .header-contact { border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.header .theme-toggle { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }
.header .theme-toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: #ffffff; }
.header .language-control select { background: var(--ink); color: #ffffff; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font: 24px/1.2 var(--serif); }
.brand img {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #eaf1f7;
  border-radius: 4px;
  padding: 4px;
}
.brand small { display: block; font: 10px/1.4 Arial, Helvetica, sans-serif; letter-spacing: 2px; text-transform: uppercase; margin-top: 7px; color: var(--muted); }
nav { display: flex; gap: 32px; font-size: 13px; }
.header-contact { display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--ink); font-size: 13px; padding: 8px 0; }
.header-contact > span[aria-hidden] { font-size: 16px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 50px; padding-block: 64px 72px; }
.eyebrow { font-size: 10px; letter-spacing: 2.2px; font-weight: 600; text-transform: uppercase; line-height: 1.7; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow > span[aria-hidden] { width: 24px; height: 1px; background: var(--gold); }
h1 { font: 400 clamp(42px, 5vw, 72px)/1.04 var(--serif); letter-spacing: -3px; margin-top: 28px; }
h1 em { font-weight: 400; color: var(--em); }
.intro { max-width: 370px; margin-top: 27px; color: var(--muted); font-size: 15px; }
.actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; font-size: 12px; font-weight: 600; transition: background .15s, color .15s; }
.button-dark { background: var(--button-bg); color: var(--button-text); }
.button-dark:hover { background: var(--button-hover); color: var(--button-text); }
.text-link { display: inline-flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 600; border-bottom: 1px solid currentColor; padding-block: 6px; }
.hero-location { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .5px; margin-top: 45px; color: var(--muted); }
.location-dot { height: 6px; width: 6px; background: var(--gold); border-radius: 50%; }
.separator { margin-inline: 10px; color: #aaa; }
.hero-image { position: relative; align-self: stretch; min-height: 525px; background: #d8d4c8; }
.hero-image > img { height: 100%; width: 100%; position: absolute; object-fit: cover; object-position: 58% center; }
.hero-image figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); padding: 60px 24px 22px; display: flex; justify-content: space-between; gap: 12px; color: white; font-size: 11px; }
.hero-image figcaption span:last-child { font-size: 9px; letter-spacing: 1px; white-space: nowrap; }
.signature-strip { border-block: 1px solid var(--line); }
.signature-strip > .container { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-block: 22px; font-size: 11px; letter-spacing: 1px; }
.signature-strip span:nth-child(even) { font-size: 22px; color: var(--gold); line-height: 1; }

.section { padding-block: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
h2 { font: 400 46px/1.12 var(--serif); letter-spacing: -1.2px; margin-top: 18px; }
.section-heading > p { max-width: 340px; color: var(--muted); font-size: 14px; }
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service { display: flex; gap: 22px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 32px 0; }
.service:nth-child(odd) { padding-right: 35px; }
.service:nth-child(even) { padding-left: 35px; border-left: 1px solid var(--line); }
.service-number { font-size: 10px; margin-top: 7px; color: var(--icon); }
.service h3 { font: 400 26px/1.3 var(--serif); }
.service p { color: var(--muted); font-size: 13px; max-width: 280px; margin-top: 9px; }
.service svg { width: 45px; height: 45px; flex-shrink: 0; margin-left: auto; color: var(--icon); }
.services-foot { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-top: 25px; font-size: 13px; color: var(--muted); }
.services-foot a { color: var(--ink); }

.about { background: var(--about-bg); color: var(--about-text); padding-block: 85px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about .eyebrow { color: #dac2a1; }
.about h2 { font-size: 48px; }
.about-intro { margin-top: 24px; max-width: 370px; color: #ccd2d1; font-size: 14px; }
.about-story { padding-top: 36px; font-size: 14px; color: #d2d8d7; }
.about-story > p + p { margin-top: 20px; }
.about-story .text-link { margin-top: 25px; color: #e7cfaa; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; }
.contact-details { display: flex; flex-direction: column; justify-content: center; gap: 35px; }
.label { display: block; text-transform: uppercase; letter-spacing: 1.7px; font-size: 10px; color: var(--muted); margin-bottom: 10px; }
.email-link { display: flex; align-items: center; gap: 15px; font-size: clamp(16px, 1.8vw, 24px); letter-spacing: -.6px; }
.contact-details p { max-width: 300px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.contact-details address { font-style: normal; font-size: 16px; }
.contact-details .text-link { margin-top: 14px; }
.map-panel { min-height: 370px; display: grid; background: var(--map); border: 1px solid var(--line); scroll-margin-top: 120px; }
.map-placeholder { align-self: center; text-align: center; padding: 32px 24px; }
.map-placeholder > svg { width: 42px; height: 42px; color: var(--icon); margin-inline: auto; margin-bottom: 15px; }
.map-name { font: 28px/1.2 var(--serif); margin-bottom: 8px; }
.map-placeholder > p:not(.map-name) { font-size: 12px; color: var(--muted); }
.map-placeholder .button { margin-top: 24px; }
.map-placeholder .map-note { font-size: 10px; margin-top: 12px; }
.map-panel iframe { border: 0; width: 100%; height: 100%; min-height: 370px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 32px; }
.footer-brand { font: 24px var(--serif); }
.footer-brand > span { display: block; font: 11px/1.5 Arial, Helvetica, sans-serif; color: var(--muted); margin-top: 8px; }
.footer p { font-size: 10px; color: var(--muted); }

@media (min-width: 1500px) {
  .hero { padding-block: 80px; }
  .hero-image { min-height: 590px; }
}
@media (max-width: 1000px) {
  .container { width: calc(100% - 56px); }
  .hero { gap: 30px; }
  .hero-image { min-height: 490px; }
  .header-contact { display: none; }
  .brand { font-size: 21px; }
  nav { gap: 25px; }
  .actions { gap: 16px; }
  .hero .text-link { font-size: 11px; }
  .service { gap: 14px; }
  .service:nth-child(odd) { padding-right: 20px; }
  .service:nth-child(even) { padding-left: 20px; }
  .service svg { width: 35px; height: 35px; }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 30px; }
  .section { padding-block: 72px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 122px; }
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; gap: 0; padding-block: 10px 14px; }
  .brand { width: 100%; justify-content: center; font-size: 22px; }
  .brand img { width: 40px; height: 40px; }
  .brand small { color: #d2dfeb; } /* Um tom claro e legível */
  .brand small { font-size: 9px; margin-top: 4px; }
  nav { width: 100%; justify-content: center; gap: 32px; margin-top: 12px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 30px; gap: 30px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.8px; }
  h1 { font-size: 60px; letter-spacing: -2px; margin-top: 22px; }
  .intro { margin-top: 22px; font-size: 14px; max-width: 360px; }
  .hero-location { margin-top: 28px; }
  .actions { margin-top: 25px; gap: 24px; }
  .button { padding-inline: 16px; gap: 15px; }
  .hero-image { min-height: 360px; }
  .hero-image > img { object-position: center 44%; }
  .signature-strip > .container { justify-content: center; flex-wrap: wrap; gap: 6px 16px; padding-block: 17px; font-size: 9px; letter-spacing: .1px; }
  .signature-strip span:nth-child(even) { font-size: 15px; }
  .signature-strip span:last-child, .signature-strip span:nth-child(4) { display: none; }
  .section { padding-block: 55px; }
  .section-heading { display: block; margin-bottom: 28px; }
  h2, .about h2 { font-size: 37px; letter-spacing: -1px; margin-top: 13px; }
  .section-heading > p { margin-top: 20px; font-size: 13px; max-width: 420px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd), .service:nth-child(even) { padding: 24px 0; border-left: 0; gap: 20px; }
  .service h3 { font-size: 25px; }
  .service p { max-width: 260px; font-size: 12px; }
  .service svg { width: 38px; height: 38px; }
  .services-foot { align-items: flex-start; flex-direction: column; gap: 9px; font-size: 12px; }
  .about { padding-block: 55px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-story { padding-top: 0; font-size: 13px; }
  .about-intro { font-size: 13px; margin-top: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-details { gap: 28px; }
  .email-link { font-size: 23px; letter-spacing: -.5px; overflow-wrap: anywhere; }
  .map-panel, .map-panel iframe { min-height: 330px; }
  .footer-inner { flex-wrap: wrap; gap: 25px; padding-block: 30px; }
  .footer p { margin-left: auto; }
  .footer .text-link { font-size: 11px; }
  .footer-brand { font-size: 22px; }
  .footer-brand > span { font-size: 10px; }
}
@media (max-width: 360px) {
  h1 { font-size: 53px; }
  .container { width: calc(100% - 32px); }
  .actions { gap: 15px; }
  .email-link { font-size: 20px; }
  .service { gap: 13px; }
  .signature-strip > .container { font-size: 8px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* Theme tokens keep every surface and its text in the same palette. */
/* Keep the saved theme value compatible with existing visitors. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f3f6fa;
  --muted: #d2dfeb;
  --paper: #304d68;
  --gold: #d8c29d;
  --line: #668099;
  --link-hover: #ffffff;
  --em: #b7d8f5;
  --icon: #b7d8f5;
  --map: #3a5873;
  --button-bg: #d5e8f9;
  --button-text: #1f3c56;
  --button-hover: #edf6ff;
  --about-bg: #29445d;
  --about-text: #f3f6fa;
  --chrome: #29445e;
}
[data-theme="dark"] .header,
[data-theme="dark"] .language-control select,
[data-theme="dark"] .footer { background: var(--chrome); }
[data-theme="dark"] .about .eyebrow,
[data-theme="dark"] .about-story .text-link { color: var(--gold); }
[data-theme="dark"] .about-intro,
[data-theme="dark"] .about-story { color: var(--muted); }
[data-theme="dark"] .hero-image { outline: 1px solid var(--line); }

h1 > span, h1 > em, h2 > span { display: block; }
.hero-copy, .service > div, .contact-details { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
.header-tools, .preferences { display: flex; align-items: center; gap: 18px; }
.preferences { gap: 10px; }
.language-control { display: flex; align-items: center; gap: 6px; }
.language-control > svg { width: 17px; height: 17px; flex-shrink: 0; }
.language-control select {
  min-height: 44px;
  max-width: 140px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: 12px/1.4 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.language-control select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: border-color .15s, background .15s;
}
.theme-toggle:hover { background: var(--map); border-color: var(--gold); }
.theme-toggle svg { width: 20px; height: 20px; }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
.hero-location .location-dot { display: inline-block; flex-shrink: 0; }
@media (max-width: 1150px) {
  .header-contact { display: none; }
  .header-inner { gap: 18px; }
  nav { gap: 22px; }
}
@media (max-width: 850px) and (min-width: 701px) {
  .brand { font-size: 19px; gap: 6px; }
  .brand img { width: 46px; height: 46px; }
  .brand small { font-size: 8px; letter-spacing: 1px; }
  .header-inner { gap: 12px; }
  nav { gap: 15px; font-size: 12px; }
  .language-control > svg { display: none; }
  .preferences { gap: 6px; }
}
@media (max-width: 700px) {
  .header-inner { gap: 0; min-height: 0; }
  .brand { width: auto; justify-content: flex-start; flex: 1; font-size: 19px; gap: 7px; }
  .brand img { width: 40px; height: 40px; }
  .brand small { font-size: 8px; letter-spacing: 1px; }
  .header-tools { gap: 0; }
  nav { order: 3; margin-top: 10px; }
  .language-control > svg { display: none; }
  .language-control select { max-width: 112px; font-size: 11px; }
  .preferences { gap: 8px; }
  .theme-toggle { width: 44px; height: 44px; }
  h1 { font-size: clamp(40px, 9vw, 60px); }
}
@media (max-width: 380px) {
  .brand { min-width: 0; font-size: 16px; gap: 6px; }
  .brand img { width: 32px; height: 32px; padding: 2px; }
  .brand small { font-size: 7px; letter-spacing: .5px; }
  .language-control select { max-width: 90px; }
  .preferences { gap: 5px; }
}
