/* HTE Heat Exchange
   Cores: aço (fundo), tinta (texto e seções escuras), quente e frio (os dois fluidos do trocador).
   A rampa --heat vai do frio ao quente e só aparece onde representa temperatura. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2-variations"), url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --steel: #edf0f3;
  --paper: #ffffff;
  --ink: #0d1a3a;
  --ink-raised: #14244c;
  --slate: #546077;
  --line: #d3d9e2;
  --hot: #d8133a;
  --hot-dark: #b50f2f;
  --hot-light: #ff6a83;
  --cold: #1d4ed8;
  --cold-light: #86a6ff;
  --heat: linear-gradient(90deg, #0e59e8 0%, #742fed 45%, #b5328b 70%, #ee343a 100%);

  --on-ink: #e8edf6;
  --on-ink-muted: #9ca8c1;
  --ink-line: rgba(255, 255, 255, 0.14);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --topbar-h: 72px;
}

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

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

body {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}

p {
  text-wrap: pretty;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--cold);
  outline-offset: 3px;
  border-radius: 3px;
}

.section--ink :focus-visible,
.footer :focus-visible {
  outline-color: var(--cold-light);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---------- Tipografia ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Duas linhas: fluido quente sobre fluido frio */
.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 7px;
  background:
    linear-gradient(var(--hot), var(--hot)) top / 100% 2px no-repeat,
    linear-gradient(var(--cold), var(--cold)) bottom / 100% 2px no-repeat;
}

.h2 {
  margin-top: 0.5em;
  max-width: 17em;
  font-size: clamp(1.85rem, 1.1rem + 2.4vw, 3.05rem);
  font-weight: 760;
  font-stretch: 125%;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-head {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head__lead {
  margin-top: 1.1rem;
  max-width: 38em;
  font-size: 1.15rem;
  color: var(--slate);
}

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.4em;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 110%;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--hot {
  background: var(--hot);
  color: #fff;
}

.btn--hot:hover {
  background: var(--hot-dark);
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: #fff;
}

.btn--sm {
  padding: 0.7em 1.05em;
  font-size: 0.92rem;
}

.btn--lg {
  padding: 1.1em 1.6em;
  font-size: 1.06rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  color: var(--hot);
  font-weight: 650;
  font-stretch: 110%;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-arrow:hover {
  gap: 0.85em;
  color: var(--hot-dark);
}

.link-arrow--light {
  color: var(--hot-light);
}

.link-arrow--light:hover {
  color: #fff;
}

/* ---------- Topo ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 240, 243, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.topbar.is-scrolled {
  border-bottom-color: var(--line);
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--topbar-h);
}

/* Logo oficial: o "HTE" leva o degradê da marca, o "Heat Exchange" segue a cor do texto */
.brand {
  display: inline-flex;
  flex: none;
  color: #0e0e0e;
}

.brand__logo {
  width: 104px;
  height: auto;
  aspect-ratio: 2000 / 1076;
}

.nav {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}

.nav__link {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.97rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link[aria-current="true"] {
  color: var(--hot);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -6px;
}

.menu-toggle__bars::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.6rem);
  font-weight: 780;
  font-stretch: 116%;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 31em;
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  color: var(--slate);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

.legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 2px;
}

.legend--hot::before {
  background: var(--hot);
}

.legend--cold::before {
  background: var(--cold);
}

.hero__caption-text {
  flex-basis: 100%;
  text-align: center;
  color: var(--ink);
}

/* Placa do trocador */

.plate {
  width: 100%;
  max-width: 315px;
  height: auto;
  overflow: visible;
}

.plate__body {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 2;
}

.plate__notch {
  fill: var(--steel);
  stroke: var(--ink);
  stroke-width: 2;
}

.plate__gasket {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.2;
  stroke-width: 4;
}

.plate__dots {
  fill: var(--ink);
  opacity: 0.3;
}

.plate__chevrons path {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.2;
  stroke-width: 1.2;
}

.plate__field {
  fill: none;
  stroke: var(--ink);
  stroke-opacity: 0.28;
}

.port {
  stroke: var(--ink);
  stroke-width: 2;
}

.port--hot-in {
  fill: #fbe1e6;
}

.port--hot-out {
  fill: #f1e2ee;
}

.port--cold-in {
  fill: #e0e8fb;
}

.port--cold-out {
  fill: #ebe4f6;
}

.channel,
.flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel {
  stroke-width: 6;
  stroke-opacity: 0.09;
}

.channel--hot,
.flow--hot {
  stroke: url(#g-hot);
}

.channel--cold,
.flow--cold {
  stroke: url(#g-cold);
}

.flow {
  stroke-width: 2.4;
  stroke-dasharray: 10 14;
  animation: flow 1.1s linear infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -24;
  }
}

/* Sequência de entrada: a placa é desenhada e só então os fluidos correm */
.draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.3s cubic-bezier(0.65, 0, 0.25, 1) forwards;
}

.plate__gasket.draw {
  animation-delay: 0.25s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.plate__chevrons,
.plate__dots,
.plate__field,
.plate__ports,
.plate__notch {
  animation: fade-in 0.8s ease 0.6s both;
}

.plate__flows {
  animation: fade-in 0.9s ease 1.2s both;
}

.hero__copy > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Placa de identificação */

.nameplate {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.6rem 1.75rem;
  background-color: var(--paper);
  background-image:
    radial-gradient(circle, #b4bdca 0 2.6px, transparent 3.1px),
    radial-gradient(circle, #b4bdca 0 2.6px, transparent 3.1px),
    radial-gradient(circle, #b4bdca 0 2.6px, transparent 3.1px),
    radial-gradient(circle, #b4bdca 0 2.6px, transparent 3.1px);
  background-size: 22px 22px;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(13, 26, 58, 0.04), 0 18px 40px -28px rgba(13, 26, 58, 0.35);
}

.nameplate__field {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 0.35rem 1.5rem;
  border-left: 1px solid var(--line);
}

.nameplate__field:first-child {
  padding-left: 0.25rem;
  border-left: 0;
}

.nameplate dd {
  font-size: clamp(1.9rem, 1.2rem + 1.9vw, 2.75rem);
  font-weight: 780;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.02em;
}

.nameplate dt {
  max-width: 17em;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Seções ---------- */

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

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

.section--steel {
  background: var(--steel);
}

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

.section--ink .eyebrow,
.section--ink .section-head__lead {
  color: var(--on-ink-muted);
}

.section--ink .h2 {
  color: #fff;
}

.section--ink .section-head__lead strong {
  color: #fff;
  font-weight: 650;
}

/* Sobre */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.prose p {
  font-size: 1.1rem;
  color: var(--slate);
}

.prose p + p {
  margin-top: 1.1em;
}

.prose strong,
.maker__text strong,
.exclusive__text strong {
  color: var(--ink);
  font-weight: 650;
}

.about__body {
  padding-top: 2.1rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: 0;
  list-style: none;
}

.pillar {
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink);
}

.pillar__title {
  font-size: 1.3rem;
  font-weight: 720;
  font-stretch: 118%;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.pillar p {
  margin-top: 0.6rem;
  color: var(--slate);
}

/* Marcas */

.maker {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.maker + .maker {
  margin-top: 1.25rem;
}

.maker__field {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.maker__name {
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 1.4rem + 4vw, 4.6rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.seal {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.55em 0.8em;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.seal span {
  margin-inline: 0.4em;
}

.maker__text {
  font-size: 1.08rem;
  color: var(--slate);
}

.maker__text + .maker__text {
  margin-top: 1em;
}

.exclusive {
  margin-top: 1.5rem;
  padding: 1.15rem 1.35rem;
  background: #f5f7f9;
  border-left: 3px solid var(--hot);
  border-radius: 0 6px 6px 0;
}

.exclusive__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hot);
}

.exclusive__text {
  margin-top: 0.5rem;
  color: #35415d;
}

.products,
.valves,
.maker > .link-arrow {
  grid-column: 1 / -1;
}

.maker > .link-arrow {
  justify-self: start;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.product {
  padding: 1.5rem 1.5rem 0;
  border-left: 1px solid var(--line);
}

.product:first-child {
  padding-left: 0;
  border-left: 0;
}

.product__title {
  font-size: 1.12rem;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.25;
}

.product p {
  margin-top: 0.45rem;
  font-size: 0.98rem;
  color: var(--slate);
}

.valves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.valve {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 72px;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
}

.valve__symbol {
  flex: none;
  width: 56px;
  height: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.valve__solid {
  fill: var(--ink);
  stroke: none;
}

.valve__hollow {
  fill: var(--paper);
}

.valve__tag {
  fill: var(--ink);
  stroke: none;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  text-anchor: middle;
}

/* Serviços */

.works {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.works__head {
  margin-bottom: 0;
}

.works__title {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--ink-line);
  font-size: 1.05rem;
  font-weight: 550;
}

.checklist li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--hot-light);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 8px;
}

.service__title {
  font-size: 1.45rem;
  font-weight: 740;
  font-stretch: 120%;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
}

.service__text {
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
  color: var(--on-ink-muted);
}

.service .link-arrow {
  margin-top: auto;
}

/* Segmentos */

.sectors {
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.sector {
  font-size: clamp(1.65rem, 0.9rem + 2.9vw, 3.35rem);
  font-weight: 780;
  font-stretch: 125%;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.sector:not(:last-child)::after {
  content: "/";
  margin-inline: 0.32em;
  font-weight: 300;
  color: #b7c0cd;
}

.sector--more {
  color: var(--slate);
}

/* Contato */

.contact {
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--heat);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.contact__copy .btn {
  margin-top: 2.25rem;
}

.contacts {
  border-top: 1px solid var(--ink-line);
}

.contacts__row {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ink-line);
}

.contacts dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

.contacts dd {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem);
  font-weight: 680;
  font-stretch: 112%;
  line-height: 1.3;
  color: #fff;
  overflow-wrap: anywhere;
}

.contacts a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacts a:hover {
  color: var(--hot-light);
}

.contacts__sep {
  margin-inline: 0.5em;
  color: var(--on-ink-muted);
}

/* Rodapé */

.footer {
  padding-block: 3rem 2.25rem;
  background: #081230;
  color: var(--on-ink-muted);
  font-size: 0.95rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
}

.brand--light {
  color: #fff;
}

.brand--light .brand__logo {
  width: 132px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer__nav a {
  text-decoration: none;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__legal {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

/* WhatsApp flutuante */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(13, 26, 58, 0.45);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float .icon {
  width: 30px;
  height: 30px;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .topbar__inner {
    gap: 1.25rem;
  }

  .nav {
    gap: 1.25rem;
  }
}

@media (max-width: 960px) {
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(13, 26, 58, 0.4);
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav__link {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .js .nav__link::after {
    display: none;
  }

  .js .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .topbar__actions {
    margin-left: auto;
  }

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

  .plate {
    max-width: 270px;
  }

  .nameplate {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.5rem;
  }

  .nameplate__field:nth-child(3) {
    padding-left: 0.25rem;
    border-left: 0;
  }

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

  .about__body {
    padding-top: 0;
  }

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

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

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

@media (max-width: 720px) {
  .pillars,
  .products {
    grid-template-columns: minmax(0, 1fr);
  }

  .product,
  .product:first-child {
    padding: 1.25rem 0;
    border-left: 0;
  }

  .product + .product {
    border-top: 1px solid var(--line);
  }

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

@media (max-width: 520px) {
  .topbar .btn--sm {
    padding: 0.7em 0.85em;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .nameplate {
    gap: 1.25rem 1rem;
    padding: 1.4rem 1.25rem;
  }

  .nameplate__field,
  .nameplate__field:first-child,
  .nameplate__field:nth-child(3) {
    padding: 0.25rem 0 0;
    border-left: 0;
  }

  .nameplate__field:nth-child(n + 3) {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
  }

  .nameplate dd {
    font-size: 1.7rem;
  }

  .valve {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.85rem 0.9rem 1rem;
  }

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

  .contact__copy .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .draw {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
