/* ==========================================================================
   LBTM Incorporadora de Serviços — Design System
   Tema: editorial premium, fundo tinta, detalhes em latão, tipografia serifada
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #0b0d10;
  --ink-2: #101318;
  --ink-3: #14181e;
  --panel: #151a20;
  --paper: #f5f2ec;
  --paper-2: #fbf8f1;
  --bone: #f5f2ec;
  --muted: #a8adb6;
  --muted-2: #7f858f;
  --line: rgba(245, 242, 236, 0.10);
  --line-strong: rgba(245, 242, 236, 0.20);
  --brass: #c8a97e;
  --brass-strong: #e2c79b;
  --brass-dim: rgba(200, 169, 126, 0.14);
  --ink-text: #14110c;
  --error: #d99a9a;

  --font-serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 78px;
  --radius: 2px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img,
svg,
video { display: block; max-width: 100%; }

img { height: auto; }

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

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  font-family: var(--font-serif);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

::selection { background: rgba(200, 169, 126, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- 3. Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 9vw, 132px);
  position: relative;
}

.section--tight { padding-block: clamp(56px, 6vw, 88px); }

.section--paper {
  background: var(--paper);
  color: var(--ink-text);
}

.section--paper .lead,
.section--paper .section-intro,
.section--paper .note { color: #57534a; }

.section--paper .eyebrow { color: #6f5636; }
.section--paper .eyebrow::before { background: rgba(111, 86, 54, 0.6); }

.section-head {
  max-width: 840px;
  margin-bottom: clamp(36px, 4.6vw, 60px);
}

.section-head .h2 { margin-top: 20px; }

.section-intro {
  margin-top: 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  row-gap: 6px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: rgba(200, 169, 126, 0.6);
  flex: none;
}

.display {
  font-size: clamp(2.65rem, 5.6vw, 5rem);
  line-height: 0.99;
  letter-spacing: -0.015em;
  font-weight: 400;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  color: var(--brass-strong);
}

.h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.04;
  font-weight: 400;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  line-height: 1.15;
}

.lead {
  font-size: clamp(1.02rem, 1.45vw, 1.15rem);
  line-height: 1.78;
  color: var(--muted);
  max-width: 58ch;
}

.note {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted-2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--bone);
  color: var(--ink-text);
  padding: 12px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}

.skip-link:focus { top: 12px; }

/* ---------- 4. Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn svg { width: 15px; height: 15px; flex: none; }

.btn--solid {
  background: linear-gradient(135deg, var(--brass-strong), var(--brass));
  color: var(--ink-text);
  box-shadow: 0 20px 40px -24px rgba(200, 169, 126, 0.9);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -20px rgba(200, 169, 126, 0.65);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--bone);
  background: transparent;
}

.btn--ghost:hover {
  border-color: rgba(200, 169, 126, 0.65);
  color: var(--brass-strong);
  transform: translateY(-2px);
}

.section--paper .btn--ghost {
  border-color: rgba(20, 17, 12, 0.28);
  color: var(--ink-text);
}

.section--paper .btn--ghost:hover {
  border-color: #8a6e45;
  color: #6f5636;
}

.section--paper .link-arrow { color: #6f5636; }
.section--paper .link-arrow:hover { color: #4f3d25; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.94);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 13, 16, 0.98);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  padding-block: 12px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-word {
  font-family: var(--font-serif);
  font-size: 1.72rem;
  letter-spacing: 0.14em;
  color: var(--bone);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.53rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--brass);
  padding-left: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav a {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: var(--bone); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--bone); }

.header-cta { min-height: 46px; padding: 12px 20px; font-size: 0.64rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--bone);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:first-child { top: 19px; }
.nav-toggle span:last-child { top: 26px; }

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(56px, 7vw, 96px);
  background:
    radial-gradient(58% 46% at 78% 6%, rgba(200, 169, 126, 0.13), transparent 62%),
    radial-gradient(46% 38% at 6% 22%, rgba(245, 242, 236, 0.05), transparent 65%),
    var(--ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 236, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 236, 0.045) 1px, transparent 1px);
  background-size: 120px 120px;
  -webkit-mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 60% at 60% 20%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.8fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-copy .display { margin-top: 26px; }

.hero-copy .lead { margin-top: 26px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.trust-list svg {
  width: 14px;
  height: 14px;
  color: var(--brass);
  flex: none;
}

.hero-visual {
  position: relative;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid rgba(200, 169, 126, 0.30);
  z-index: 0;
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: var(--ink-3);
}

.visual-card {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: rgba(11, 13, 16, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
}

.visual-card-label {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.visual-card strong {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--bone);
  line-height: 1.2;
}

.visual-card span:last-child {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Hero das páginas de serviço */
.hero--service { padding-bottom: clamp(48px, 6vw, 84px); }

.hero--service .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.72fr);
  align-items: center;
}

.hero--service .hero-visual { max-width: 400px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brass); }
.breadcrumb span[aria-hidden] { color: var(--muted-2); }

.service-hero-title {
  margin-top: 20px;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.service-hero-title em { font-style: italic; color: var(--brass-strong); }

/* ---------- 7. Faixa de bairros ---------- */
.neighborhood-strip {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  padding-block: 20px;
  overflow: hidden;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 58s linear infinite;
}

.neighborhood-strip:hover .marquee { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  white-space: nowrap;
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-group span::after {
  content: "◆";
  font-size: 0.42rem;
  color: var(--brass);
  opacity: 0.8;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 8. Cards de solução ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  margin: 0;
  background: var(--ink-2);
  transition: background 0.4s var(--ease);
}

.gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.quote blockquote { margin: 0; }

.quote cite { font-style: normal; }

.service-card:hover { background: #171c23; }

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-3);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease);
}

.card-media a { display: block; width: 100%; height: 100%; }

.service-card:hover .card-media img { transform: scale(1.055); }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: clamp(22px, 2.6vw, 32px);
}

.card-index {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.12;
  color: var(--bone);
}

.card-text {
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--muted);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.card-cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }

.service-card:hover .card-cta svg { transform: translateX(4px); }

/* ---------- 9. Diferenciais ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: var(--ink);
  padding: clamp(28px, 3.4vw, 44px);
  display: grid;
  gap: 12px;
  align-content: start;
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--brass);
}

.feature h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.15;
}

.feature p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.guarantee-band {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(28px, 3.8vw, 48px);
  border: 1px solid rgba(200, 169, 126, 0.30);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(200, 169, 126, 0.13), transparent 60%),
    var(--ink-2);
}

.guarantee-band h3 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
}

.guarantee-band p {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 52ch;
}

.guarantee-badges {
  display: grid;
  gap: 12px;
}

.badge {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.5);
}

.badge strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--brass-strong);
  line-height: 1;
  min-width: 86px;
}

.badge span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- 10. Processo ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.process-step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(200, 169, 126, 0.14);
}

.process-step .step-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--brass);
}

.process-step h3 {
  margin-top: 10px;
  font-size: clamp(1.12rem, 1.35vw, 1.3rem);
  font-weight: 500;
  line-height: 1.2;
}

.process-step p {
  margin-top: 10px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 11. Antes e depois ---------- */
.compare {
  margin: 0;
  max-width: 980px;
  margin-inline: auto;
}

.compare-stage {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid rgba(20, 17, 12, 0.18);
  background: #ddd8cc;
  touch-action: pan-y;
  cursor: ew-resize;
}

.compare-stage:focus-within {
  outline: 2px solid #6f5636;
  outline-offset: 4px;
}

.compare-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos, 55%));
}

.compare-tag {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 7px 12px;
  background: rgba(11, 13, 16, 0.78);
  border: 1px solid rgba(245, 242, 236, 0.22);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  pointer-events: none;
}

.compare-tag--before { left: 16px; }
.compare-tag--after { right: 16px; color: var(--brass-strong); }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 55%);
  z-index: 2;
  width: 2px;
  margin-left: -1px;
  background: rgba(245, 242, 236, 0.9);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(11, 13, 16, 0.72);
  border: 1px solid rgba(245, 242, 236, 0.55);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23F5F2EC' stroke-width='1.6'%3E%3Cpath d='M9 6 3 12l6 6M15 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0.001;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.compare-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 46px;
  height: 100%;
}

.compare figcaption {
  margin-top: 16px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #57534a;
  max-width: 70ch;
}

.compare-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(20, 17, 12, 0.16);
  border: 1px solid rgba(20, 17, 12, 0.16);
}

.compare-pair figure { margin: 0; position: relative; }

.compare-pair img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.compare-pair figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  background: rgba(11, 13, 16, 0.8);
  color: var(--bone);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- 12. Depoimentos ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.quote-stars {
  color: var(--brass);
  letter-spacing: 0.32em;
  font-size: 0.68rem;
}

.quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 1.45vw, 1.3rem);
  font-style: italic;
  line-height: 1.5;
  color: #e9e2d4;
  font-weight: 400;
}

.quote footer {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote footer cite { font-style: normal; color: var(--bone); }

.quote-note { margin-top: 22px; }

/* ---------- 13. Cobertura ---------- */
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.coverage-copy .h2 { margin-top: 20px; }

.coverage-copy .lead { margin-top: 22px; color: #57534a; }

.coverage-meta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 17, 12, 0.18);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a463d;
  background: rgba(255, 255, 255, 0.35);
}

.chip strong {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #6f5636;
  letter-spacing: 0.04em;
}

.bairros {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid rgba(20, 17, 12, 0.16);
}

.bairros li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(20, 17, 12, 0.10);
  font-size: 0.83rem;
  color: #3b372f;
}

.bairros li .num {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  color: #6f5636;
  min-width: 20px;
  letter-spacing: 0.04em;
}

.bairros-note { margin-top: 20px; }

/* ---------- 14. FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }

.faq-intro .h2 { margin-top: 20px; }

.faq-intro .lead { margin-top: 22px; }

.faq-intro .link-arrow { margin-top: 28px; }

.faq-list { border-top: 1px solid var(--line-strong); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  line-height: 1.5;
  color: var(--bone);
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--brass-strong); }

.faq-icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
}

.faq-icon::before { left: 0; top: 6.5px; width: 14px; height: 1px; }
.faq-icon::after { left: 6.5px; top: 0; width: 1px; height: 14px; }

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-answer { padding: 0 0 24px; }

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 66ch;
}

/* ---------- 15. Contato e formulário ---------- */
.section--contact {
  background:
    radial-gradient(50% 60% at 88% 10%, rgba(200, 169, 126, 0.10), transparent 60%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}

.contact-copy .h2 { margin-top: 20px; }

.contact-copy .lead { margin-top: 22px; }

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--brass);
  flex: none;
  margin-top: 4px;
}

.contact-list .label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.contact-list a,
.contact-list span.value {
  color: var(--bone);
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.contact-list a:hover { color: var(--brass-strong); }

.form-panel {
  padding: clamp(24px, 3.2vw, 40px);
  border: 1px solid var(--line);
  background: var(--ink-3);
}

.form-head {
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}

.form-head h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  font-weight: 500;
}

.form-head p { font-size: 0.82rem; line-height: 1.6; color: var(--muted); }

.form { display: grid; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { display: grid; gap: 8px; align-content: start; }

.field label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 14px;
  min-height: 50px;
  border: 1px solid rgba(245, 242, 236, 0.16);
  border-radius: var(--radius);
  background: #0d1014;
  color: var(--bone);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder { color: #8a919b; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(200, 169, 126, 0.75);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.14);
}

.field-error {
  display: none;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--error);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(217, 154, 154, 0.65);
}

.field.is-invalid .field-error { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--muted);
}

.consent input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--brass);
  flex: none;
}

.consent.is-invalid { color: var(--error); }

.consent.is-invalid + .field-error { display: block; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.form-actions .btn { flex: 1 1 220px; }

.form-note { font-size: 0.7rem; line-height: 1.6; color: var(--muted-2); }

.form-success {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(143, 183, 154, 0.42);
  background: rgba(143, 183, 154, 0.08);
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #cfe3d2;
}

.form-success p { font-size: 0.86rem; line-height: 1.65; color: var(--muted); }

.form-success a { color: var(--brass-strong); text-decoration: underline; text-underline-offset: 3px; }

[hidden] { display: none !important; }

/* ---------- 16. Serviços: página interna ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.tech-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.tech-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.tech-item .tech-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--brass);
  padding-top: 4px;
}

.tech-item h3 {
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--bone);
}

.tech-item p {
  margin-top: 7px;
  font-size: 0.87rem;
  line-height: 1.68;
  color: var(--muted);
}

.tech-figure {
  margin: 36px 0 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.tech-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tech-figure figcaption {
  padding: 12px 16px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.spec-panel {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  border: 1px solid rgba(200, 169, 126, 0.28);
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(200, 169, 126, 0.10), transparent 60%),
    var(--ink-2);
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 20px;
}

.spec-panel h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

.spec-list { display: grid; gap: 0; }

.spec-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.spec-list li:last-child { border-bottom: 0; }

.spec-list strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bone);
  text-align: right;
  letter-spacing: 0.01em;
}

.spec-panel .btn { width: 100%; }

.spec-panel .note { font-size: 0.7rem; }

.diff-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 56px);
}

.diff-band .feature { background: var(--ink-2); }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.related-card { background: var(--ink-2); }

.related-card a {
  display: grid;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  height: 100%;
  align-content: start;
  transition: background 0.3s var(--ease);
}

.related-card a:hover { background: #171c23; }

.related-card .card-index { font-size: 0.75rem; }

.related-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.related-card span {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 16b. Conteúdo institucional ---------- */
.prose { max-width: 780px; }

.prose h2 {
  margin-top: 2.4em;
  font-size: clamp(1.5rem, 2.1vw, 1.95rem);
  font-weight: 500;
  line-height: 1.2;
}

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

.prose p {
  margin-top: 0.95em;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 72ch;
}

.prose a {
  color: var(--brass-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero--service .hero-copy > .note { margin-top: 16px; }

/* ---------- 16c. Fundador ---------- */
.founder {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(200, 169, 126, 0.10), transparent 65%),
    var(--ink);
}

.founder-intro { text-align: center; }

.founder-eyebrow {
  justify-content: center;
}

.founder-eyebrow::after {
  content: "";
  width: 38px;
  height: 1px;
  background: rgba(200, 169, 126, 0.6);
  flex: none;
}

.founder-name {
  margin-top: 18px;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.founder-name em { font-style: italic; color: var(--brass-strong); }

.founder-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
}

.founder-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-3);
}

.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-photo--desk img {
  aspect-ratio: 4 / 3;
  object-position: center 55%;
}

.founder-photo--portrait img {
  aspect-ratio: 4 / 5;
  object-position: center top;
}

.founder-quote { display: grid; gap: 18px; }

.founder-role {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

.founder-quote blockquote {
  margin: 0;
  padding-left: clamp(18px, 2vw, 26px);
  border-left: 1px solid rgba(200, 169, 126, 0.5);
}

.founder-quote blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.45;
  color: #ece4d5;
  text-wrap: pretty;
}

.founder-bio-section { border-top: 1px solid var(--line); }

.founder-bio {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.founder-bio-title {
  margin-top: 18px;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  max-width: 24ch;
  color: var(--bone);
}

.founder-bio-text > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

.founder-signature {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.founder-signature strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--bone);
}

.founder-signature span {
  display: block;
  margin-top: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.founder-note {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: clamp(28px, 3.4vw, 40px);
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.founder-note img {
  width: 64px;
  height: auto;
  flex: none;
  object-fit: contain;
}

.founder-note .eyebrow { font-size: 0.6rem; }

.founder-note p:not(.eyebrow) {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 66ch;
}

/* ---------- 16d. Galeria de obras ---------- */
.filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  margin-top: clamp(28px, 4vw, 48px);
}

.filter-links a {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.filter-links a:hover { color: var(--brass-strong); }

.portfolio-block {
  padding-top: clamp(56px, 7vw, 96px);
  scroll-margin-top: calc(var(--header-h) + 40px);
}

.portfolio-block:first-child { padding-top: 0; }

.portfolio-head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 34px); }

.portfolio-head .h2 { margin-top: 16px; }

.portfolio-head .link-arrow { margin-top: 20px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-item {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
}

.portfolio-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.portfolio-item figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 14px 16px;
}

.portfolio-item figcaption span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--bone);
}

.portfolio-item figcaption small {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.section-more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }

.portfolio-link { margin-top: 22px; }

/* ---------- 17. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding-top: clamp(56px, 6vw, 84px);
  padding-bottom: 88px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.75fr)) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-brand .brand { padding-block: 0; margin-bottom: 18px; }

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 34ch;
}

.footer-legal {
  margin-top: 14px;
  font-size: 0.7rem;
  line-height: 1.7;
  color: var(--muted-2);
}

.footer-legal a { color: var(--brass); }
.footer-legal a:hover { color: var(--brass-strong); }

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 10px; }

.footer-col a {
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover { color: var(--brass-strong); }

.footer-col .footer-address {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted-2);
}

.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--brass); }

/* ---------- 18. WhatsApp, topo, animações ---------- */
.fab {
  position: fixed;
  right: clamp(16px, 2.4vw, 30px);
  bottom: clamp(16px, 2.4vw, 30px);
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brass-strong), var(--brass));
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.75);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.8);
}

.fab svg { width: 26px; height: 26px; fill: var(--ink-text); }

.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 126, 0.55);
  animation: fab-pulse 2.8s var(--ease) infinite;
  pointer-events: none;
}

@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 30px);
  bottom: calc(clamp(16px, 2.4vw, 30px) + 72px);
  z-index: 79;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(11, 13, 16, 0.85);
  color: var(--bone);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.to-top svg { width: 16px; height: 16px; }

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible { opacity: 1; transform: none; }

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- 19. Responsivo ---------- */
@media (max-height: 720px) {
  .spec-panel,
  .faq-intro { position: static; }
}

@media (max-width: 1080px) {
  .hero-grid,
  .hero--service .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr); }

  .header-cta { display: none; }

  .nav { gap: 20px; }

  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .quotes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 70px; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 96px var(--gutter) 48px;
    background: rgba(11, 13, 16, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    height: 100vh;
    height: 100dvh;
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: none;
    visibility: visible;
  }

  .nav a {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    color: var(--bone);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after { display: none; }

  .header-cta { display: none; }

  .nav-toggle { display: block; }

  .hero-grid,
  .hero--service .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-visual,
  .hero--service .hero-visual {
    max-width: 520px;
    justify-self: stretch;
  }

  .tech-grid,
  .coverage-grid,
  .faq-grid,
  .contact-grid,
  .guarantee-band { grid-template-columns: minmax(0, 1fr); }

  .faq-intro { position: static; }

  .spec-panel { position: static; }

  .guarantee-band { gap: 28px; }

  .process-grid { gap: 32px 24px; }

  .compare-stack { grid-template-columns: minmax(0, 1fr); }

  .diff-band { grid-template-columns: minmax(0, 1fr); }

  .founder-hero-grid,
  .founder-bio { grid-template-columns: minmax(0, 1fr); }

  .founder-photo--portrait { max-width: 440px; }

  .founder-bio .founder-photo { justify-self: start; }
}

@media (max-width: 720px) {
  .cards-grid,
  .feature-grid,
  .related-grid,
  .quotes-grid,
  .gallery-grid,
  .portfolio-grid { grid-template-columns: minmax(0, 1fr); }

  .process-grid { grid-template-columns: minmax(0, 1fr); }

  .form-row { grid-template-columns: minmax(0, 1fr); }

  .bairros { grid-template-columns: minmax(0, 1fr); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }

  .hero { padding-top: calc(var(--header-h) + 40px); }

  .hero-actions .btn { width: 100%; }

  .visual-card { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }

  .compare-tag { top: 10px; padding: 5px 9px; font-size: 0.52rem; }
  .compare-tag--before { left: 10px; }
  .compare-tag--after { right: 10px; }

  .compare-stage { aspect-ratio: 4 / 3; }

  .compare-handle::after { width: 38px; height: 38px; }

  .marquee-group span { font-size: 0.6rem; gap: 18px; padding-right: 18px; }

  .eyebrow { letter-spacing: 0.16em; }

  .brand-sub { letter-spacing: 0.26em; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .brand-logo { width: 36px; height: 36px; }
}

@media (max-width: 340px) {
  .brand-sub { display: none; }
}

/* ---------- 20. Preferências do usuário ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee { animation: none; flex-wrap: wrap; width: 100%; }

  .marquee-group { flex-wrap: wrap; }

  .js .reveal { opacity: 1; transform: none; }

  .fab::after { animation: none; opacity: 0.35; }
}

/* ==========================================================================
   21. Refinamento editorial — Fase 2
   Bento Grid, hero de autoridade, núcleo técnico e selos de garantia.
   ========================================================================== */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 560ms;
}

/* ---------- 21.1 Hero de autoridade ---------- */
.hero-copy .display { max-width: 15ch; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-metrics > div {
  padding: 17px 16px 16px 0;
  border-right: 1px solid var(--line);
}

.hero-metrics > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-metrics dt {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1;
  color: var(--brass-strong);
  letter-spacing: -0.01em;
}

.hero-metrics dd {
  margin: 7px 0 0;
  font-size: 0.6rem;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 18px;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-assurance svg {
  width: 14px;
  height: 14px;
  color: var(--brass);
  flex: none;
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  top: -20px;
  right: -20px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  gap: 3px;
  text-align: center;
  color: var(--brass-strong);
  background:
    radial-gradient(circle at 35% 25%, rgba(226, 199, 155, 0.22), transparent 55%),
    rgba(11, 13, 16, 0.92);
  border: 1px solid rgba(200, 169, 126, 0.5);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  transform: rotate(-8deg);
}

.hero-stamp strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.hero-stamp span {
  max-width: 8ch;
  font-size: 0.46rem;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual img { transition: transform 0.9s var(--ease-out); }
.hero-visual:hover img { transform: scale(1.02); }

/* ---------- 21.2 Bento Grid de soluções ---------- */
.cards-grid--bento {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: 0;
}

.cards-grid--bento .service-card {
  border: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}

.cards-grid--bento .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 126, 0.45);
  background: #171c23;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.95);
}

.cards-grid--bento .service-card--feature {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 570px;
}

.cards-grid--bento .service-card--wide {
  grid-column: span 4;
}

.cards-grid--bento .service-card--feature .card-media {
  flex: 1 1 auto;
  min-height: 330px;
  aspect-ratio: auto;
}

.cards-grid--bento .service-card--feature .card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.02) 45%, rgba(11, 13, 16, 0.44));
  pointer-events: none;
}

.cards-grid--bento .service-card--feature .card-body {
  flex: 0 0 auto;
  padding: clamp(26px, 3vw, 40px);
}

.cards-grid--bento .service-card--feature .card-title {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.cards-grid--bento .service-card--feature .card-text {
  max-width: 46ch;
}

.cards-grid--bento .service-card--wide .card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
}

.cards-grid--bento .service-card--wide .card-media {
  aspect-ratio: auto;
  min-height: 220px;
}

.cards-grid--bento .service-card--wide .card-body {
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.cards-grid--bento .service-card--wide .card-title {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
}

.card-kicker {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(245, 242, 236, 0.28);
  background: rgba(11, 13, 16, 0.74);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-strong);
}

.cards-grid--bento .card-media img {
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease-out);
}

.cards-grid--bento .service-card:hover .card-media img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

/* ---------- 21.3 Núcleo técnico ---------- */
.team {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(55% 45% at 88% 8%, rgba(200, 169, 126, 0.08), transparent 65%),
    var(--ink);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.team-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink-3);
}

.team-figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.team-figure figcaption {
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.team-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(200, 169, 126, 0.45);
  background: rgba(11, 13, 16, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-strong);
}

.team-copy .lead { margin-top: 22px; }

.team-roles {
  display: grid;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.team-role {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.team-role-num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--brass);
}

.team-role h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.team-role p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--muted);
}

.team-note {
  margin-top: 24px;
  padding-left: 16px;
  border-left: 1px solid rgba(200, 169, 126, 0.5);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ---------- 21.4 Fundador: autoridade e permanência ---------- */
.founder-subtitle {
  margin-top: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.founder-stamp {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(245, 242, 236, 0.24);
  background: rgba(11, 13, 16, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-strong);
}

.founder-cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.founder-quote-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}

.founder-principles {
  display: grid;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.founder-principles li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.founder-principles strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--bone);
}

.founder-principles span {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 21.5 Selo de garantia ---------- */
.guarantee-badges {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.guarantee-seal {
  width: 120px;
  color: var(--brass-strong);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.45));
}

.guarantee-seal svg {
  width: 100%;
  height: auto;
}

.guarantee-list { display: grid; gap: 10px; }

/* ---------- 21.6 Ritmo e leitura ---------- */
.lead,
.section-intro,
.card-text,
.team-role p,
.founder-bio-text > p,
.founder-principles span { text-wrap: pretty; }

.contact-list a.contact-email { font-size: 0.88rem; }

@media (max-width: 420px) {
  .contact-list a.contact-email { font-size: 0.8rem; }
}

.js .reveal {
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 55ms);
}

/* ---------- 21.7 Responsivo do refinamento ---------- */
@media (max-width: 1080px) {
  .cards-grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-grid--bento .service-card--feature { min-height: 520px; }
  .cards-grid--bento .service-card--wide { grid-column: span 2; }
  .cards-grid--bento .service-card--wide .card-link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-figure { order: -1; max-width: 560px; margin-inline: auto; }
  .team-figure img { aspect-ratio: 4 / 3; }

  .guarantee-badges { grid-template-columns: 110px minmax(0, 1fr); }
  .guarantee-seal { width: 110px; }
}

@media (max-width: 720px) {
  .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-metrics > div {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero-metrics > div:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid var(--line);
  }
  .hero-metrics > div:nth-last-child(-n + 2) { border-bottom: 0; }

  .hero-stamp { width: 88px; height: 88px; top: -14px; right: -12px; }
  .hero-stamp strong { font-size: 1.35rem; }
  .hero-stamp span { font-size: 0.42rem; }

  .cards-grid--bento { grid-template-columns: minmax(0, 1fr); }
  .cards-grid--bento .service-card--feature,
  .cards-grid--bento .service-card--wide {
    grid-column: span 1;
    grid-row: auto;
    min-height: 0;
  }
  .cards-grid--bento .service-card--feature .card-media { min-height: 260px; }
  .cards-grid--bento .service-card--wide .card-link { grid-template-columns: minmax(0, 1fr); }
  .cards-grid--bento .service-card--wide .card-media { min-height: 220px; }

  .guarantee-badges { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .guarantee-seal { width: 104px; }

  .team-figure img { aspect-ratio: 4 / 3; }
}

@media print {
  .site-header,
  .fab,
  .to-top,
  .nav-toggle,
  .neighborhood-strip,
  .form-panel,
  .compare-range,
  .hero-stamp,
  .team-stamp,
  .founder-stamp,
  .guarantee-seal { display: none !important; }

  body { background: #fff; color: #111; }

  .team,
  .guarantee-band { background: #fff !important; color: #111 !important; }

  .hero { background: #fff; color: #111; padding-top: 24px; }

  .section { padding-block: 28px; }

  a { text-decoration: underline; }

  .js .reveal { opacity: 1 !important; transform: none !important; }

  .section--paper,
  .section--contact,
  .site-footer { background: #fff !important; color: #111 !important; }

  .quote p,
  .section--paper .lead,
  .section--paper .section-intro,
  .section--paper .note,
  .prose p { color: #222 !important; }

  .site-footer { border-top: 1px solid #ccc; }
}
