/* =========================================================
   HR Engenharia & Segurança do Trabalho
   Linguagem: desenho técnico + sinalização de segurança.
   Cantos chanfrados e pontas de seta vêm do próprio logo.
   ========================================================= */

@property --pt {
  syntax: "<length>";
  inherits: true;
  initial-value: 14px;
}

:root {
  /* cor */
  --branco: #ffffff;
  --concreto: #eef0ec;
  --concreto-2: #e2e6e1;
  --linha: #d4dad4;
  --grafite: #1a221d;
  --grafite-2: #47524b;
  --cinza: #8a948c;
  --verde: #327341;
  --verde-h: #2a6236;
  --verde-noite: #0f2a1c;
  --sinal: #f2c230;

  /* mapa de riscos (cores oficiais) */
  --rk-fis: #2f8f46;
  --rk-qui: #d23b2f;
  --rk-bio: #8a5a2b;
  --rk-erg: #f2c230;
  --rk-aci: #2563c9;

  /* tipo */
  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 76px;

  /* movimento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

@media (max-width: 767px) {
  :root { --nav-h: 64px; }
}

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

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

body {
  margin: 0;
  background: var(--branco);
  color: var(--grafite);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.ic { width: 20px; height: 20px; flex: none; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--grafite); color: #fff; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- tipografia ---------- */
h1, h2 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.3vw, 96px); line-height: .9; }
h2 { font-size: clamp(38px, 4.9vw, 68px); line-height: .96; }
h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.08;
  text-wrap: balance;
}

/* ---------- formas (do logo) ---------- */
.cut, .cut-alt { --c: 26px; }
.cut-lg { --c: 52px; }
.cut, .cut-lg {
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.cut-alt {
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
}

/* papel técnico quadriculado */
.paper {
  background-color: var(--concreto);
  background-image:
    linear-gradient(rgb(26 34 29 / .055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(26 34 29 / .055) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}

/* ---------- botões: a ponta de seta do logo ---------- */
.btn {
  --bg: var(--verde);
  --bg-h: var(--verde-h);
  --fg: #fff;
  --pt: 14px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 46px 0 24px;
  color: var(--fg);
  font: 600 16px/1 var(--f-body);
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  transition: --pt .4s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  clip-path: polygon(0 0, calc(100% - var(--pt)) 0, 100% 50%, calc(100% - var(--pt)) 100%, 0 100%);
  transition: background-color .25s;
}
.btn:hover { --pt: 24px; }
.btn:hover::before { background: var(--bg-h); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: var(--concreto); --bg-h: var(--concreto-2); --fg: var(--grafite); }
.btn--signal { --bg: var(--sinal); --bg-h: #ffd54a; --fg: var(--grafite); }
.btn--light { --bg: #fff; --bg-h: #e9f1eb; --fg: var(--verde-noite); }
.btn--sm { height: 44px; padding: 0 36px 0 18px; font-size: 15px; --pt: 11px; }
.btn--sm:hover { --pt: 18px; }
.btn--block { width: 100%; }

/* =========================================================
   NAVEGAÇÃO
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: transform .5s var(--ease-out), background-color .3s, box-shadow .3s;
}
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.nav.is-scrolled {
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--linha);
}
.nav.is-hidden { transform: translateY(-100%); box-shadow: none; }
.nav.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__logo { display: block; flex: none; }
.logo { display: block; height: 40px; width: auto; overflow: visible; }

.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding-block: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--grafite-2);
  text-decoration: none;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--verde);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover, .nav__links a[aria-current] { color: var(--grafite); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  place-content: center;
  gap: 7px;
  margin-right: -10px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: var(--grafite);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.nav__toggle[aria-expanded="true"] span { background: #fff; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; }
}
@media (max-width: 559px) {
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .logo { height: 34px; }
}

/* menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 49;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 32px;
  background: var(--verde-noite);
  color: #fff;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-io), visibility 0s .65s;
}
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .65s var(--ease-io); }
.menu__link {
  display: block;
  padding: 4px 0;
  font: 600 clamp(40px, 11vw, 56px)/1.08 var(--f-display);
  text-decoration: none;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s var(--ease-out), transform .7s var(--ease-out);
}
.menu.is-open .menu__link { opacity: 1; transform: none; transition-delay: calc(var(--i) * 55ms + 180ms); }
.menu__foot { display: grid; gap: 20px; }
.menu__foot p { color: rgb(255 255 255 / .7); font-size: 15px; }

/* =========================================================
   LINHA DE VIDA (indicador de rolagem)
   ========================================================= */
.lifeline {
  position: fixed;
  top: calc(var(--nav-h) + 34px);
  bottom: 112px;
  right: 26px;
  z-index: 40;
  width: 12px;
  pointer-events: none;
}
.lifeline__anchor {
  position: absolute; top: -16px; left: 50%;
  width: 12px; height: 12px; margin-left: -6px;
  border: 2px solid var(--grafite); border-radius: 50%;
  background: var(--branco);
}
.lifeline__rope {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px;
  background: var(--linha);
  transform-origin: top;
}
.lifeline__passed {
  position: absolute; inset: 0;
  background: var(--verde);
  transform-origin: top;
  transform: scaleY(0);
}
.lifeline__ticks i {
  position: absolute; left: -4px;
  width: 10px; height: 2px;
  background: var(--cinza);
}
.lifeline__device {
  position: absolute; top: 0; left: 50%;
  width: 12px; height: 24px; margin-left: -6px;
  border-radius: 3px;
  background: var(--sinal);
  box-shadow: inset 0 0 0 1.5px var(--grafite);
  will-change: transform;
}
.lifeline__device::before {
  content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 1.5px; background: var(--grafite);
}
.lifeline__level {
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  padding: 4px 7px;
  background: rgb(255 255 255 / .9);
  font: 600 14px/1 var(--f-display);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--grafite);
}
.lifeline__ground {
  position: absolute; bottom: -10px; left: 50%;
  width: 22px; height: 8px; margin-left: -11px;
  border-top: 2px solid var(--grafite);
  background: repeating-linear-gradient(-45deg, var(--cinza) 0 1.2px, transparent 1.2px 5px);
}
@media (max-width: 1399px) { .lifeline__level { display: none; } }
@media (max-width: 767px) {
  .lifeline { right: 5px; width: 6px; top: calc(var(--nav-h) + 20px); bottom: 24px; }
  .lifeline__anchor, .lifeline__ground, .lifeline__ticks { display: none; }
  .lifeline__rope { width: 2px; background: rgb(26 34 29 / .1); }
  .lifeline__device { width: 6px; height: 16px; margin-left: -3px; border-radius: 2px; box-shadow: none; }
  .lifeline__device::before { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: calc(var(--nav-h) + clamp(44px, 7vw, 96px));
  padding-bottom: clamp(64px, 9vw, 120px);
}
.hero__head { display: grid; justify-items: center; text-align: center; }
.hero__title { max-width: 23ch; }
.hero__lead {
  margin-top: 28px;
  max-width: 62ch;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--grafite-2);
}
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.hero__media {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: clamp(12px, 1.6vw, 24px);
  align-items: center;
}
.hero__img { position: relative; overflow: hidden; background: var(--concreto); }
.hero__img--a, .hero__img--c { aspect-ratio: 3 / 4; }
.hero__img--b { aspect-ratio: 4 / 3.15; --c: 56px; }
.hero__img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
  will-change: transform;
}
.hero__img figcaption { position: absolute; left: 12px; bottom: 12px; }
.hero__img--b figcaption { left: auto; right: 16px; bottom: 16px; } /* chanfro inferior esquerdo */
.hero__img figcaption a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px;
  background: rgb(255 255 255 / .92);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background-color .25s;
}
.hero__img figcaption a::before {
  content: ""; width: 8px; height: 11px; background: var(--verde);
  clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
}
.hero__img figcaption a:hover { background: #fff; }

.hero__trust {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 40px;
  font-size: 15px; font-weight: 500;
  color: var(--grafite-2);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 10px; }
.hero__trust .ic { color: var(--verde); width: 22px; height: 22px; }

@media (max-width: 767px) {
  .hero__media { grid-template-columns: 1fr 1fr; }
  .hero__img--b { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3; --c: 36px; }
  .hero__img--a, .hero__img--c { aspect-ratio: 1 / 1.08; --c: 20px; }
  .hero__trust { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* =========================================================
   SEÇÕES
   ========================================================= */
.sec { padding-block: clamp(80px, 10vw, 136px); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-head h2 { max-width: 16ch; }
.sec-head > p { max-width: 46ch; justify-self: end; color: var(--grafite-2); }
.sec-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head--center h2 { max-width: 20ch; }
.sec-head--center > p { justify-self: center; }

@media (max-width: 899px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > p { justify-self: start; }
  .sec-head--center > p { justify-self: center; }
}

/* ---------- SOBRE: bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 16px;
}
.bento > article { background: var(--concreto); }

.bento__founder {
  grid-row: span 2;
  position: relative;
  min-height: 600px;
  display: flex; align-items: flex-end;
  color: #fff;
  --c: 48px;
}
.bento__founder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__founder::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgb(15 42 28 / .9) 0%, rgb(15 42 28 / .35) 40%, transparent 62%);
}
.bento__founder-info { position: relative; z-index: 1; padding: 32px; }
.bento__quote {
  font: 500 clamp(22px, 2vw, 27px)/1.2 var(--f-display);
  max-width: 24ch;
  margin-bottom: 20px;
}
.bento__name { font: 600 20px/1.2 var(--f-body); }
.bento__role { margin-top: 4px; font-size: 15px; color: rgb(255 255 255 / .8); }

.bento__stat {
  padding: 32px;
  min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 24px;
}
.bento__stat p:last-child { color: var(--grafite-2); max-width: 26ch; }
.stat {
  font: 600 clamp(64px, 6.6vw, 96px)/.9 var(--f-display);
  color: var(--verde);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}

.bento__trio { grid-column: span 2; padding: 32px; }
.bento__trio ul { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento__trio li { display: grid; gap: 6px; align-content: start; }
.bento__trio .ic { width: 30px; height: 30px; color: var(--verde); margin-bottom: 10px; }
.bento__trio strong { font-weight: 600; line-height: 1.3; }
.bento__trio span { font-size: 15px; color: var(--grafite-2); }

@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__founder { grid-column: 1 / -1; grid-row: auto; min-height: 520px; }
  .bento__trio { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .bento__founder { min-height: 460px; --c: 32px; }
  .bento__stat {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 22px 24px;
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
  .bento__stat .stat { flex: none; min-width: 148px; font-size: 56px; }
  .bento__stat p:last-child { font-size: 15px; }
  .bento__trio { padding: 24px; }
  .bento__trio ul { grid-template-columns: 1fr; }
  .bento__founder-info { padding: 22px; }
}

/* ---------- ÁREAS: palco com desenhos ---------- */
.areas__track {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5.5vw, 88px);
  align-items: start;
}
.stage {
  --c: 52px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  height: min(680px, calc(100vh - var(--nav-h) - 48px));
  min-height: 440px;
}
.stage__scenes { position: absolute; inset: 28px 28px 72px; }
.stage .scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-out);
}
.stage .scene.is-active { opacity: 1; transform: none; }

/* carimbo (title block) */
.stamp {
  position: absolute; right: 0; bottom: 0;
  display: grid; grid-template-columns: auto auto;
  min-width: 260px;
  border-top: 1.5px solid var(--grafite);
  border-left: 1.5px solid var(--grafite);
  background: var(--branco);
  font: 500 14px/1.2 var(--f-display);
  letter-spacing: .02em;
}
.stamp > span { padding: 8px 14px; }
.stamp__brand { color: var(--grafite-2); border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.stamp__sheet { color: var(--grafite-2); border-bottom: 1px solid var(--linha); text-align: right; font-variant-numeric: tabular-nums; }
.stamp__title { grid-column: 1 / -1; font-size: 18px; font-weight: 600; color: var(--grafite); padding-block: 9px 11px; }

.step {
  min-height: 94vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 8vh;
}
.step h3 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1; max-width: 16ch; }
.step__lead { margin-top: 18px; font-size: clamp(17px, 1.35vw, 19px); color: var(--grafite-2); max-width: 44ch; }
.step__list { margin-top: 28px; border-top: 1px solid var(--linha); }
.step__list li {
  display: flex; gap: 14px; align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--linha);
  font-weight: 500;
}
.step__list li::before {
  content: ""; flex: none;
  width: 9px; height: 12px;
  background: var(--verde);
  clip-path: polygon(0 0, 50% 0, 100% 50%, 50% 100%, 0 100%, 50% 50%);
  transform: translateY(1px);
}
.step .btn { margin-top: 32px; align-self: flex-start; }
.step__media { display: none; }

/* traços dos desenhos */
.scene { overflow: visible; }
.scene path, .scene circle, .scene rect { fill: none; stroke: var(--grafite); stroke-width: 2; stroke-linejoin: miter; }
.scene .s1 { stroke-width: 1.2; stroke: var(--grafite-2); }
.scene .s2 { stroke-width: 2; }
.scene .s3 { stroke-width: 3; }
.scene .s4 { stroke-width: 4.5; }
.scene .s7 { stroke-width: 7; }
.scene .s8 { stroke-width: 8; }
.scene .dash { stroke-dasharray: 5 6; }
.scene .mark, .scene .fill-ink { fill: var(--grafite); stroke: none; }
.scene .fill-green { fill: var(--verde); stroke: none; }
.scene .s-rope { stroke: var(--verde); stroke-width: 3; }
.scene .limb { stroke: var(--grafite); stroke-width: 7.5; stroke-linecap: round; stroke-linejoin: round; }
.scene .helmet-brim { stroke: var(--verde); stroke-width: 3; stroke-linecap: round; }
.scene .harness { stroke: var(--sinal); stroke-width: 3.2; stroke-linecap: round; }
.scene .lanyard { stroke: var(--grafite); stroke-width: 2; }
.scene .device { fill: var(--sinal); stroke: var(--grafite); stroke-width: 1.5; }
.scene text {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  fill: var(--grafite-2);
  stroke: none;
}
.scene .t-strong { fill: var(--grafite); font-weight: 600; }
.scene [class*="rk-"] { stroke: #fff; stroke-width: 2; }
.scene .rk-fis { fill: var(--rk-fis); }
.scene .rk-qui { fill: var(--rk-qui); }
.scene .rk-bio { fill: var(--rk-bio); }
.scene .rk-erg { fill: var(--rk-erg); }
.scene .rk-aci { fill: var(--rk-aci); }
.scene .pop { transform-box: fill-box; transform-origin: center; fill-opacity: .92; }

@media (max-width: 899px) {
  .areas__track { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; padding-block: 0 72px; }
  .step:last-child { padding-bottom: 0; }
  .step__media {
    display: block;
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 28px;
    --c: 28px;
  }
  .step__media .scene { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
}

/* ---------- NR-01 ---------- */
.nr01 {
  position: relative;
  isolation: isolate;
  padding-block: clamp(120px, 15vw, 200px);
  color: #fff;
}
.nr01__bg {
  --ix: 0px; --iy: 0px; --c: 0px;
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  background: var(--verde-noite);
  clip-path: polygon(
    calc(var(--ix) + var(--c)) var(--iy),
    calc(100% - var(--ix)) var(--iy),
    calc(100% - var(--ix)) calc(100% - var(--iy) - var(--c)),
    calc(100% - var(--ix) - var(--c)) calc(100% - var(--iy)),
    var(--ix) calc(100% - var(--iy)),
    var(--ix) calc(var(--iy) + var(--c))
  );
}
.nr01__words {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 2vw;
  pointer-events: none;
}
.nr01__row {
  white-space: nowrap;
  font: 700 clamp(72px, 11vw, 176px)/1 var(--f-display);
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / .09);
  will-change: transform;
}
.nr01__row:nth-child(2) { transform: translateX(-30%); }

.nr01__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.nr01__flag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgb(242 194 48 / .13);
  color: var(--sinal);
  font-size: 15px; font-weight: 600;
}
.nr01__flag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sinal);
  box-shadow: 0 0 0 0 rgb(242 194 48 / .6);
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { to { box-shadow: 0 0 0 10px rgb(242 194 48 / 0); } }
.nr01 h2 { margin-top: 24px; max-width: 18ch; }
.nr01__lead { margin-top: 24px; max-width: 52ch; color: rgb(255 255 255 / .78); }
.nr01__main .btn { margin-top: 36px; }

.nr01__panel {
  --c: 36px;
  padding: clamp(28px, 3.4vw, 44px);
  background: rgb(255 255 255 / .06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.nr01__panel h3 { font-size: clamp(24px, 2.2vw, 30px); }
.nr01__list { margin-top: 20px; }
.nr01__list li {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / .13);
  font-weight: 500;
}
.nr01__list .ic { color: var(--sinal); width: 22px; height: 22px; }
.nr01__note { margin-top: 22px; font-size: 15px; color: rgb(255 255 255 / .72); }

@media (max-width: 899px) {
  .nr01__grid { grid-template-columns: 1fr; }
}

/* ---------- TREINAMENTOS ---------- */
.treinos__list { border-top: 1px solid var(--linha); }
.treino {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 1fr) auto;
  gap: 12px 40px;
  align-items: center;
  padding: 30px 24px;
  border-bottom: 1px solid var(--linha);
}
.treino::before {
  content: "";
  position: absolute; inset: -1px 0;
  z-index: -1;
  background: var(--concreto);
  --c: 22px;
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  opacity: 0;
  transform: scaleY(.7);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.treino:hover::before, .treino:focus-within::before { opacity: 1; transform: none; }
.treino__nr {
  font: 600 clamp(46px, 4.6vw, 66px)/.9 var(--f-display);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: color .3s;
}
.treino__nr small { display: block; margin-top: 6px; font-size: 17px; letter-spacing: .02em; color: var(--grafite-2); }
.treino:hover .treino__nr { color: var(--verde); }
.treino__body h3 { font-size: clamp(22px, 2vw, 27px); }
.treino__body p { margin-top: 6px; color: var(--grafite-2); max-width: 62ch; }
.treino .btn::before { transition: background-color .25s; }
.treino:hover .btn { --bg: var(--verde); --bg-h: var(--verde-h); --fg: #fff; --pt: 18px; }

@media (max-width: 767px) {
  .treino { grid-template-columns: 1fr; padding: 26px 0; gap: 10px; }
  .treino::before { display: none; }
  .treino .btn { justify-self: start; margin-top: 8px; }
}

/* ---------- PROCESSO ---------- */
.processo__rail {
  position: relative;
  height: 2px;
  margin: 0 0 36px;
  background: var(--linha);
}
.processo__fill {
  position: absolute; inset: 0;
  background: var(--verde);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.ring {
  position: absolute; top: 50%; left: var(--x);
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 2px solid var(--cinza); border-radius: 50%;
  background: var(--branco);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease-out);
}
.ring.is-on { border-color: var(--verde); background: var(--verde); transform: scale(1.15); box-shadow: inset 0 0 0 3px var(--branco); }

.processo__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pstep {
  background: var(--concreto);
  padding: 28px;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.pstep__n {
  font: 600 clamp(60px, 5.6vw, 84px)/.9 var(--f-display);
  color: #b8c1ba;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.pstep h3 { margin-top: auto; padding-top: 28px; }
.pstep p { margin-top: 10px; font-size: 16px; color: var(--grafite-2); }

@media (max-width: 1023px) {
  .processo__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .processo__rail { display: none; }
}
@media (max-width: 599px) {
  .processo__steps { grid-template-columns: 1fr; }
  .pstep { min-height: 0; }
  .pstep h3 { padding-top: 20px; }
}

/* ---------- TRABALHOS ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtro {
  height: 42px;
  padding: 0 18px;
  background: var(--concreto);
  font-size: 15px; font-weight: 500;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color .25s, color .25s;
}
.filtro:hover { background: var(--concreto-2); }
.filtro.is-active { background: var(--grafite); color: #fff; }

.galeria {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(190px, 21vw, 270px);
  grid-auto-flow: dense;
  gap: 16px;
}
.g-item--tall { grid-row: span 2; }
.g-item[hidden] { display: none; }
.g-btn {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  overflow: hidden;
  text-align: left;
  cursor: zoom-in;
  background: var(--concreto);
}
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.g-btn:hover img { transform: scale(1.05); }
.g-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; gap: 2px;
  padding: 56px 22px 20px;
  color: #fff;
  background: linear-gradient(to top, rgb(15 42 28 / .86), transparent);
  font-size: 14px;
}
.g-cap strong { font: 600 20px/1.15 var(--f-display); letter-spacing: .01em; }
.g-cap span { color: rgb(255 255 255 / .8); }
.g-btn.cut .g-cap { padding-right: 40px; }

@media (hover: hover) and (min-width: 768px) {
  .g-cap { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .6s var(--ease-out); }
  .g-btn:hover .g-cap, .g-btn:focus-visible .g-cap { opacity: 1; transform: none; }
}
@media (max-width: 767px) {
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 10px; }
  .g-cap { padding: 40px 12px 12px; }
  .g-cap strong { font-size: 16px; }
  .g-cap span { display: none; }
  .g-btn.cut, .g-btn.cut-alt { --c: 16px; }
}

/* lightbox */
.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(9 22 14 / .96);
  color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lb-in .45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lb__count { font: 500 15px var(--f-display); letter-spacing: .04em; color: rgb(255 255 255 / .7); }
.lb__stage { position: relative; display: grid; place-items: center; padding: 0 76px; min-height: 0; touch-action: pan-y; }
.lb__img {
  width: auto; height: auto;
  max-width: min(1200px, calc(100vw - 168px));
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  object-fit: contain;
  transition: opacity .35s, transform .5s var(--ease-out);
}
.lb__img.is-swap { opacity: 0; transform: scale(.98); }
.lb__btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgb(255 255 255 / .1);
  transition: background-color .25s;
}
.lb__btn:hover { background: rgb(255 255 255 / .2); }
.lb__prev, .lb__next { position: absolute; top: 50%; margin-top: -24px; }
.lb__prev { left: 16px; }
.lb__next { right: 16px; }
.lb__cap { display: grid; gap: 2px; padding: 18px var(--gutter) 26px; text-align: center; }
.lb__title { font: 600 22px/1.2 var(--f-display); }
.lb__meta { font-size: 15px; color: rgb(255 255 255 / .7); }
@media (max-width: 767px) {
  .lb__stage { padding: 0 8px; }
  .lb__img { max-width: calc(100vw - 16px); max-height: calc(100dvh - 250px); }
  .lb__prev, .lb__next { top: auto; bottom: -60px; margin: 0; }
  .lb__prev { left: var(--gutter); }
  .lb__next { right: var(--gutter); }
  .lb__cap { padding-inline: 72px; }
}

/* ---------- DEPOIMENTOS ---------- */
.depo__aside { display: grid; gap: 20px; justify-self: end; max-width: 46ch; }
.depo__aside p { color: var(--grafite-2); }
.depo__nav { display: flex; gap: 8px; }
.depo__btn {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--concreto);
  transition: background-color .25s, color .25s, opacity .25s;
}
.depo__btn:hover:not(:disabled) { background: var(--grafite); color: #fff; }
.depo__btn:disabled { opacity: .35; cursor: default; }

.depo__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px) / 2);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.depo__track::-webkit-scrollbar { display: none; }
.depo__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.depo__card {
  --c: 32px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  gap: 24px;
  min-height: 360px;
  padding: clamp(26px, 3vw, 40px);
  background: var(--concreto);
}
.depo__tag {
  align-self: flex-start;
  padding: 6px 12px;
  background: var(--branco);
  font-size: 14px; font-weight: 600; color: var(--verde);
}
.depo__card blockquote {
  font: 500 clamp(19px, 1.65vw, 23px)/1.45 var(--f-body);
  color: var(--grafite);
  text-wrap: pretty;
}
.depo__card figcaption { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.depo__card figcaption > span:last-child { display: grid; font-size: 15px; color: var(--grafite-2); line-height: 1.35; }
.depo__card figcaption strong { color: var(--grafite); font-weight: 600; }
.avatar {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  background: var(--verde);
  color: #fff;
  font: 600 18px/1 var(--f-display);
  letter-spacing: .04em;
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  padding-right: 6px;
}
@media (max-width: 899px) {
  .depo__aside { justify-self: start; }
}
@media (max-width: 767px) {
  .depo__track { grid-auto-columns: 86%; gap: 12px; }
  .depo__card { min-height: 0; }
}

/* ---------- DÚVIDAS ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__head p { margin-top: 20px; color: var(--grafite-2); max-width: 36ch; }
.faq__head a { color: var(--verde); font-weight: 600; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--linha); }
.faq__item { border-bottom: 1px solid var(--linha); }
.faq__item h3 { font: inherit; }
.faq__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font: 600 clamp(18px, 1.5vw, 21px)/1.35 var(--f-body);
  transition: color .2s;
}
.faq__q:hover { color: var(--verde); }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; background: var(--concreto); transition: background-color .3s; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 13px; height: 2px; margin: -1px 0 0 -6.5px;
  background: currentColor;
  transition: transform .45s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--verde); color: #fff; }
.faq__item.is-open .faq__icon::after { transform: rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.faq__a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a > div { visibility: visible; transition: visibility 0s; }
.faq__a p { padding: 0 56px 24px 0; color: var(--grafite-2); max-width: 62ch; }

@media (max-width: 899px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__a p { padding-right: 0; }
}

/* ---------- CONTATO ---------- */
.contato { background: var(--concreto); }
.contato__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.contato__media { position: relative; min-height: 600px; background: var(--concreto-2); }
.contato__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contato__direct {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: grid;
  background: rgb(255 255 255 / .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 6px 20px;
}
.contato__direct li + li { border-top: 1px solid var(--linha); }
.contato__direct a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contato__direct a:hover { color: var(--verde); }
.contato__direct small { display: block; font-size: 13px; font-weight: 500; color: var(--grafite-2); }
.contato__ic {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  background: var(--verde); color: #fff;
}

.form {
  --c: 36px;
  display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 3.6vw, 48px);
  background: var(--branco);
}
.form h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 4px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--grafite-2); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--linha);
  border-radius: 0;
  background: var(--branco);
  color: var(--grafite);
  font: 400 16px/1.4 var(--f-body);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { height: auto; min-height: 112px; padding: 13px 16px; resize: vertical; }
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%231a221d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input::placeholder, .field textarea::placeholder { color: var(--cinza); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--cinza); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgb(50 115 65 / .16);
}
.field [aria-invalid="true"] { border-color: #b42318; }
.field__err { font-size: 14px; color: #b42318; min-height: 0; }
.field__err:empty { display: none; }
.form .btn { margin-top: 6px; height: 56px; }
.form__note { font-size: 14px; color: var(--grafite-2); }
.form__status { padding: 14px 16px; background: #e8f2ea; color: var(--verde-noite); font-size: 15px; font-weight: 500; }
.form__status a { color: var(--verde); font-weight: 600; }

@media (max-width: 899px) {
  .contato__grid { grid-template-columns: 1fr; }
  .contato__media { min-height: 520px; }
}
@media (max-width: 479px) {
  .contato__media { min-height: 480px; --c: 32px; }
  .contato__direct { left: 12px; right: 12px; bottom: 12px; padding: 4px 14px; }
  .contato__direct a { font-size: 15px; }
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0 28px;
  background: var(--verde-noite);
  color: rgb(255 255 255 / .74);
}
.footer__ground {
  position: absolute; top: 0; left: 0; right: 0;
  height: 14px;
  border-top: 2px solid rgb(255 255 255 / .55);
  background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .18) 0 1.5px, transparent 1.5px 11px);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px clamp(40px, 6vw, 96px);
}
.footer .logo { height: 46px; }
.footer__claim {
  margin: 32px 0 34px;
  max-width: 13ch;
  font: 600 clamp(40px, 5vw, 72px)/.95 var(--f-display);
  letter-spacing: -.01em;
  color: #fff;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 32px; justify-content: space-between; align-content: start; padding-top: 8px; }
.footer__cols h3 { font: 600 14px/1 var(--f-body); letter-spacing: .02em; color: #fff; margin-bottom: 18px; }
.footer__cols ul { display: grid; gap: 11px; font-size: 15px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact .ic { width: 18px; height: 18px; color: var(--sinal); }
.footer__bottom {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / .14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  font-size: 14px;
  color: rgb(255 255 255 / .55);
}
.footer__level { font-family: var(--f-display); font-size: 15px; letter-spacing: .02em; }

@media (max-width: 899px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols > div:last-child { grid-column: 1 / -1; }
}

/* botão flutuante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 45;
  display: flex; align-items: center; gap: 0;
  height: 56px; padding: 0 17px;
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  font-weight: 600; font-size: 15px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transform: translateY(140%);
  transition: transform .6s var(--ease-out), background-color .25s, gap .4s var(--ease-out);
}
.wa-float .ic { width: 24px; height: 24px; }
.wa-float span {
  max-width: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .5s var(--ease-out);
}
.wa-float.is-on { transform: none; }
.wa-float:hover { background: var(--verde-h); gap: 10px; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 200px; }
@media (max-width: 767px) { .wa-float { right: 14px; bottom: 14px; } }

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .wi {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i) * 34ms + var(--d, 0ms));
}
.js [data-split].is-in .wi { transform: none; }

/* sequência de carregamento: logo, título, imagens, linha de vida */
.js .nav__logo .logo__green,
.js .nav__logo .logo__black { transform: translateX(-12px); opacity: 0; transition: transform .8s var(--ease-out), opacity .6s; }
.js .nav__logo .logo__black { transition-delay: .12s; }
.js .nav__logo g, .js .nav__logo path[clip-path] { opacity: 0; transition: opacity .6s .25s; }
.is-ready .nav__logo .logo__green, .is-ready .nav__logo .logo__black,
.is-ready .nav__logo g, .is-ready .nav__logo path[clip-path] { transform: none; opacity: 1; }

.js .hero [data-load] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .hero__img[data-load] { transform: translateY(56px); }
.is-ready .hero [data-load] { opacity: 1; transform: none; }

.js .lifeline__rope { transform: scaleY(0); transition: transform 1.2s var(--ease-io) .3s; }
.js .lifeline__anchor { opacity: 0; transform: scale(.4); transition: opacity .4s .2s, transform .6s var(--ease-out) .2s; }
.js .lifeline__device { opacity: 0; }
.is-ready .lifeline__rope { transform: none; }
.is-ready .lifeline__anchor { opacity: 1; transform: none; }
.is-ready .lifeline__device { opacity: 1; animation: clip-in .9s var(--ease-out) 1.1s backwards; }
@keyframes clip-in {
  0% { opacity: 0; translate: 0 -40px; }
  60% { opacity: 1; translate: 0 4px; }
  100% { translate: 0 0; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal], .js .hero [data-load], .js [data-split] .wi { opacity: 1; transform: none; }
  .hero__img img { transform: scale(1.02); }
}
