@font-face {
  font-family: "Archivo";
  src: url("/demonstracoes/traco-estanque/assets/fonts/archivo-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/demonstracoes/traco-estanque/assets/fonts/source-sans-3-variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --fog: #eef2f1;
  --white: #ffffff;
  --petroleum: #112b32;
  --petroleum-deep: #081b20;
  --petroleum-soft: #193942;
  --rain: #2c6b78;
  --oxide: #9c3f28;
  --oxide-bright: #b64b30;
  --zinc: #afc3c6;
  --ink-muted: #52676c;
  --line: #cad5d5;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --shell: 90rem;
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --z-menu: 30;
  --z-dialog-backdrop: 50;
  --z-dialog: 60;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--fog);
  color: var(--petroleum);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, a { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, ul, ol { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.3vw, 5.8rem);
  font-stretch: 106%;
  font-weight: 590;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.5rem);
  font-stretch: 102%;
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1;
}

p { text-wrap: pretty; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--oxide-bright);
  outline-offset: 4px;
}

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--petroleum);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.section-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: 0.01em;
}

.section-name::before {
  width: 2.5rem;
  height: 2px;
  flex: 0 0 auto;
  background: var(--oxide);
  content: "";
}

.button,
.header-action {
  display: inline-flex;
  min-height: 3.3rem;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--petroleum);
  color: var(--white);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.84rem;
  font-stretch: 102%;
  font-weight: 720;
  letter-spacing: 0.025em;
  line-height: 1;
  padding: 1rem 1.35rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.header-action:hover {
  background: var(--rain);
  transform: translateY(-2px);
}

.button-oxide { background: var(--oxide); }
.button-oxide:hover { background: var(--oxide-bright); }

.text-link,
.text-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.86rem;
  font-stretch: 102%;
  font-weight: 690;
  letter-spacing: 0.02em;
  padding: 0;
  text-decoration: none;
}

.text-link span { color: var(--oxide-bright); font-size: 1.1rem; }
.text-link-light { color: var(--white); }

.site-header {
  position: absolute;
  z-index: var(--z-menu);
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 2 * var(--gutter)), var(--shell));
  min-height: 5.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.72rem;
  font-family: var(--display);
  font-size: 1.02rem;
  font-stretch: 105%;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand span { white-space: nowrap; }
.brand strong { font-weight: 780; }

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2.5;
}

.brand-flow { stroke: var(--oxide-bright); }

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.4rem);
}

.site-navigation > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.87rem;
  font-weight: 630;
  text-decoration: none;
}

.site-navigation > a:hover { color: var(--zinc); }

.header-action {
  min-height: 2.8rem;
  background: var(--white);
  color: var(--petroleum);
  padding: 0.8rem 1rem;
}

.header-action:hover { background: var(--oxide); color: var(--white); }

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.38rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  width: 1.45rem;
  border-top: 2px solid currentColor;
  transition: transform 160ms ease;
}

.menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(0.25rem) rotate(45deg); }
.menu-button[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-0.25rem) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--petroleum-deep);
  color: var(--white);
}

.hero-background,
.hero-background picture,
.hero-background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background { margin: 0; }

.hero-background img {
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.75) contrast(1.06);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 19, 24, 0.92) 0%, rgba(7, 27, 33, 0.73) 42%, rgba(7, 27, 33, 0.2) 76%),
    linear-gradient(0deg, rgba(4, 17, 21, 0.86) 0%, transparent 47%);
}

.hero-flow {
  position: absolute;
  top: 5rem;
  right: clamp(-8rem, -3vw, -2rem);
  width: min(56vw, 48rem);
  height: calc(100% - 6rem);
  overflow: visible;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.hero-flow-guide { stroke: rgba(255, 255, 255, 0.24); stroke-width: 2; }

.hero-flow-route {
  stroke: var(--oxide-bright);
  stroke-width: 5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: trace-route 1.8s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-flow circle { fill: var(--oxide-bright); stroke: var(--white); stroke-width: 3; }

@keyframes trace-route { to { stroke-dashoffset: 0; } }

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto auto;
  padding-top: 7.5rem;
  padding-bottom: 2rem;
}

.hero-location {
  display: flex;
  max-width: 44rem;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 640;
}

.hero h1 {
  max-width: 12ch;
  align-self: center;
  margin: 3rem 0;
  font-size: clamp(3.6rem, 7.6vw, 6rem);
  font-stretch: 112%;
  font-weight: 540;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.hero h1 span, .hero h1 strong { display: block; }
.hero h1 span { color: var(--white); font-weight: 760; }

.hero h1 strong {
  max-width: 11ch;
  margin-top: 0.22em;
  color: var(--zinc);
  font-weight: 420;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 34rem) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}

.hero-bottom > p {
  margin-bottom: 0;
  color: #d7e3e3;
  font-size: clamp(1.08rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
}

.hero-sequence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
}

.hero-sequence li {
  position: relative;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 1.2rem 0 0;
}

.hero-sequence li + li { padding-left: 1.2rem; }
.hero-sequence li:last-child { border-right: 0; }

.hero-sequence li::before {
  position: absolute;
  top: -0.35rem;
  left: 0;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--oxide-bright);
  content: "";
}

.hero-sequence span { color: var(--zinc); font-size: 0.78rem; }
.hero-sequence strong { font-family: var(--display); font-size: 0.86rem; font-weight: 680; }

.signal-zone {
  padding-block: clamp(6rem, 11vw, 11rem);
  background: var(--petroleum-deep);
  color: var(--white);
}

.signal-opening {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1.05fr) minmax(16rem, 0.6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

.signal-opening .section-name { color: var(--zinc); }
.signal-opening h2 { max-width: 8ch; }

.signal-lead {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--zinc);
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
}

.evidence-line {
  display: grid;
  grid-template-columns: 1fr minmax(8rem, 0.35fr) 1fr;
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: stretch;
  margin-top: clamp(5rem, 9vw, 9rem);
}

.evidence-line article {
  display: grid;
  min-height: 19rem;
  align-content: space-between;
  border-top: 1px solid rgba(175, 195, 198, 0.45);
  padding-top: 1.25rem;
}

.evidence-line article > span { color: var(--zinc); font-size: 0.82rem; }

.evidence-line article h3 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
}

.evidence-line article p {
  max-width: 29rem;
  margin-bottom: 0;
  color: var(--zinc);
  font-size: 1.05rem;
}

.evidence-bridge { display: grid; place-items: center; }

.evidence-bridge svg {
  width: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--oxide-bright);
  stroke-width: 3;
}

.evidence-bridge > span {
  position: absolute;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--oxide-bright);
}
.route-lab {
  padding-block: clamp(6rem, 10vw, 10rem);
  background: var(--fog);
}

.route-lab-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1.05fr) minmax(16rem, 0.6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.route-lab-heading h2 { max-width: 10ch; }

.route-lab-heading > p:last-child {
  max-width: 32rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.route-stage {
  position: relative;
  min-height: 49rem;
  overflow: hidden;
  background: var(--rain);
  color: var(--white);
  padding-top: clamp(2rem, 4vw, 4rem);
}

.route-stage::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.07), transparent 52%);
  content: "";
  pointer-events: none;
}

.route-diagram {
  width: min(100%, 66rem);
  margin-inline: auto;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.building-mass {
  fill: rgba(17, 43, 50, 0.45);
  stroke: var(--zinc);
  stroke-width: 2;
}

.building-line { stroke: rgba(238, 242, 241, 0.42); stroke-width: 1.5; }
.rain-strokes { stroke: var(--fog); stroke-width: 3; }
.water-shadow { stroke: rgba(17, 43, 50, 0.48); stroke-width: 14; }
.water-route { stroke: var(--oxide-bright); stroke-width: 6; stroke-dasharray: 14 9; }
.route-point { fill: var(--oxide-bright); stroke: var(--white); stroke-width: 4; }
.route-point-end { fill: var(--petroleum-deep); }

.route-steps {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  left: var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  background: var(--petroleum-deep);
  list-style: none;
}

.route-steps li {
  min-height: 11rem;
  border-right: 1px solid rgba(175, 195, 198, 0.28);
  padding: 1.4rem;
}

.route-steps li:last-child { border-right: 0; }

.route-steps span {
  display: block;
  margin-bottom: 1.7rem;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 680;
}

.route-steps p {
  margin-bottom: 0;
  color: var(--zinc);
  font-size: 0.9rem;
  line-height: 1.45;
}

.field-cases {
  padding-block: clamp(6rem, 10vw, 10rem);
  background: var(--white);
}

.field-title {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1.05fr) minmax(16rem, 0.6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.field-title h2 { max-width: 9ch; }

.field-title > p:last-child {
  max-width: 31rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 1.08rem;
}

.case-stream {
  width: min(100%, 108rem);
  margin-inline: auto;
}

.case-row {
  display: grid;
  min-height: 38rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
}

.case-row figure {
  min-width: 0;
  margin: 0;
}

.case-row figure,
.case-row picture,
.case-row img {
  width: 100%;
  height: 100%;
}

.case-row img { object-fit: cover; }
.case-row:first-child img { object-position: center 56%; }

.case-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--fog);
  padding: clamp(2rem, 5vw, 5rem);
}

.case-copy > span {
  margin-bottom: auto;
  color: var(--rain);
  font-size: 0.86rem;
  font-weight: 680;
}

.case-copy h3 {
  max-width: 10ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
}

.case-copy p {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.case-row-technical {
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  background: var(--oxide);
  color: var(--white);
}

.case-row-technical .case-copy {
  background: var(--oxide);
  color: var(--white);
}

.case-row-technical .case-copy > span,
.case-row-technical .case-copy p {
  color: #f0d7cf;
}

.case-schematic {
  position: relative;
  min-height: 38rem;
  overflow: hidden;
  background: var(--petroleum-deep);
}

.case-schematic::before,
.case-schematic::after,
.case-schematic span {
  position: absolute;
  content: "";
}

.case-schematic::before {
  top: 18%;
  right: 14%;
  bottom: 18%;
  left: 14%;
  border: 1px solid rgba(175, 195, 198, 0.45);
}

.case-schematic::after {
  top: 0;
  left: 48%;
  width: 3px;
  height: 68%;
  background: var(--oxide-bright);
}

.schematic-plane {
  top: 34%;
  right: 14%;
  left: 14%;
  border-top: 2px solid var(--zinc);
  transform: rotate(-8deg);
  transform-origin: center;
}

.schematic-joint {
  right: 30%;
  bottom: 28%;
  width: 26%;
  height: 26%;
  border-bottom: 2px solid var(--zinc);
  border-left: 2px solid var(--zinc);
}

.schematic-drop {
  right: 28%;
  bottom: 20%;
  width: 1.2rem;
  height: 1.7rem;
  border-radius: 55% 55% 60% 60% / 65% 65% 45% 45%;
  background: var(--oxide-bright);
  transform: rotate(45deg);
}

.case-row-reverse {
  grid-template-columns: minmax(19rem, 0.65fr) minmax(0, 1.35fr);
}

.case-row-reverse figure { order: 2; }

.case-row-reverse .case-copy {
  background: var(--petroleum);
  color: var(--white);
}

.case-row-reverse .case-copy > span,
.case-row-reverse .case-copy p {
  color: var(--zinc);
}

.image-note {
  margin-top: 1.5rem;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
}
.process-run {
  padding-block: clamp(6rem, 10vw, 10rem);
  background: var(--oxide);
  color: var(--white);
}

.process-head {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1.05fr) minmax(16rem, 0.6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: end;
  margin-bottom: clamp(5rem, 9vw, 8rem);
}

.process-head .section-name::before { background: var(--white); }
.process-head h2 { max-width: 10ch; }

.process-head > p:last-child {
  max-width: 31rem;
  margin-bottom: 0;
  color: #f0d7cf;
  font-size: 1.08rem;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 0;
  padding-top: 1.25rem;
  list-style: none;
}

.process-track::before {
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  border-top: 2px solid rgba(255, 255, 255, 0.58);
  content: "";
}

.process-track li {
  position: relative;
  min-height: 19rem;
  border-right: 1px solid rgba(255, 255, 255, 0.27);
  padding: 2.4rem 1.4rem 0 0;
}

.process-track li + li { padding-left: 1.4rem; }
.process-track li:last-child { border-right: 0; }

.process-track li::before {
  position: absolute;
  top: -1.65rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--white);
  content: "";
}

.process-track span {
  display: block;
  margin-bottom: 4rem;
  color: #f0d7cf;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 720;
}

.process-track h3 {
  min-height: 3.8rem;
  margin-bottom: 1.1rem;
  font-size: clamp(1.3rem, 1.8vw, 1.85rem);
}

.process-track p {
  max-width: 15rem;
  margin-bottom: 0;
  color: #f0d7cf;
  font-size: 0.94rem;
}

.prepare-strip {
  padding-block: clamp(6rem, 10vw, 9rem);
  background: var(--petroleum);
  color: var(--white);
}

.prepare-title {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1.65fr);
  gap: clamp(2rem, 6vw, 7rem);
  margin-bottom: clamp(4rem, 7vw, 6rem);
}

.prepare-title .section-name { color: var(--zinc); }
.prepare-title h2 { max-width: 11ch; }

.prepare-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(175, 195, 198, 0.45);
  list-style: none;
}

.prepare-list li {
  min-height: 14rem;
  border-right: 1px solid rgba(175, 195, 198, 0.28);
  padding: 1.25rem 1.5rem 0 0;
}

.prepare-list li + li { padding-left: 1.5rem; }
.prepare-list li:last-child { border-right: 0; }

.prepare-list span {
  display: block;
  margin-bottom: 4rem;
  color: var(--oxide-bright);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
}

.prepare-list p {
  max-width: 16rem;
  margin-bottom: 0;
  color: var(--zinc);
  font-size: 1rem;
}

.faq-zone {
  padding-block: clamp(6rem, 10vw, 10rem);
  background: var(--fog);
}

.faq-shell {
  display: grid;
  grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(3rem, 9vw, 10rem);
  align-items: start;
}

.faq-title {
  position: sticky;
  top: 3rem;
}

.faq-title h2 { max-width: 8ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.8vw, 1.5rem);
  font-stretch: 102%;
  font-weight: 610;
  letter-spacing: -0.015em;
  list-style: none;
  padding: 1.35rem 3.5rem 1.35rem 0;
}

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

.faq-list summary::after {
  position: absolute;
  right: 0.25rem;
  color: var(--oxide);
  content: "+";
  font-family: var(--body);
  font-size: 2rem;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }

.faq-list details p {
  max-width: 44rem;
  margin: -0.2rem 3.5rem 1.8rem 0;
  color: var(--ink-muted);
  font-size: 1.03rem;
}

.final-cta {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
}

.final-image,
.final-image img,
.final-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-image { margin: 0; }

.final-image img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.55) contrast(1.08);
}

.final-overlay {
  background: linear-gradient(90deg, rgba(8, 27, 32, 0.96) 0%, rgba(8, 27, 32, 0.8) 52%, rgba(8, 27, 32, 0.28) 100%);
}

.final-content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 88svh;
  grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1.05fr) minmax(16rem, 0.6fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}

.final-content .section-name {
  align-self: start;
  margin-top: clamp(5rem, 9vw, 8rem);
  color: var(--zinc);
}

.final-content h2 { max-width: 10ch; }

.final-content > div p {
  max-width: 24rem;
  margin-bottom: 2rem;
  color: var(--zinc);
  font-size: 1.08rem;
}

.site-footer {
  background: var(--petroleum-deep);
  color: var(--zinc);
  padding-block: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.4fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.brand-footer { color: var(--white); }

.footer-inner > p {
  max-width: 44rem;
  margin-bottom: 0;
  font-size: 0.78rem;
}

.footer-inner > div {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.footer-inner > div a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  font-size: 0.8rem;
  text-underline-offset: 0.2rem;
}
.diagnosis-dialog {
  z-index: var(--z-dialog);
  width: min(calc(100% - 2rem), 58rem);
  max-height: min(90dvh, 55rem);
  border: 0;
  background: var(--fog);
  color: var(--petroleum);
  padding: 0;
}

.diagnosis-dialog::backdrop {
  z-index: var(--z-dialog-backdrop);
  background: rgba(3, 15, 19, 0.82);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  border-top: 0.45rem solid var(--oxide);
  padding: clamp(1.25rem, 4vw, 3rem);
}

.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
}

.dialog-header span,
.success-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--oxide);
  font-size: 0.78rem;
  font-weight: 700;
}

.dialog-header h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); }

.dialog-close {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 1.9rem;
  font-weight: 250;
  line-height: 1;
}

.diagnosis-dialog fieldset {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.diagnosis-dialog legend {
  margin-bottom: 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-stretch: 102%;
  font-weight: 650;
}

.diagnosis-dialog legend span {
  margin-right: 0.65rem;
  color: var(--oxide);
  font-size: 0.75rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice-grid label {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-grid label > span {
  display: flex;
  min-height: 7rem;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.2rem;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.choice-grid label:hover > span {
  border-color: var(--rain);
  transform: translateY(-2px);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid var(--oxide);
  outline-offset: 3px;
}

.choice-grid input:checked + span {
  border-color: var(--petroleum);
  background: var(--petroleum);
  color: var(--white);
}

.choice-grid strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-stretch: 102%;
  font-weight: 680;
}

.choice-grid small {
  color: var(--ink-muted);
  font-size: 0.83rem;
}

.choice-grid input:checked + span small { color: var(--zinc); }

.step-error {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--oxide);
  font-weight: 650;
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.diagnosis-success {
  max-width: 38rem;
  padding-block: 1rem 0.5rem;
}

.success-mark {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  background: var(--petroleum);
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.diagnosis-success h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.diagnosis-success > p:not(.success-kicker) {
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1.1rem;
}

[hidden] { display: none !important; }

@media (max-width: 64rem) {
  .menu-button { display: inline-flex; }

  .site-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    background: var(--petroleum-deep);
    padding: 1rem var(--gutter) 1.5rem;
  }

  .site-navigation[data-open] {
    display: flex;
    flex-direction: column;
  }

  .site-navigation > a,
  .site-navigation .header-action {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(175, 195, 198, 0.28);
    padding-inline: 0;
  }

  .site-navigation .header-action {
    justify-content: center;
    border-bottom: 0;
    margin-top: 0.75rem;
    padding-inline: 1rem;
  }

  .hero-flow {
    right: -12rem;
    width: 72vw;
    opacity: 0.78;
  }

  .hero-bottom { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }

  .signal-opening,
  .route-lab-heading,
  .field-title,
  .process-head,
  .final-content {
    grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1.68fr);
  }

  .signal-opening > :last-child,
  .route-lab-heading > :last-child,
  .field-title > :last-child,
  .process-head > :last-child {
    grid-column: 2;
  }

  .evidence-line { grid-template-columns: 1fr 7rem 1fr; }
  .route-stage { min-height: 44rem; }
  .route-steps { grid-template-columns: repeat(2, 1fr); }

  .route-steps li {
    min-height: 8.5rem;
    border-bottom: 1px solid rgba(175, 195, 198, 0.28);
  }

  .case-row { min-height: 32rem; }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .process-track::before { display: none; }

  .process-track li {
    min-height: 17rem;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }

  .process-track li::before { top: -0.4rem; }
  .process-track li:nth-child(4),
  .process-track li:nth-child(5) { min-height: 15rem; }

  .prepare-title { grid-template-columns: minmax(8rem, 0.32fr) minmax(0, 1.68fr); }
  .prepare-list { grid-template-columns: repeat(2, 1fr); }

  .prepare-list li {
    min-height: 11rem;
    border-bottom: 1px solid rgba(175, 195, 198, 0.28);
  }

  .faq-shell { grid-template-columns: 1fr; }
  .faq-title { position: static; }
  .final-content > div { grid-column: 2; }

  .footer-inner { grid-template-columns: 1fr 1.5fr; }
  .footer-inner > div { grid-column: 1 / -1; }
}

@media (max-width: 48rem) {
  :root { --gutter: 1.15rem; }
  html { scroll-padding-top: 4.5rem; }
  .header-inner { min-height: 4.5rem; }
  .brand { font-size: 0.94rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }

  .hero-content {
    min-height: 100svh;
    padding-top: 6.4rem;
    padding-bottom: 1.25rem;
  }

  .hero-location { font-size: 0.72rem; }

  .hero h1 {
    max-width: 10ch;
    margin-block: 2.25rem;
    font-size: clamp(3rem, 14.5vw, 4.8rem);
    line-height: 0.94;
  }

  .hero-flow {
    top: 10rem;
    right: -15rem;
    width: 34rem;
    height: 60%;
    opacity: 0.6;
  }

  .hero-bottom > p { font-size: 1.04rem; }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .hero-sequence { gap: 0.6rem; }

  .hero-sequence li {
    min-height: 3.9rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.75rem 0.45rem 0 0;
  }

  .hero-sequence li + li { padding-left: 0.45rem; }
  .hero-sequence span,
  .hero-sequence strong { font-size: 0.65rem; }

  .signal-opening,
  .route-lab-heading,
  .field-title,
  .process-head,
  .prepare-title,
  .final-content {
    grid-template-columns: 1fr;
  }

  .signal-opening > :last-child,
  .route-lab-heading > :last-child,
  .field-title > :last-child,
  .process-head > :last-child,
  .final-content > div {
    grid-column: auto;
  }

  .signal-opening h2,
  .route-lab-heading h2,
  .field-title h2,
  .process-head h2,
  .prepare-title h2,
  .final-content h2 {
    max-width: 11ch;
  }

  .evidence-line { grid-template-columns: 1fr; }
  .evidence-line article { min-height: 13rem; }

  .evidence-bridge {
    min-height: 5rem;
    transform: rotate(90deg);
  }

  .evidence-bridge svg { width: 7rem; }

  .route-stage {
    min-height: 52rem;
    padding-inline: 0.75rem;
  }

  .route-diagram { margin-top: 1rem; }

  .route-steps {
    right: 0.75rem;
    left: 0.75rem;
    grid-template-columns: 1fr;
  }

  .route-steps li {
    min-height: 0;
    border-right: 0;
    padding: 0.9rem 1rem;
  }

  .route-steps span { margin-bottom: 0.25rem; }

  .case-row,
  .case-row-technical,
  .case-row-reverse {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .case-row figure,
  .case-schematic {
    min-height: 24rem;
  }

  .case-row-reverse figure { order: 0; }
  .case-copy { min-height: 20rem; }
  .case-copy h3 { max-width: 11ch; }

  .process-track {
    display: block;
    padding-left: calc(var(--gutter) + 1.4rem);
  }

  .process-track::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--gutter) + 0.35rem);
    display: block;
    width: 2px;
    border: 0;
    background: rgba(255, 255, 255, 0.55);
  }

  .process-track li,
  .process-track li:nth-child(4),
  .process-track li:nth-child(5) {
    min-height: 0;
    border: 0;
    padding: 0 0 3.75rem;
  }

  .process-track li + li { padding-left: 0; }

  .process-track li::before {
    top: 0.15rem;
    left: -1.4rem;
  }

  .process-track span { margin-bottom: 1rem; }
  .process-track h3 { min-height: 0; }
  .process-track p { max-width: 28rem; }
  .prepare-list { grid-template-columns: 1fr; }

  .prepare-list li,
  .prepare-list li + li {
    min-height: 0;
    border-right: 0;
    padding: 1.5rem 0;
  }

  .prepare-list span { margin-bottom: 1rem; }
  .prepare-list p { max-width: 28rem; }

  .faq-list summary {
    min-height: 4.8rem;
    padding-right: 2.5rem;
  }

  .faq-list details p { margin-right: 1rem; }

  .final-content {
    min-height: 88svh;
    align-content: center;
  }

  .final-content .section-name {
    align-self: auto;
    margin-top: 0;
  }

  .footer-inner { grid-template-columns: 1fr; }

  .footer-inner > div {
    grid-column: auto;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .diagnosis-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
  }

  .dialog-shell { padding: 1.1rem; }

  .dialog-header {
    gap: 1rem;
    margin-bottom: 1.4rem;
  }

  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid label > span { min-height: 5.5rem; }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions .button,
  .dialog-actions .text-button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-flow-route {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
/* Densidade compacta entre o hero e o FAQ */
.signal-zone,
.route-lab,
.field-cases,
.process-run,
.prepare-strip {
  padding-block: clamp(4.25rem, 7vw, 7rem);
}

.signal-opening h2,
.route-lab-heading h2,
.field-title h2,
.process-head h2,
.prepare-title h2 {
  font-size: clamp(2.3rem, 4.25vw, 4.7rem);
}

.evidence-line {
  margin-top: clamp(3rem, 5vw, 5rem);
}

.evidence-line article {
  min-height: 14rem;
}

.route-lab-heading,
.field-title {
  margin-bottom: clamp(3rem, 5vw, 4.75rem);
}

.route-stage {
  min-height: 41rem;
}

.route-steps li {
  min-height: 8.5rem;
  padding: 1.1rem 1.25rem;
}

.route-steps span {
  margin-bottom: 0.9rem;
}

.case-row,
.case-schematic {
  min-height: 30rem;
}

.case-copy {
  padding: clamp(1.75rem, 3.5vw, 3.75rem);
}

.case-copy h3 {
  font-size: clamp(2.2rem, 3.8vw, 4.1rem);
}

.process-head {
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.process-track li {
  min-height: 15rem;
}

.process-track span {
  margin-bottom: 2.5rem;
}

.prepare-title {
  margin-bottom: clamp(3rem, 5vw, 4.25rem);
}

.prepare-list li {
  min-height: 10.5rem;
}

.prepare-list span {
  margin-bottom: 2rem;
}

@media (max-width: 64rem) {
  .route-stage {
    min-height: 38rem;
  }

  .case-row,
  .case-schematic {
    min-height: 27rem;
  }

  .process-track li,
  .process-track li:nth-child(4),
  .process-track li:nth-child(5) {
    min-height: 13rem;
  }
}

@media (max-width: 48rem) {
  .signal-zone,
  .route-lab,
  .field-cases,
  .process-run,
  .prepare-strip {
    padding-block: 4rem;
  }

  .evidence-line article {
    min-height: 10.5rem;
  }

  .route-stage {
    min-height: 45rem;
  }

  .case-row figure,
  .case-schematic {
    min-height: 20rem;
  }

  .case-copy {
    min-height: 16rem;
  }

  .process-track li,
  .process-track li:nth-child(4),
  .process-track li:nth-child(5) {
    min-height: 0;
  }
}