/* Paiva Ribeiro Engenharia — estilos compartilhados por todas as páginas
   Base visual: dark-hero-banner (hero full-bleed, faixas escuras e claras, divisórias finas),
   reinterpretada com a marca da Paiva Ribeiro: grafite + laranja do "R". */

:root {
  --ink: #141619;
  --ink-2: #1c1f23;
  --ink-3: #24282d;
  --ink-deep: #0e1012;
  --stone: #f4f1eb;
  --paper: #fbfaf7;
  --text: #17191c;
  --text-2: #52565c;
  --on-dark: #f4f1eb;
  --on-dark-2: #a9adb3;
  --line: #ddd7cc;
  --line-dark: rgba(244, 241, 235, .14);
  --accent: #f39200;
  --accent-hover: #ffa726;
  --accent-press: #d98200;
  --accent-ink: #9a5700;
  --error: #c2410c;
  --error-dark: #ff9b80;
  --wa: #25d366;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 80px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html:has(dialog[open]), body.menu-open { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 450;
  color: var(--text);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.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; z-index: 100; left: 16px; top: -80px;
  padding: 12px 18px; background: var(--accent); color: var(--ink);
  font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.num { font-variant-numeric: tabular-nums lining-nums; }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- tipografia ---------- */

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: .01em;
  color: var(--text-2);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); flex: none; }
.section--ink .eyebrow, .hero .eyebrow { color: var(--on-dark-2); }

.h2 { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -.028em; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--text-2); }
.section--ink .lead { color: var(--on-dark-2); }
.serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; font-size: 1.06em;
}
.prose p + p { margin-top: 18px; }
.prose p { color: var(--text-2); max-width: 62ch; }
.section--ink .prose p { color: var(--on-dark-2); }

/* cabeçalho de seção: título à esquerda, apoio à direita */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.sec-head .lead { max-width: 50ch; }
.sec-head__aside { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
#depoimentos .sec-head > * { min-width: 0; }
#depoimentos .sec-head__aside .btn {
  max-width: 100%; white-space: normal; text-align: center;
  line-height: 1.4; padding-block: 14px;
}

/* ---------- botões e links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--primary:active { background: var(--accent-press); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(23, 25, 28, .28); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost-dark { border-color: rgba(244, 241, 235, .32); color: var(--on-dark); }
.btn--ghost-dark:hover { border-color: var(--on-dark); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  color: var(--text);
  transition: color .2s ease;
}
.link-arrow .icon { width: 18px; height: 18px; }
.section--ink .link-arrow { color: var(--on-dark); }
a.link-arrow:hover, a:hover > .link-arrow { color: var(--accent-ink); }
.section--ink a.link-arrow:hover, .section--ink a:hover > .link-arrow { color: var(--accent); }

.text-link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  text-decoration-color: currentColor; transition: color .2s ease;
}
.text-link:hover { color: var(--accent-ink); }
.section--ink .text-link:hover, .site-footer .text-link:hover { color: var(--accent); }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -48px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 16, 18, .62) 0%, rgba(14, 16, 18, 0) 100%);
  transition: opacity .3s ease;
}
.site-header.is-solid { background: rgba(20, 22, 25, .97); border-bottom-color: var(--line-dark); }
.site-header.is-solid::before { opacity: 0; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { height: 56px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  color: rgba(244, 241, 235, .8);
  background: none; border: 0; cursor: pointer;
  transition: color .2s ease;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { color: var(--on-dark); }
.nav > a[aria-current="page"], .nav-drop > button[data-current] {
  color: var(--on-dark);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 8px; text-decoration-thickness: 1px;
}
.nav-drop { position: relative; }
.nav-drop > button .icon { width: 14px; height: 14px; }
.drop-panel {
  position: absolute; top: calc(100% + 14px); left: -8px;
  width: 380px; padding: 6px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 4px;
  display: none;
}
.drop-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop.is-open .drop-panel { display: block; }
@media (hover: hover) and (min-width: 1061px) {
  .nav-drop:hover .drop-panel { display: block; }
}
.drop-panel a {
  display: block; padding: 14px 16px; border-radius: var(--radius);
  color: var(--on-dark); transition: background-color .2s ease;
}
.drop-panel a + a { border-top: 1px solid var(--line-dark); }
.drop-panel a:hover { background: rgba(244, 241, 235, .05); }
.drop-panel a[aria-current="page"] strong { color: var(--accent); }
.drop-panel strong { display: block; font-size: 15px; font-weight: 600; }
.drop-panel span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--on-dark-2); }

.header-actions { display: flex; align-items: center; gap: 20px; flex: none; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: color .2s ease;
}
.header-phone .icon { width: 17px; height: 17px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; color: var(--on-dark);
  border: 1px solid rgba(244, 241, 235, .28); border-radius: var(--radius);
  cursor: pointer; transition: border-color .2s ease;
}
.menu-toggle:hover { border-color: var(--on-dark); }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  background: var(--ink); color: var(--on-dark);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 40px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > a, .mobile-nav__group > a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 19px; font-weight: 500;
}
.mobile-nav a[aria-current="page"] { color: var(--accent); }
.mobile-nav__label { display: block; padding: 20px 0 4px; font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
.mobile-nav__group > a { padding-left: 16px; font-size: 17px; }
.mobile-nav__foot { display: grid; gap: 12px; margin-top: 32px; }
.mobile-nav__foot .btn { width: 100%; }

@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 1060px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 12px; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand img { height: 48px; }
  .header-actions .btn { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(660px, min(100svh, 980px));
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--on-dark);
}
.hero--page { min-height: max(600px, min(88svh, 860px)); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%); filter: saturate(.86); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 16, 18, .88) 0%, rgba(14, 16, 18, .66) 36%, rgba(14, 16, 18, .16) 70%, rgba(14, 16, 18, .22) 100%),
    linear-gradient(0deg, rgba(14, 16, 18, .92) 0%, rgba(14, 16, 18, .35) 26%, rgba(14, 16, 18, 0) 46%);
}
.hero__content {
  padding-top: calc(var(--header-h) + clamp(56px, 9vh, 112px));
  padding-bottom: clamp(40px, 6vh, 72px);
}
.hero__copy { max-width: 700px; }
.hero:not(.hero--page) .hero__copy {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(244, 241, 235, .12);
  border-radius: var(--radius);
  background: rgba(14, 16, 18, .78);
}
.hero__services {
  display: grid; gap: 10px; margin-bottom: 18px;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5;
}
.hero__services li { position: relative; padding-left: 18px; }
.hero__services li::before {
  content: ""; position: absolute; top: .6em; left: 0;
  width: 5px; height: 5px; background: var(--accent);
}
.hero:not(.hero--page) .hero__sub { margin-bottom: 28px; font-size: 16px; }
.hero:not(.hero--page) .hero__geo { color: rgba(244, 241, 235, .84); }
.hero h1.eyebrow { font-size: 15px; color: rgba(244, 241, 235, .8); margin-bottom: 24px; text-wrap: pretty; }
.hero__title {
  margin: 0 0 28px;
  font-size: clamp(40px, 5.5vw, 82px); line-height: 1.02; letter-spacing: -.035em;
  font-weight: 500; text-wrap: balance;
}
.hero--page .hero__title { font-size: clamp(38px, 4.8vw, 70px); }
.hero__sub {
  max-width: 580px; margin: 0 0 36px;
  font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6;
  color: rgba(244, 241, 235, .84); text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__geo {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 28px;
  font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2);
}
.hero__geo .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }

.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark-2); }
.breadcrumb li { display: inline-flex; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(244, 241, 235, .35); }
.breadcrumb a { transition: color .2s ease; }
.breadcrumb a:hover { color: var(--on-dark); }
.breadcrumb [aria-current] { color: var(--on-dark); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.stat { padding: 28px 24px 34px; border-left: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__num {
  display: block; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; font-weight: 500;
  letter-spacing: -.03em; font-variant-numeric: tabular-nums lining-nums;
}
.stat__label { display: block; margin-top: 12px; max-width: 24ch; font-size: 14.5px; line-height: 1.45; color: var(--on-dark-2); }

/* ---------- split (texto + imagem) ---------- */

.split {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: 48px; align-items: center;
}
.split__text { grid-column: 1 / span 5; }
.split__media { grid-column: 7 / span 6; margin: 0; }
.split--reverse .split__media { grid-column: 1 / span 5; grid-row: 1; }
.split--reverse .split__text { grid-column: 7 / span 6; grid-row: 1; }
.split__media img { width: 100%; aspect-ratio: var(--ratio, 4 / 3); object-fit: cover; object-position: var(--pos, 50% 50%); background: var(--ink-3); }
.split__media figcaption { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.section--ink .split__media figcaption { color: var(--on-dark-2); }
.split__text .h2 { margin-bottom: 28px; }
.split--wide .split__text { grid-column: 1 / span 6; }
.split--wide .split__media { grid-column: 8 / span 5; }

.pull-quote {
  margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.pull-quote p {
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3; color: var(--text); max-width: 34ch;
}
.pull-quote footer { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--text-2); }

/* ---------- cards de serviço (subgrid) ---------- */

.cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(20px, 2.6vw, 40px); row-gap: 0;
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; color: inherit; }
.service-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); margin-bottom: 24px; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: filter .3s ease; }
.service-card:hover .service-card__media img { filter: brightness(1.07); }
.cards--2 .service-card__media { aspect-ratio: 16 / 9; }
.service-card__head { display: flex; align-items: baseline; gap: 14px; }
.service-card__num { font-size: 14px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.section--ink .service-card__num { color: var(--accent); }
.service-card h3 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 600; letter-spacing: -.015em; line-height: 1.25; transition: color .2s ease; }
.service-card p { margin: 14px 0 22px; color: var(--text-2); max-width: 46ch; }
.section--ink .service-card p { color: var(--on-dark-2); }
.service-card .link-arrow { align-self: end; padding-top: 18px; border-top: 1px solid var(--line); }
.section--ink .service-card .link-arrow { border-top-color: var(--line-dark); }

/* ---------- galeria de realizações ---------- */

.gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 24px);
}
.work { margin: 0; }
.work__open {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  color: inherit; cursor: zoom-in; text-align: left;
}
.work__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: filter .3s ease; }
.work__open:hover img { filter: brightness(1.1); }
.work figcaption { margin-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.work__title { font-size: 16px; font-weight: 600; line-height: 1.4; }
.work__meta { font-size: 14px; color: var(--on-dark-2); }
.section--stone .work__meta, .section--paper .work__meta { color: var(--text-2); }
.gallery-foot {
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
}
.gallery-foot p { color: var(--on-dark-2); }

/* ---------- etapas (linha do tempo, subgrid) ---------- */

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  grid-template-rows: auto auto auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
}
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); }
.section--ink .steps::before { background: var(--line-dark); }
.step { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
.step__marker {
  position: relative; width: 14px; height: 12px; margin-bottom: 32px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.step__num { font-size: 14px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.section--ink .step__num { color: var(--accent); }
.step h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 12px; }
.step p { font-size: 15.5px; line-height: 1.6; color: var(--text-2); }
.section--ink .step p { color: var(--on-dark-2); }

/* grade de etapas em 3 colunas × 2 linhas */
.steps--grid { --cols: 3; grid-template-rows: none; row-gap: 56px; }
.steps--grid::before { display: none; }
.steps--grid .step {
  grid-row: auto; grid-template-rows: none; display: block;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.section--ink .steps--grid .step { border-top-color: var(--line-dark); }
.steps--grid .step__marker { display: none; }
.steps--grid .step p { font-size: 17px; color: var(--text); line-height: 1.55; }
.section--ink .steps--grid .step p { color: var(--on-dark); }

/* ---------- listas com divisória ---------- */

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-bottom: 1px solid var(--line); }
.feature-list li {
  display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line);
  font-size: 16px; line-height: 1.5; font-weight: 500;
}
.feature-list li::before {
  content: ""; flex: none; width: 10px; height: 9px; margin-top: 7px;
  background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.feature-list--single { grid-template-columns: 1fr; }
.section--ink .feature-list, .section--ink .feature-list li { border-color: var(--line-dark); }

.num-list { border-bottom: 1px solid var(--line); counter-reset: n; }
.num-list li {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--line);
  font-size: 17px; line-height: 1.5; font-weight: 500;
}
.num-list li::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  font-size: 14px; font-weight: 600; line-height: 1.8; color: var(--accent-ink);
  font-variant-numeric: tabular-nums;
}
.section--ink .num-list, .section--ink .num-list li { border-color: var(--line-dark); }
.section--ink .num-list li::before { color: var(--accent); }
.list-title { font-size: 15px; font-weight: 600; margin-bottom: 16px; color: var(--text-2); }
.section--ink .list-title { color: var(--on-dark-2); }

/* ---------- áreas de atuação + mapa ---------- */

.areas {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 5vw, 80px); align-items: center;
}
.areas .h2 { margin-bottom: 24px; }
.places {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr; column-gap: 32px; margin-top: 40px;
}
.places__group { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
.places__group h3 {
  display: block; align-self: end;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-dark);
  font-size: 15px; font-weight: 600; letter-spacing: 0;
}
.badge {
  display: inline-flex; align-items: center; justify-content: center; margin-left: 6px; vertical-align: 1px;
  min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums;
  background: rgba(244, 241, 235, .1); color: var(--on-dark);
}
.section--stone .badge, .section--paper .badge { background: rgba(23, 25, 28, .07); color: var(--text); }
.places li {
  padding: 9px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 15px; color: var(--on-dark-2); transition: color .2s ease;
}
.places li:hover, .places li.is-active { color: var(--on-dark); }
.areas__note { margin-top: 28px; font-size: 15px; color: var(--on-dark-2); }

.map { margin: 0; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .land { fill: var(--ink-3); stroke: rgba(244, 241, 235, .22); stroke-width: 3; }
.map .grid-line { stroke: rgba(244, 241, 235, .05); stroke-width: 2; }
.map .region {
  fill: rgba(244, 241, 235, .5); font-family: var(--font); font-size: 40px; font-weight: 600;
  letter-spacing: .02em;
}
.map .ocean { fill: rgba(244, 241, 235, .32); font-family: var(--serif); font-style: italic; font-size: 64px; }
.map .pin path { fill: var(--accent); stroke: var(--ink); stroke-width: 4; transition: fill .2s ease; }
.map .pin text {
  fill: var(--on-dark); font-family: var(--font); font-size: 40px; font-weight: 600;
  paint-order: stroke; stroke: var(--ink); stroke-width: 10px; stroke-linejoin: round;
  opacity: 0; transition: opacity .2s ease;
}
.map .pin:hover path, .map .pin.is-active path { fill: var(--on-dark); }
.map .pin:hover text, .map .pin.is-active text { opacity: 1; }
.map .pin--interior text { opacity: 1; font-size: 58px; }
.map figcaption { margin-top: 12px; font-size: 13.5px; color: var(--on-dark-2); }

/* ---------- depoimentos (subgrid) ---------- */

.quotes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto; column-gap: clamp(24px, 3vw, 48px);
}
.quote { display: grid; grid-template-rows: subgrid; grid-row: span 3; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.quote__mark { font-family: var(--serif); font-size: 72px; line-height: .8; height: 36px; color: var(--accent); }
.quote blockquote { margin: 18px 0 28px; }
.quote blockquote p { font-size: 18px; line-height: 1.6; font-weight: 450; color: var(--text); }
.quote figcaption strong { display: block; font-size: 16px; font-weight: 600; }
.quote figcaption span { display: block; font-size: 14px; color: var(--text-2); }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 96px); align-items: start;
}
.faq-aside { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-aside .h2 { margin-bottom: 20px; }
.faq-aside .btn { margin-top: 28px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.45; transition: color .2s ease; }
.faq summary:hover h3 { color: var(--accent-ink); }
.faq-icon { position: relative; flex: none; width: 20px; height: 20px; margin-top: 4px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; }
.faq-icon::before { width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; }
.faq-icon::after { width: 1.5px; height: 16px; margin: -8px 0 0 -.75px; transition: opacity .2s ease; }
.faq details[open] .faq-icon::after { opacity: 0; }
.faq__answer { padding: 0 44px 26px 0; }
.faq__answer p { color: var(--text-2); max-width: 66ch; }

/* ---------- declaração (faixa de autoridade) ---------- */

.statement {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px clamp(40px, 6vw, 96px); align-items: start;
}
.statement__num { font-size: clamp(88px, 11vw, 168px); line-height: .85; font-weight: 500; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.statement__num small { display: block; margin-top: 18px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--on-dark-2); }
.statement__text { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; font-weight: 450; letter-spacing: -.015em; text-wrap: pretty; }
.statement__words {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 40px;
  border-top: 1px solid var(--line-dark);
}
.statement__words li { padding: 18px 0 0; font-size: 15px; font-weight: 600; color: var(--on-dark-2); }
.statement__words li + li { padding-left: 20px; border-left: 1px solid var(--line-dark); }

/* ---------- contato + formulário ---------- */

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px clamp(40px, 7vw, 112px); align-items: start;
}
.contact .h2 { margin-bottom: 24px; }
.contact__intro .btn { margin-top: 32px; }
.channels { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.channels li {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; line-height: 1.55;
}
.channels__label { color: var(--on-dark-2); }
.channels a { transition: color .2s ease; }
.channels a:hover { color: var(--accent); }
.channels .num { font-weight: 600; }

.form-title { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.form-intro { color: var(--on-dark-2); font-size: 15px; margin-bottom: 32px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--on-dark-2); }
.field label .opt { font-weight: 450; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0 12px;
  background: transparent; border: 0; border-bottom: 1px solid rgba(244, 241, 235, .3); border-radius: 0;
  font-size: 17px; font-weight: 500; color: var(--on-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 241, 235, .38); font-weight: 450; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a9adb3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.field select option { color: var(--ink); }
.field select:invalid { color: rgba(244, 241, 235, .45); font-weight: 450; }
.field textarea { resize: vertical; min-height: 112px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent);
}
.field-error { display: none; font-size: 13.5px; color: var(--error-dark); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--error-dark); }
.field.has-error .field-error { display: block; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 4px; }
.form-note { font-size: 14.5px; line-height: 1.5; color: var(--on-dark-2); min-height: 1.5em; }
.form-note.is-warning { color: var(--error-dark); }
.form-note.is-success { color: var(--on-dark); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-privacy { font-size: 13px; color: var(--on-dark-2); }
.form-privacy a { text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; }
.form-privacy a:hover { color: var(--on-dark); }

.map-embed { margin-top: clamp(56px, 7vw, 96px); }
.map-embed__frame { position: relative; height: 380px; background: var(--ink-2); border: 1px solid var(--line-dark); overflow: hidden; }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.85) brightness(.95); }
.map-embed__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 16px; font-size: 14.5px; color: var(--on-dark-2);
}

/* ---------- rodapé ---------- */

.site-footer { background: var(--ink-deep); color: var(--on-dark-2); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 15px; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.7fr)); gap: 40px clamp(24px, 4vw, 56px); }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 500; transition: color .2s ease; }
.footer-social a:hover { color: var(--accent); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-title { font-size: 14px; font-weight: 600; color: var(--on-dark); margin-bottom: 16px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--on-dark); }
.footer-nap { font-style: normal; }
.footer-nap strong { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: 6px; }
.footer-nap a { transition: color .2s ease; }
.footer-nap a:hover { color: var(--on-dark); }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 14px;
}
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: var(--on-dark); }

/* ---------- WhatsApp flutuante ---------- */

.wa-float {
  position: fixed; z-index: 40;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: opacity .25s ease, visibility .25s ease, background-color .2s ease;
}
.wa-float:hover { background: #1fbd5a; }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float.is-hidden, .menu-open .wa-float { opacity: 0; visibility: hidden; }

/* ---------- lightbox ---------- */

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(10, 11, 12, .94); }
.lb { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lb__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); border-bottom: 1px solid var(--line-dark); background: var(--ink);
}
.lb__caption { min-width: 0; }
.lb__title { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb__sub { font-size: 14px; color: var(--on-dark-2); }
.lb__controls { display: flex; align-items: center; gap: 8px; flex: none; }
.lb__count { min-width: 56px; text-align: center; font-size: 14px; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.lb__btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: transparent; color: var(--on-dark);
  cursor: pointer; transition: border-color .2s ease;
}
.lb__btn:hover { border-color: var(--on-dark); }
.lb__stage { display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 32px) var(--gutter); min-height: 0; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---------- páginas de leitura (privacidade, 404) ---------- */

.page-head { background: var(--ink); color: var(--on-dark); padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 80px); }
.page-head .h2 { max-width: 20ch; }
.page-head .lead { margin-top: 20px; max-width: 60ch; }
.reading { max-width: 860px; }
.reading h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 48px 0 14px; }
.reading h2:first-child { margin-top: 0; }
.reading p, .reading li { color: var(--text-2); max-width: 70ch; }
.reading p + p { margin-top: 14px; }
.reading ul { margin-top: 12px; }
.reading li { position: relative; padding-left: 22px; }
.reading li + li { margin-top: 8px; }
.reading li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 8px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.reading a { color: var(--text); }

/* ---------- responsivo ---------- */

@media (max-width: 1100px) {
  .steps:not(.steps--grid) { --cols: 5; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }

  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .split__text, .split__media,
  .split--reverse .split__text, .split--reverse .split__media,
  .split--wide .split__text, .split--wide .split__media { grid-column: 1; grid-row: auto; }
  .split--reverse .split__media { order: 2; }

  .cards, .cards--2 { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 56px; }
  .service-card { grid-row: auto; grid-template-rows: none; }
  .service-card__media { aspect-ratio: 16 / 9; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .steps:not(.steps--grid) { grid-template-columns: 1fr; grid-template-rows: none; }
  .steps:not(.steps--grid)::before { left: 6px; right: auto; top: 6px; bottom: 24px; width: 1px; height: auto; }
  .steps:not(.steps--grid) .step {
    grid-row: auto; grid-template-rows: none;
    grid-template-columns: 14px minmax(0, 1fr); column-gap: 24px; padding-bottom: 36px;
  }
  .steps:not(.steps--grid) .step__marker { grid-row: 1 / span 3; margin: 6px 0 0; }
  .steps:not(.steps--grid) .step > :not(.step__marker) { grid-column: 2; }
  .steps--grid { --cols: 2; }

  .areas { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 40px; }
  .quote { grid-row: auto; grid-template-rows: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .statement { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  /* no celular a foto vira capa no topo (como a capa mobile do dark-hero-banner) e o texto segue no fundo escuro */
  .hero, .hero--page { display: block; min-height: 0; }
  .hero::before { display: none; }
  .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 10 / 9; }
  .hero--page .hero__media { aspect-ratio: 5 / 4; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(14, 16, 18, .55) 0%, rgba(14, 16, 18, 0) 30%),
      linear-gradient(0deg, var(--ink) 0%, rgba(20, 22, 25, 0) 42%);
  }
  .hero__content { position: relative; margin-top: -56px; padding-top: 0; padding-bottom: 40px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .stat { padding: 22px 0 24px; border-left: 0; border-top: 1px solid var(--line-dark); }
  .stat:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
  .feature-list { grid-template-columns: 1fr; }
  .statement__words { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statement__words li:nth-child(3) { padding-left: 0; border-left: 0; }
  .map .region, .map .ocean { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .steps--grid { --cols: 1; row-gap: 40px; }
  .lead-form { grid-template-columns: 1fr; }
  .places { column-gap: 16px; }
  .places li { font-size: 14px; }
  .places__group h3 { font-size: 14px; }
  .channels li { grid-template-columns: 1fr; gap: 2px; }
  .map-embed__frame { height: 300px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .lb__head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* serviços na landing page: informação completa no card, sem link para páginas próprias */
.cards--info { grid-template-rows: auto auto auto 1fr; }
.cards--info .service-card p { margin-bottom: 20px; }
.feature-list--compact li { padding: 12px 0; font-size: 15px; }
.cards--info .feature-list { align-self: start; align-content: start; }
