:root {
  color-scheme: dark;
  --bg: #171b24;
  --deep: #11151d;
  --panel: #1d222c;
  --gold: #d9bd7d;
  --gold-light: #ecd29b;
  --paper: #f5f0e7;
  --muted: #c3c2c0;
  --line: #d9bd7d3a;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--paper); font: 1rem/1.65 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure, p, ul { margin: 0; }
p { color: var(--muted); }
h1, h2, h3 { margin: 0; line-height: 1.09; color: var(--paper); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.048em; }
h1 { font-size: clamp(3.8rem, 7.1vw, 7.15rem); line-height: .98; }
h2 { font-size: clamp(2.7rem, 5vw, 4.75rem); }
h3 { font-weight: 500; font-family: var(--serif); font-size: 1.65rem; }
em { color: var(--gold); font-weight: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }
.wrap { width: min(100% - 7rem, 1220px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; padding: .6rem 1rem; background: var(--gold); color: var(--deep); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { position: relative; z-index: 3; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-block; flex: none; }
.brand img { width: 110px; height: 62px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.3rem); }
.nav a { font-size: .92rem; }
.nav a:not(.button), .quiet-link { text-decoration: none; }
.nav a:not(.button):hover, .quiet-link:hover { color: var(--gold-light); }
.menu-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .68rem 1.25rem; background: var(--gold); color: var(--deep); border: 1px solid var(--gold); text-decoration: none; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.button:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--deep); }
.button.outline { background: transparent; color: var(--gold-light); min-height: 43px; }
.button.outline:hover { background: var(--gold); color: var(--deep); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 75% 0%, #292c35, transparent 62%), var(--deep);
}
.hero-layout { padding-block: clamp(2.25rem, 4.5vw, 4.5rem) 1.7rem; }
.hero-stage { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.09fr);
  gap: clamp(1.65rem, 4.2vw, 4.3rem);
  align-items: center;
}
.hero-slide:not(.is-current) { display: none; }
.has-carousel .hero-slide {
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .65s ease, visibility 0s linear .65s;
}
.has-carousel .hero-slide.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition-delay: 0s;
}
.hero-copy { padding-block: 1rem; }
.hero-copy h2 { font-size: clamp(2.85rem, 5.1vw, 5.05rem); line-height: 1.01; }
.hero-copy .lead { max-width: 37ch; }
.hero-copy .button { margin-top: 1.6rem; }
.hero-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  aspect-ratio: 1.24;
  overflow: hidden;
  min-width: 0;
  padding: 1.1rem 1.25rem;
  background: #252832;
  border: 1px solid #d9bd7d66;
}
.hero-visual > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-position, center);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(0deg, #11151dd9 0%, transparent 39%);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: .55rem;
  z-index: -1;
  border: 1px solid #f5e2b75c;
}
.hero-visual-sindicatura { background: #242429; }
.hero-visual-sindicatura .hero-building {
  left: auto;
  width: 73%;
  object-position: 58% center;
}
.hero-visual-sindicatura .hero-portrait {
  z-index: -1;
  width: 58%;
  object-fit: contain;
  object-position: 0 bottom;
}
.hero-visual-sindicatura::before {
  background: linear-gradient(90deg, #181a20 4%, transparent 55%);
}
.hero-diptych {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #a28d61;
}
.hero-diptych img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  min-height: 0;
}
.hero-visual-consultoria {
  background: linear-gradient(124deg, #23252d 37%, #3f3934 38%, #1a1d25 78%);
}
.hero-visual-consultoria .hero-portrait {
  left: 25%;
  width: 50%;
  object-position: 50% 22%;
}
.hero-visual-supervisao {
  background: radial-gradient(ellipse at 58% 44%, #675133, #25252c 64%, #151820 95%);
}
.hero-visual-supervisao .hero-portrait {
  left: 15%;
  width: 70%;
  object-fit: contain;
  object-position: center bottom;
}
.hero-visual figcaption {
  position: relative;
  justify-self: start;
  max-width: 100%;
  padding: .2rem .52rem;
  background: #11151de0;
  color: var(--paper);
  font-size: .83rem;
  line-height: 1.35;
}
.hero-controls:not([hidden]) {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  margin-top: clamp(1.5rem, 3.4vw, 3rem);
}
.hero-selectors {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.55rem, 2vw, 1.35rem);
}
.hero-controls button {
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
}
.hero-selectors button {
  text-align: left;
  border: 0;
  line-height: 1.18;
  padding: 0 0 .45rem;
  min-height: 46px;
  font-size: .91rem;
}
.hero-selectors button[aria-current], .hero-selectors button:hover { color: var(--gold-light); }
.hero-track {
  display: block;
  height: 2px;
  margin-bottom: .7rem;
  overflow: hidden;
  background: var(--line);
}
.hero-track span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--gold-light);
}
[aria-current="true"] .hero-track { background: #d9bd7d87; }
.hero-transport { display: flex; gap: .35rem; }
.hero-transport button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d9bd7d66;
  border-radius: 50%;
  color: var(--gold-light);
}
.hero-transport button:hover { background: var(--gold); color: var(--deep); }
.hero-previous span, .hero-next span {
  width: .51rem;
  height: .51rem;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
}
.hero-previous span { transform: translateX(1px) rotate(-135deg); }
.hero-next span { transform: translateX(-1px) rotate(45deg); }
.hero-toggle span { width: .57rem; height: .72rem; border-inline: 2px solid currentColor; }
.hero-toggle.is-paused span {
  width: 0;
  height: 0;
  margin-left: .14rem;
  border: 0;
  border-block: .38rem solid transparent;
  border-inline-start: .58rem solid currentColor;
}
.eyebrow { display: flex; align-items: center; gap: .72rem; margin-bottom: 1.2rem; color: var(--gold-light); font-size: .84rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow span { display: inline-block; width: 25px; height: 1px; flex: none; background: var(--gold); }
.lead { max-width: 465px; margin-top: 1.55rem; font-size: clamp(1.05rem, 1.5vw, 1.27rem); color: #e7e1d9; }
.actions { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1.45rem; row-gap: .85rem; margin-top: 2rem; }
.quiet-link { color: var(--paper); font-size: .96rem; border-bottom: 1px solid var(--line); padding: .15rem 0; }
.proof { border-block: 1px solid var(--line); background: var(--panel); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.6rem; }
.proof-grid div { display: grid; padding-inline: clamp(1rem, 3vw, 3.25rem); border-left: 1px solid var(--line); }
.proof-grid div:first-child { padding-left: 0; border-left: 0; }
.proof strong { color: var(--gold-light); font: 400 clamp(1.65rem, 3vw, 2.55rem)/1.12 var(--serif); }
.proof span { margin-top: .35rem; color: var(--muted); font-size: .93rem; }
.section { padding-block: clamp(4.4rem, 8vw, 7.5rem); }
.section-intro { display: grid; align-items: end; grid-template-columns: 1.45fr 1fr; gap: 2rem; margin-bottom: 2.6rem; }
.section-intro > p { max-width: 390px; padding-bottom: .24rem; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service { padding: clamp(1.25rem, 2.8vw, 2.25rem); background: var(--panel); border: 1px solid var(--line); }
.service-line { display: block; width: 2rem; height: 2px; margin-bottom: 1.6rem; background: var(--gold); }
.service h3 { margin-bottom: .8rem; }
.pillars { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1.55rem; }
.pillars > span { color: var(--gold-light); font-weight: 700; }
.pillars ul { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; }
.pillars li + li::before { content: '·'; color: var(--gold); margin-right: 1.2rem; }
.portfolio { background: var(--deep); border-block: 1px solid var(--line); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; }
.property { position: relative; overflow: hidden; isolation: isolate; min-height: 225px; background: var(--panel); }
.property.featured { grid-column: span 2; }
.property img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; z-index: -2; }
.property::before { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,#10131ce8); z-index: -1; }
.property figcaption { position: absolute; left: 1.05rem; right: .7rem; bottom: .75rem; font: 400 1.43rem/1.14 var(--serif); }
.about { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 7.5vw, 7.5rem); align-items: center; }
.about p:not(.eyebrow), .contact p:not(.eyebrow) { margin-top: 1.15rem; max-width: 485px; }
.portrait { display: flex; align-items: end; justify-content: center; background: radial-gradient(ellipse at 50% 67%, #5a4b37, #252632 60%, #1b2029 92%); border: 1px solid var(--line); height: clamp(350px, 39vw, 510px); overflow: hidden; }
.portrait img { max-height: 94%; width: auto; object-fit: contain; }
.signature { border-top: 1px solid var(--line); margin-top: 1.9rem; padding-top: 1rem; display: grid; }
.signature strong { color: var(--gold-light); }
.signature span { color: var(--muted); font-size: .92rem; }
.residents { background: var(--panel); border-block: 1px solid var(--line); }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.hours > div { border-left: 2px solid var(--gold); background: var(--deep); padding: 1.5rem clamp(1.2rem, 3vw, 2.3rem); }
.hours strong { display: inline-block; color: var(--gold-light); margin-block: .75rem .15rem; }
.contact { display: flex; gap: 1.5rem; justify-content: space-between; align-items: end; }
.contact h2 { max-width: 790px; }
.contact .button { flex: none; }
footer { background: var(--deep); border-top: 1px solid var(--line); }
.footer-inner { min-height: 110px; padding-block: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.footer-inner > a:last-child { color: var(--gold-light); font-size: .94rem; overflow-wrap: anywhere; }
.footer-inner p { font-size: .92rem; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 4rem); }
  .contact { align-items: start; flex-direction: column; }
  .property { min-height: 185px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0 .8rem; }
  .brand img { width: 91px; height: 52px; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .nav a:not(.button) { padding: .65rem 0; border-top: 1px solid var(--line); }
  .js .menu-toggle { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .4rem .65rem; background: transparent; color: var(--gold-light); border: 1px solid var(--line); font: inherit; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 10px; border-block: 1px solid currentColor; }
  .js .menu-toggle[aria-expanded="false"] + .nav { display: none; }
  .hero-layout { padding-block: 1.1rem 1.25rem; }
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 1.1rem; align-items: start; }
  .hero-copy { grid-row: 2; padding-block: 0; }
  .hero-copy h2 { font-size: clamp(2.45rem, 7.9vw, 4.2rem); }
  .hero-copy .eyebrow { margin-bottom: .65rem; }
  .hero-copy .lead { margin-top: .75rem; }
  .hero-copy .button { margin-top: 1rem; }
  .hero-visual { grid-row: 1; aspect-ratio: auto; height: clamp(175px, 42vw, 290px); }
  .hero-visual-sindicatura .hero-portrait { object-position: 50% bottom; }
  .hero-visual-sindicatura .hero-building { width: 77%; }
  .hero-visual-consultoria .hero-portrait { object-position: 50% 21%; }
  .hero-diptych img { object-position: center 30%; }
  .hero-controls:not([hidden]) { flex-direction: column; align-items: stretch; gap: .45rem; margin-top: 1.45rem; }
  .hero-selectors { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .1rem; }
  .hero-transport { justify-content: center; }
  .section-intro { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1.9rem; }
  .service-grid, .about { grid-template-columns: 1fr; }
  .portrait { max-width: 470px; width: 100%; }
  .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
  .property.featured { min-height: 200px; }
  .proof-grid div { padding-inline: .66rem; }
  .proof-grid div:last-child { padding-right: 0; }
  .proof span { font-size: .8rem; line-height: 1.35; }
  .proof strong { font-size: clamp(1.25rem, 4.4vw, 1.8rem); }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 450px) {
  h1 { font-size: clamp(2.8rem, 11.8vw, 3.85rem); }
  .property { min-height: 155px; }
  .hours { grid-template-columns: 1fr; }
  .pillars { display: block; }
  .pillars ul { margin-top: .35rem; }
  .pillars li + li::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-carousel .hero-slide { transition: none; }
}
.offerings { margin-bottom: 1rem; }
.offerings > h3 { margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.offer {
  display: flex;
  flex-direction: column;
  align-items: start;
  border-top: 2px solid var(--gold);
  background: linear-gradient(135deg, #242735, var(--panel) 80%);
}
.offer-label { margin-bottom: .7rem; color: var(--gold-light); font-size: .9rem; font-weight: 700; }
.offer h4 { margin: 0 0 .8rem; font: 400 clamp(2rem, 3.5vw, 3rem)/1.09 var(--serif); }
.offer p:not(.offer-label) { margin-bottom: 1.5rem; max-width: 48ch; }
.offer .button { margin-top: auto; text-align: center; }
.service-hero {
  padding-block: clamp(3rem, 8vw, 6.5rem);
  background: radial-gradient(ellipse at 90% 0, #2d2b29, var(--deep) 62%);
  border-bottom: 1px solid var(--line);
}
.service-hero .lead { max-width: 650px; }
.back-link { display: inline-block; margin-bottom: 1.75rem; }
.step-grid { list-style: none; padding: 0; }
@media (max-width: 760px) {
  .offer-grid { grid-template-columns: 1fr; }
}

#servicos .offer {
  background: radial-gradient(ellipse at 100% 0%, #35302b, transparent 58%), var(--panel);
}
#servicos .service:target {
  border-color: var(--gold);
  scroll-margin-top: 1.5rem;
}
#atuacao .property img { transition: transform .6s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #atuacao .property:hover img { transform: scale(1.055); }
}

/* Contato por WhatsApp */
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; flex: none; }
.button.whatsapp { gap: .55rem; }
.button.whatsapp svg { flex: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-links a { color: var(--gold-light); font-size: .94rem; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.whatsapp-float { position: fixed; z-index: 4; right: 1.25rem; bottom: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .7rem 1.1rem; border-radius: 999px; background: var(--gold); color: var(--deep); font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px #0007; }
.whatsapp-float:hover { background: var(--gold-light); }
@media (max-width: 760px) {
  .contact-actions { width: 100%; flex-direction: column; }
  .contact-actions .button { width: 100%; }
  .whatsapp-float { right: 1rem; bottom: 1rem; padding: .85rem; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media print { .whatsapp-float { display: none; } }

footer { padding-bottom: 4.5rem; }
