:root {
  --ink: #1c252d;
  --ink-soft: #556b78;
  --steel: #547483;
  --steel-dark: #3f6170;
  --steel-deep: #243f4c;
  --red: #9d0501;
  --paper: #f7f8f7;
  --white: #fff;
  --line: rgba(84, 116, 131, 0.28);
  --grid: rgba(84, 116, 131, 0.23);
  --max: 1240px;
  --disp: "Didot", "Bodoni 72", Georgia, serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 8%, rgba(255,255,255,0.1), transparent 40%),
    linear-gradient(90deg, rgba(247,248,247,0.9), rgba(247,248,247,0.78));
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }

.top-strip {
  background: var(--steel-deep);
  color: #fff;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.top-strip .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  width: 230px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--steel-dark), #7aa2ad);
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 16px 30px -20px rgba(36,63,76,.8);
}
.brand-logo {
  width: 62px;
  height: 54px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand strong {
  display: block;
  color: var(--steel-deep);
  font-size: .95rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand span {
  display: block;
  color: var(--ink-soft);
  font-size: .68rem;
  letter-spacing: .04em;
}
.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .73rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--steel-deep);
}
.menu-item { position: relative; padding: 30px 0; }
.menu-item > a::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.menu > a { padding: 30px 0; }
.menu a:hover { color: var(--red); }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(720px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: .2s ease;
  background: var(--steel-deep);
  color: #fff;
  box-shadow: 0 30px 70px -40px rgba(28,37,45,.7);
}
.menu-item:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega strong {
  display: block;
  margin-bottom: 10px;
  color: #d9eef2;
  font-size: .68rem;
  letter-spacing: .18em;
}
.mega a {
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,.84);
  font-size: .7rem;
  letter-spacing: .08em;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .24s ease;
}
.btn::after { content: "→"; color: currentColor; }
.btn:hover { transform: translateY(-2px); background: var(--red); border-color: var(--red); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.red:hover { background: #6f0300; border-color: #6f0300; }
.site-head .btn.red { background: var(--steel-dark); border-color: var(--steel-dark); }
.site-head .btn.red:hover { background: var(--red); border-color: var(--red); }
.hero .btn.red { background: var(--ink); border-color: var(--ink); }
.hero .btn.red:hover { background: var(--red); border-color: var(--red); }

.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 78px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero.home {
  background:
    linear-gradient(90deg, rgba(247,248,247,.97) 0%, rgba(247,248,247,.9) 48%, rgba(247,248,247,.58) 100%),
    url("./assets/hero-home-engenharia.jpg") right center / cover no-repeat;
}
.hero.laudo-page {
  background:
    linear-gradient(90deg, rgba(247,248,247,.97) 0%, rgba(247,248,247,.9) 48%, rgba(247,248,247,.72) 100%),
    url("./assets/hero-laudo-estrutural.jpg") right center / cover no-repeat;
}
.hero.calculo-page {
  background:
    linear-gradient(90deg, rgba(247,248,247,.97) 0%, rgba(247,248,247,.9) 48%, rgba(247,248,247,.72) 100%),
    url("./assets/hero-engenharia.jpg") right center / cover no-repeat;
}
.hero::before {
  content: attr(data-watermark);
  position: absolute;
  left: -12px;
  bottom: -70px;
  z-index: 0;
  color: rgba(84,116,131,.075);
  font-family: var(--disp);
  font-size: clamp(8rem, 23vw, 20rem);
  line-height: .75;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, .9fr);
  gap: 70px;
  align-items: center;
}

.hero.single .hero-grid {
  grid-template-columns: minmax(0, 760px);
}
.crumb,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--red);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.eyebrow::before,
.crumb::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
}
.hero h1 {
  margin-bottom: 28px;
  font-family: var(--disp);
  font-size: clamp(3.5rem, 6.4vw, 6.4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero.service-hero h1 {
  font-size: clamp(3.25rem, 5.8vw, 5.65rem);
}
.hero h1 .hero-line { white-space: nowrap; }
.hero h1 .red { color: var(--red); }
.hero .lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  color: var(--steel-dark);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.trust-row span b { color: var(--red); font-weight: 900; }

.diagram-panel {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(84,116,131,.38);
  background: rgba(255,255,255,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.36);
}
.diagram-panel .fig {
  position: absolute;
  left: 16px;
  top: 14px;
  color: var(--steel-dark);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.diagram-panel svg {
  width: 100%;
  height: 100%;
  min-height: 430px;
}
.diagram-line { stroke: var(--steel-dark); stroke-width: 3; fill: none; }
.diagram-thin { stroke: var(--steel-dark); stroke-width: 1.6; fill: none; opacity: .9; }
.diagram-red { stroke: var(--red); stroke-width: 3; fill: none; }
.diagram-dot { fill: var(--ink); }
.diagram-text {
  fill: var(--steel-dark);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 2px;
}
.diagnostic-panel {
  position: relative;
  min-height: 430px;
  padding: 58px 34px 34px;
  border: 1px solid rgba(84,116,131,.38);
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.36);
}
.diagnostic-panel .fig {
  position: absolute;
  left: 18px;
  top: 16px;
  color: var(--steel-dark);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.diagnostic-grid {
  min-height: 250px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(84,116,131,.38);
}
.diagnostic-grid span {
  position: relative;
  min-height: 62px;
  border-right: 1px solid rgba(84,116,131,.22);
  border-bottom: 1px solid rgba(84,116,131,.22);
  background: rgba(247,248,247,.55);
}
.diagnostic-grid .crack::before {
  content: "";
  position: absolute;
  left: 48%;
  top: -52px;
  width: 4px;
  height: 270px;
  background: var(--red);
  clip-path: polygon(42% 0, 70% 16%, 48% 28%, 76% 43%, 45% 58%, 66% 75%, 35% 100%, 18% 100%, 45% 74%, 23% 56%, 54% 42%, 25% 27%, 48% 15%, 24% 0);
}
.diagnostic-note {
  margin-top: 22px;
  padding: 20px;
  border-left: 4px solid var(--red);
  background: rgba(255,255,255,.72);
}
.diagnostic-note b {
  display: block;
  color: var(--red);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.diagnostic-note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

section { padding: 90px 0; position: relative; }
section[id] { scroll-margin-top: 110px; }
.soft { background: rgba(230,236,238,.48); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding-bottom: 26px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  margin: 0;
  color: var(--steel-deep);
  font-family: var(--disp);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}
.section-index {
  color: var(--red);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 58px;
  align-items: start;
}
.prose {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.prose h2 {
  margin: 34px 0 14px;
  color: var(--steel-deep);
  font-family: var(--disp);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}
.prose h2:first-child { margin-top: 0; }
.prose p { max-width: 70ch; }
.prose ul { margin: 18px 0 28px; padding: 0; list-style: none; }
.prose li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--red);
}

.service-card {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 7px solid var(--steel-dark);
  box-shadow: 0 18px 50px -36px rgba(28,37,45,.5);
}
.service-card small {
  display: block;
  padding: 28px 24px 10px;
  color: var(--steel-dark);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.service-card h3 {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--steel-deep);
  font-family: var(--disp);
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}
.specs { display: grid; }
.specs div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
}
.specs strong {
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 400;
}
.specs span { color: var(--ink); font-weight: 700; text-align: right; }
.service-card .btn { width: calc(100% - 48px); margin: 24px; }

.service-grid,
.case-grid,
.video-grid,
.blog-grid,
.faq-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-tile,
.case-tile,
.video-card,
.blog-card,
.faq-item,
.form-panel,
.location-card,
.step,
.trust-logo {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -44px rgba(28,37,45,.55);
}
.service-tile {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.service-tile .code {
  color: var(--red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.service-tile h3,
.case-tile h3,
.video-card h3,
.blog-card h3,
.faq-item h3 {
  margin: 16px 0 10px;
  color: var(--steel-deep);
  font-family: var(--disp);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}
.service-tile p,
.case-tile p,
.video-card p,
.blog-card p,
.faq-item p,
.step p {
  color: var(--ink-soft);
}
.service-tile a {
  margin-top: auto;
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.pathology-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pathology-grid .case-tile img {
  height: 170px;
}
.pathology-table {
  margin-top: 24px;
}
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.section-cta .btn { width: auto; }
.trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-logo {
  min-height: 98px;
  display: grid;
  place-items: center;
  color: var(--steel-dark);
  font-family: var(--disp);
  font-size: 1.12rem;
  text-align: center;
  text-transform: uppercase;
}

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 24px; border-left: 4px solid var(--red); }
.step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.case-tile { overflow: hidden; }
.case-tile img { width: 100%; height: 210px; object-fit: cover; filter: grayscale(.22); }
.case-tile div { padding: 20px; }

.video-thumb {
  min-height: 195px;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(84,116,131,.1);
  overflow: hidden;
}
.video-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.video-thumb::after {
  content: "▶";
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
}
.video-card div:not(.video-thumb), .blog-card, .faq-item { padding: 22px; }
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.calc-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
}
.calc-table th, .calc-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.calc-table th {
  color: var(--steel-deep);
  background: rgba(84,116,131,.12);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.signature {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
}
.signature-photo {
  min-height: 280px;
  position: relative;
  background:
    linear-gradient(rgba(84,116,131,.12), rgba(84,116,131,.12)),
    url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=700&q=80") center / cover no-repeat;
}
.signature-photo::after {
  content: "RESP. TÉC.";
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #fff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.where-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 380px;
  gap: 36px;
}
.where-grid {
  align-items: center;
}
.where-grid h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--steel-deep);
  font-family: var(--disp);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}
.where-grid p {
  max-width: 670px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}
.form-panel { padding: 26px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  color: var(--steel-deep);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  min-height: 45px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 108px; resize: vertical; }
.form-panel button { width: 100%; margin-top: 16px; }
.notice {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: rgba(157,5,1,.06);
  color: var(--ink-soft);
  font-size: .9rem;
}
.location-card { padding: 24px; }
.location-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--steel-deep);
  font-family: var(--disp);
  font-size: 1.55rem;
  font-weight: 400;
  text-transform: uppercase;
}
.location-card p { color: var(--ink-soft); margin: 0 0 12px; }
.engineer-card {
  align-self: start;
  overflow: hidden;
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -44px rgba(28,37,45,.55);
}
.engineer-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: url("./assets/gk-engenheiro.jpeg") center top / cover no-repeat;
}
.engineer-card div {
  padding: 18px 20px 22px;
}
.engineer-card strong {
  display: block;
  color: var(--red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.engineer-card span {
  display: block;
  margin-top: 6px;
  color: var(--steel-deep);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.final-cta {
  overflow: hidden;
  color: #fff;
  background: var(--steel-deep);
}
.final-cta::before {
  content: attr(data-watermark);
  position: absolute;
  right: -2vw;
  bottom: -80px;
  color: rgba(255,255,255,.06);
  font-family: var(--disp);
  font-size: clamp(7rem, 18vw, 16rem);
  text-transform: uppercase;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-family: var(--disp);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.final-cta p {
  max-width: 680px;
  color: rgba(255,255,255,.82);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
}

.site-foot {
  padding: 34px 0;
  color: #cdd8dc;
  background: #17242d;
  font-size: .86rem;
}
.foot-grid { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 30px; }
.site-foot strong { display: block; color: #fff; margin-bottom: 9px; }
.site-foot a, .site-foot span { display: block; color: #cdd8dc; margin-bottom: 5px; }
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

@media (max-width: 1020px) {
  .top-strip { display: none; }
  .menu { display: none; }
  .brand { width: auto; }
  .hero-grid, .split, .where-grid, .contact-grid, .foot-grid, .signature { grid-template-columns: 1fr; }
  .diagram-panel { min-height: 330px; }
  .diagram-panel svg { min-height: 330px; }
  .service-card { position: static; }
  .service-grid, .case-grid, .pathology-grid, .video-grid, .blog-grid, .process, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav { min-height: 68px; }
  .nav .btn { display: none; }
  .brand .brand-mark { width: 44px; height: 44px; font-size: 1.08rem; }
  .brand-logo { width: 54px; height: 48px; }
  .hero { min-height: auto; padding: 24px 0 28px; }
  .hero.home {
    background:
      linear-gradient(90deg, rgba(247,248,247,.97), rgba(247,248,247,.9)),
      url("./assets/hero-home-engenharia.jpg") 68% center / cover no-repeat;
  }
  .hero.laudo-page {
    background:
      linear-gradient(90deg, rgba(247,248,247,.98), rgba(247,248,247,.92)),
      url("./assets/hero-laudo-estrutural.jpg") 68% center / cover no-repeat;
  }
  .hero.calculo-page {
    background:
      linear-gradient(90deg, rgba(247,248,247,.98), rgba(247,248,247,.92)),
      url("./assets/hero-engenharia.jpg") 68% center / cover no-repeat;
  }
  .hero::before { bottom: -42px; font-size: 6.4rem; }
  .hero-grid { gap: 24px; }
  .eyebrow {
    max-width: 270px;
    margin-bottom: 16px;
    gap: 8px;
    font-size: .62rem;
    line-height: 1.45;
    letter-spacing: .16em;
  }
  .eyebrow::before { width: 24px; }
  .hero h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(1.92rem, 8.3vw, 2.34rem);
    line-height: 1.02;
    overflow-wrap: normal;
  }
  .hero h1 .hero-line,
  .hero h1 .red { white-space: nowrap; }
  .hero .lead {
    max-width: 330px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.45;
  }
  .hero .actions {
    width: min(100%, 330px);
  }
  .trust-row {
    gap: 10px 14px;
    margin-top: 16px;
    font-size: .62rem;
    line-height: 1.35;
    letter-spacing: .08em;
  }
  .diagram-panel { min-height: 280px; }
  .diagram-panel svg { min-height: 280px; }
  .diagnostic-panel {
    min-height: auto;
    padding: 48px 20px 22px;
  }
  .diagnostic-grid { min-height: 220px; }
  .diagnostic-grid span { min-height: 54px; }
  .diagnostic-grid .crack::before { height: 238px; }
  .actions, .form-grid { display: grid; grid-template-columns: 1fr; }
  .btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    padding: 0 12px;
    font-size: .63rem;
    letter-spacing: .06em;
  }
  section { padding: 52px 0; }
  section[id] { scroll-margin-top: 74px; }
  #servicos { padding-top: 36px; }
  #onde-estamos { padding-top: 42px; }
  .where-grid { gap: 24px; }
  .where-grid h2 {
    max-width: 330px;
    font-size: 1.95rem;
    line-height: 1.08;
  }
  .where-grid p {
    max-width: 330px;
    font-size: .96rem;
  }
  .engineer-photo { aspect-ratio: 4 / 5; }
  .section-cta {
    justify-content: stretch;
    max-width: 330px;
    margin-top: 24px;
  }
  .section-cta .btn { width: 100%; }
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 32px;
  }
  .section-head h2 {
    min-width: 0;
    max-width: 100%;
    font-size: 1.88rem;
    line-height: 1.08;
    overflow-wrap: break-word;
  }
  .section-head h2 .mobile-line { display: block; }
  .service-grid, .case-grid, .pathology-grid, .video-grid, .blog-grid, .faq-grid, .process, .trust-grid { grid-template-columns: 1fr; }
  .calc-table {
    display: block;
    overflow-x: auto;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.74rem, 8vw, 1.92rem);
  }
  .hero .lead { max-width: 292px; }
  .hero .actions { width: min(100%, 292px); }
  .section-cta { max-width: 292px; }
  .btn { font-size: .6rem; }
  .section-head h2 { font-size: 1.78rem; }
}
