/* ---------- Hero (início) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center;
  padding: calc(var(--nav-h) + 40px) var(--pad) 120px max(var(--pad), calc((100% - var(--max)) / 2));
  overflow: hidden; isolation: isolate;
}
.hero__glow {
  position: absolute; inset: -20% auto auto -10%; width: 70%; height: 100%; z-index: -1;
  background:
    radial-gradient(50% 45% at 45% 45%, rgba(255, 255, 255, .08), transparent 70%),
    radial-gradient(30% 25% at 45% 52%, rgba(201, 161, 59, .12), transparent 70%);
}
.hero__lines {
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 9px);
  mask: radial-gradient(55% 60% at 30% 45%, #000 20%, transparent 75%);
  -webkit-mask: radial-gradient(55% 60% at 30% 45%, #000 20%, transparent 75%);
}

/* Parede de fotos: três colunas descendo e subindo como cordas */
.hero__wall {
  position: absolute; z-index: -1; top: 0; bottom: 0; right: calc(var(--pad) + 44px);
  width: min(54%, 760px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  mask: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  -webkit-mask: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.hero__wall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(6, 6, 7, .35) 28%, transparent 55%);
}
.hero__col { position: relative; overflow: hidden; }
.hero__track { display: flex; flex-direction: column; gap: 14px; animation: col-up var(--dur, 70s) linear infinite; will-change: transform; }
.hero__col--down .hero__track { animation-name: col-down; }
.hero__track img {
  width: 100%; border-radius: var(--radius);
  filter: grayscale(.2) contrast(1.06) brightness(.82);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 40px -20px rgba(0, 0, 0, .9);
}
@keyframes col-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes col-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }

.hero__inner { position: relative; max-width: 600px; }
.hero__logo {
  width: min(470px, 84vw, 58svh); margin-left: -3%;
  opacity: 0; transform: translateY(18px) scale(.97);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
}
.loaded .hero__logo { opacity: 1; transform: none; }
.hero__title {
  margin: clamp(18px, 3vw, 30px) 0 0;
  font: 800 clamp(26px, 3.6vw, 48px)/1.02 var(--f-display);
  font-variation-settings: "wdth" 120;
  text-transform: uppercase; letter-spacing: -.005em;
}
.hero__hud {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 30px;
  display: flex; justify-content: space-between; gap: 20px;
  font: 600 10.5px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
}
.hero__hud span:nth-child(2) { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.hero__hud i { width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hero__photo { display: none; }
@media (min-width: 861px) {
  .hero { grid-template-columns: 1fr; padding: calc(var(--nav-h) + 20px) var(--pad) 110px; }
  .hero__wall { display: none; }
  .hero__photo {
    display: block; position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
    opacity: .3; filter: grayscale(.25) contrast(1.05);
    mask: linear-gradient(#000 55%, transparent);
    -webkit-mask: linear-gradient(#000 55%, transparent);
  }
  .hero__glow { inset: -10% 0 auto; width: 100%; }
  .hero__inner { max-width: none; width: 100%; }
  .hero { align-content: center; padding: calc(var(--nav-h) + 6px) var(--pad) 110px; }
  .hero__logo { display: block; width: min(100%, 1000px, calc((100svh - var(--nav-h) - 200px) * 2.18)); margin: 0 auto; }
  .hero__copy { text-align: center; margin: clamp(4px, 1.2vw, 16px) auto 0; }
  .hero__title { margin: clamp(4px, 1.2vw, 16px) 0 0; letter-spacing: .06em; text-align: center; }
}

/* Entrada escalonada */
.rise { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.loaded .rise { opacity: 1; transform: none; }

/* ---------- Faixa de serviços ---------- */
.marquee {
  position: relative; z-index: 1;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden; padding: 22px 0;
}
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font: 800 clamp(20px, 2.4vw, 30px)/1 var(--f-display); font-variation-settings: "wdth" 120;
  text-transform: uppercase; white-space: nowrap;
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.marquee b { color: var(--gold); font-size: 14px; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards de serviço (início) ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 520px; padding: clamp(28px, 3.4vw, 44px);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s, transform .5s var(--ease);
}
.svc:hover { border-color: rgba(201, 161, 59, .45); transform: translateY(-4px); }
.svc__photo {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25) brightness(.7); transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter .6s;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 6, 7, .15) 0%, rgba(6, 6, 7, .55) 45%, rgba(6, 6, 7, .96) 85%);
}
.svc:hover .svc__photo { transform: scale(1.07); filter: grayscale(0) brightness(.8); }
.svc__num { font: 600 12px/1 var(--f-label); letter-spacing: .22em; color: var(--gold); }
.svc h3 {
  margin: auto 0 14px;
  font: 800 clamp(28px, 3.2vw, 42px)/1 var(--f-display); font-variation-settings: "wdth" 118;
  text-transform: uppercase;
}
.svc p { margin: 0; color: var(--muted); max-width: 46ch; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.svc__chips a {
  display: inline-block; padding: 9px 14px;
  border: 1px solid var(--line-2); border-radius: 100px;
  font: 600 11px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--text);
  transition: border-color .3s, color .3s, background .3s;
}
.svc__chips a:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201, 161, 59, .08); }
.svc__more {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2);
}
.svc__more::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.svc__chips { position: relative; z-index: 2; }
.svc__more i { font-style: normal; transition: transform .4s var(--ease); }
.svc:hover .svc__more i { transform: translateX(5px); }

/* ---------- Em ação ---------- */
.action__inner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.action__video { margin: 0; position: relative; }
.action__video video {
  display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 14px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--line-2), 0 0 0 8px var(--panel), 0 0 0 9px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.action__video figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 100px;
  background: rgba(6, 6, 7, .75); backdrop-filter: blur(8px);
  font: 600 10.5px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.action__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 34px 0 30px; }
.action__grid img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); filter: grayscale(.15); }

/* ---------- Vantagens ---------- */
.why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.why__item { padding: 34px 28px 10px 0; border-right: 1px solid var(--line); }
.why__item + .why__item { padding-left: 28px; }
.why__item:last-child { border-right: 0; }
.why__icon { width: 44px; height: 44px; margin-bottom: 26px; color: var(--gold); }
.why__item h3 { margin: 0 0 10px; font: 700 19px/1.25 var(--f-body); }
.why__item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.safety {
  margin-top: clamp(50px, 7vw, 80px);
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 30px 34px;
  border: 1px solid rgba(201, 161, 59, .3); border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(201, 161, 59, .08), transparent 60%);
}
.safety img { width: 150px; }
.safety h3 { margin: 0 0 6px; font: 800 22px/1.1 var(--f-display); font-variation-settings: "wdth" 115; text-transform: uppercase; }
.safety p { margin: 0; color: var(--muted); }

/* ---------- Etapas (descida) ---------- */
.steps { position: relative; margin: 0; padding: 0 0 0 64px; list-style: none; counter-reset: s; max-width: 860px; }
.steps::before {
  content: ""; position: absolute; left: 18px; top: 6px; bottom: 6px; width: 3px;
  background: repeating-linear-gradient(160deg, #3a3b40 0 3px, #24252a 3px 6px);
}
.steps__fill {
  position: absolute; left: 18px; top: 6px; width: 3px; height: calc(var(--p, 0) * (100% - 12px));
  background: repeating-linear-gradient(160deg, var(--gold-2) 0 3px, var(--gold-deep) 3px 6px);
}
.step { position: relative; counter-increment: s; padding-bottom: 54px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: -64px; top: -4px;
  width: 39px; height: 39px; display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 50%;
  font: 700 12px/1 var(--f-label); color: var(--muted);
  transition: border-color .5s, color .5s, box-shadow .5s;
}
.step.on::before { border-color: var(--gold); color: var(--gold-2); box-shadow: 0 0 0 6px rgba(201, 161, 59, .12); }
.step h3 { margin: 0 0 8px; font: 800 clamp(22px, 2.4vw, 28px)/1.1 var(--f-display); font-variation-settings: "wdth" 115; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); max-width: 60ch; }

/* ---------- Página interna: cabeçalho ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(45% 60% at 85% 20%, rgba(255, 255, 255, .07), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 9px);
  mask: linear-gradient(#000 40%, transparent);
  -webkit-mask: linear-gradient(#000 40%, transparent);
}
.page-hero__photo {
  position: absolute; z-index: -1; top: calc(var(--nav-h) + 30px); bottom: 30px;
  right: max(var(--pad), calc((100% - var(--max)) / 2));
  width: min(420px, 36vw); height: calc(100% - var(--nav-h) - 60px); object-fit: cover;
  border-radius: var(--radius); filter: grayscale(.2) brightness(.8);
  box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0, 0, 0, .9);
  mask: linear-gradient(90deg, transparent, #000 35%); -webkit-mask: linear-gradient(90deg, transparent, #000 35%);
}
.page-hero__art { position: absolute; right: max(var(--pad), calc((100% - var(--max)) / 2)); top: calc(var(--nav-h) + 70px); width: min(360px, 32vw); z-index: -1; opacity: .5; }
.crumbs { display: flex; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; font: 600 11px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.page-hero h1 {
  margin: 0;
  font: 800 clamp(30px, 8.6vw, 104px)/.95 var(--f-display); font-variation-settings: "wdth" 122;
  text-transform: uppercase; letter-spacing: -.015em;
  max-width: 12ch;
}
.page-hero .lead { max-width: 66ch; }
.page-hero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }

/* ---------- Também fazemos (home) ---------- */
.also { margin-top: clamp(40px, 5vw, 64px); }
.also__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.also__list a {
  display: grid; gap: 6px; height: 100%; padding: 24px 22px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s, transform .4s var(--ease);
}
.also__list a:hover { border-color: rgba(201, 161, 59, .5); transform: translateY(-3px); }
.also__list span { font: 600 11px/1 var(--f-label); letter-spacing: .2em; color: var(--gold); }
.also__list b { font: 700 18px/1.2 var(--f-body); }
.also__list small { color: var(--dim); font-size: 14px; line-height: 1.4; }

/* ---------- Faixa de fotos ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strip img { width: 100%; height: clamp(160px, 18vw, 260px); object-fit: cover; filter: grayscale(.15); }

/* ---------- Sub-serviços ---------- */
.subs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sub {
  position: relative; scroll-margin-top: calc(var(--nav-h) + 24px);
  padding: 34px 30px 32px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .4s;
}
.sub:target, .sub:hover { border-color: rgba(201, 161, 59, .5); }
.sub:target { box-shadow: 0 0 0 4px rgba(201, 161, 59, .12); }
.subs--2 { grid-template-columns: repeat(2, 1fr); }
.sub--wide { grid-column: 1 / -1; }
.sub__photo { width: calc(100% + 60px); max-width: none; margin: -34px -30px 26px; height: 220px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; filter: grayscale(.2) brightness(.85); }
.sub__video { width: 100%; aspect-ratio: 9 / 16; max-height: 420px; object-fit: cover; margin-top: 22px; border-radius: var(--radius); background: var(--bg); }
.sub__icon { width: 52px; height: 52px; color: var(--gold); margin-bottom: 30px; }
.sub h3 { margin: 0 0 12px; font: 800 24px/1.05 var(--f-display); font-variation-settings: "wdth" 115; text-transform: uppercase; }
.sub p { margin: 0; color: var(--muted); font-size: 16px; }
.sub ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; font-size: 14.5px; color: var(--text); }
.sub li::before { content: "◆"; color: var(--gold); font-size: 8px; margin-right: 10px; vertical-align: 2px; }

/* ---------- Artigo (textos do cliente) ---------- */
.article { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); }
.article__aside { position: sticky; top: calc(var(--nav-h) + 30px); align-self: start; }
.article__aside .title { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.02; }
.toc { margin: 30px 0 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; color: var(--dim); font-size: 14.5px; transition: color .3s, border-color .3s; }
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--text); border-left-color: var(--gold); }
.topic { padding: 0 0 54px; margin-bottom: 54px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.topic:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.topic__num { font: 600 12px/1 var(--f-label); letter-spacing: .22em; color: var(--gold); }
.topic h3 {
  margin: 12px 0 26px;
  font: 800 clamp(24px, 2.8vw, 36px)/1.05 var(--f-display); font-variation-settings: "wdth" 115;
  text-transform: uppercase;
}
.points { display: grid; gap: 14px; }
.point {
  padding: 24px 26px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 2px solid var(--gold);
}
.point h4 { margin: 0 0 8px; font: 700 17px/1.3 var(--f-body); color: var(--text); }
.point p { margin: 0; color: var(--muted); font-size: 16px; }
.intro-text { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--text); margin: 0 0 50px; max-width: 64ch; }

/* Números da corrosão */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.figure {
  padding: 30px 28px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.figure strong {
  display: block;
  font: 900 clamp(34px, 3.8vw, 54px)/1 var(--f-display); font-variation-settings: "wdth" 115; white-space: nowrap;
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.figure strong small { font-size: .45em; letter-spacing: .02em; }
.figure span { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; }
.source { margin: 0 0 30px; font-size: 13px; color: var(--dim); }
.conclusion {
  margin-top: 10px; padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(201, 161, 59, .35); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(201, 161, 59, .1), transparent 55%), var(--panel);
}
.conclusion .kicker { margin-bottom: 14px; }
.conclusion p { margin: 0; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; }

