/* ==========================================================
   INDUSTRIA | Soluções Industriais
   IDENTIDADE VISUAL
   - Base clara em cinza-aço frio, tinta grafite e um único acento: azul-aço.
   - Tipografia: Archivo larga (nome em caixa-alta larga) + IBM Plex Mono
     em caixa-alta para rótulos (ecoa "SOLUÇÕES INDUSTRIAIS").
   - Elemento gráfico: 7 barras verticais (intro, hero, separadores).
   - Nome INDUSTRIA em texto (sem logotipo em imagem), sobre grafite no topo e rodapé.
   - Raio único: 4px (exceto botão circular e indicadores redondos).
   ========================================================== */

:root {
  --bg: #f2f3f4;
  --surface: #fafbfb;
  --surface-2: #e6e8ea;
  --field: #fdfdfd;
  --line: rgba(20, 24, 28, 0.10);
  --line-strong: rgba(20, 24, 28, 0.22);
  --text: #14181c;
  --muted: #565d66;
  --accent: #1f4e8c;
  --accent-hover: #173d6f;
  --accent-soft: rgba(31, 78, 140, 0.12);
  --accent-ink: #f6f7f8;
  --on-photo: #f4f5f6;
  --error: #b42318;

  --frame: #14181c;
  --frame-text: #e9ebed;
  --frame-muted: #a7adb4;
  --frame-line: rgba(233, 235, 237, 0.14);

  --radius: 4px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1440px;
  --nav-h: 64px;

  /* camadas */
  --z-preview: 30;
  --z-float: 40;
  --z-menu: 45;
  --z-nav: 50;
  --z-progress: 55;
  --z-intro: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 8vw, 120px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius);
}
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
.h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-variation-settings: "wdth" 125;
  margin: 0 0 24px;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.1vw, 1.08rem); max-width: 52ch; margin: 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
em { font-style: normal; color: var(--accent); }
.split-lines .line { overflow: hidden; padding-bottom: 0.06em; }

/* ---------- Elemento de marca: barras da logo ---------- */
.bars {
  --bar-h: 28px; --bar-w: 3px; --bar-gap: 4px;
  display: inline-flex; align-items: flex-end; gap: var(--bar-gap);
  height: var(--bar-h); flex: none;
}
.bars > i { display: block; width: var(--bar-w); background: currentColor; transform-origin: bottom; }
.bars > i:nth-child(1) { height: 78%; }
.bars > i:nth-child(2) { height: 62%; }
.bars > i:nth-child(3) { height: 44%; }
.bars > i:nth-child(4) { height: 30%; }
.bars > i:nth-child(5) { height: 50%; }
.bars > i:nth-child(6) { height: 72%; }
.bars > i:nth-child(7) { height: 100%; }

/* ---------- INTRO ---------- */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: var(--z-intro);
  display: block;
  pointer-events: none;
  animation: intro-safety 0s 6s forwards; /* se o JS falhar, a página não fica presa */
}
@keyframes intro-safety { to { visibility: hidden; } }
.intro__panels { position: absolute; inset: 0; display: flex; }
.intro__panels span { flex: 1; background: var(--frame); margin-right: -1px; }
.intro__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  color: var(--frame-text);
}
.bars--intro { --bar-h: clamp(64px, 8vw, 100px); --bar-w: clamp(6px, .8vw, 10px); --bar-gap: clamp(6px, .8vw, 10px); }
.intro__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--frame-muted); }
.intro__count {
  position: absolute; right: var(--gutter); bottom: 28px;
  font-family: var(--mono); font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1;
  color: var(--frame-text); font-variant-numeric: tabular-nums;
}

/* ---------- Barra de progresso ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--z-progress); pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Troca de letras (microkit: Staggered Letter Text Swap) ---------- */
.swap-ready { display: inline-flex; overflow: hidden; line-height: 1.25; height: 1.25em; vertical-align: middle; }
.swap-ready .ch { position: relative; display: inline-block; white-space: pre; }
.swap-ready .ch > span, .swap-ready .ch::after { display: block; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.swap-ready .ch::after { content: attr(data-c); position: absolute; left: 0; top: 100%; white-space: pre; }
a:hover .swap-ready .ch > span, a:hover .swap-ready .ch::after,
button:hover .swap-ready .ch > span, button:hover .swap-ready .ch::after,
.swap-ready:hover .ch > span, .swap-ready:hover .ch::after { transform: translateY(-100%); }

/* ---------- Botões (microkit: Magnetic Fill) ---------- */
.btn {
  --h: 50px;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 13.5px; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost:hover { color: var(--frame-text); border-color: var(--frame); }
.btn__fill {
  position: absolute; z-index: -1;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 240%; aspect-ratio: 1; border-radius: 50%;
  background: var(--frame);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.nav .btn__fill { background: var(--frame-text); }
.nav .btn--primary:hover { color: var(--frame); }
.btn:hover .btn__fill { transform: translate(-50%, -50%) scale(1); }
.btn .ph { font-size: 18px; transition: transform .45s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-size: 20px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.round-btn:hover { background: var(--frame); color: var(--frame-text); border-color: var(--frame); }
.round-btn:active { transform: scale(0.94); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  background: var(--frame); color: var(--frame-text);
  border-bottom: 1px solid var(--frame-line);
  transition: transform .55s var(--ease);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { position: relative; display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; z-index: 1;
  padding: 7px 12px; font-size: 14px; color: var(--frame-muted);
  transition: color .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--frame-text); }
.nav__pill {
  position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0;
  background: rgba(233, 235, 237, 0.09); border-radius: var(--radius);
  opacity: 0; pointer-events: none;
}
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav__burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--frame-text);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg);
  padding: calc(var(--nav-h) + 40px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a {
  font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em;
  font-variation-settings: "wdth" 125; line-height: 1.15;
}
.menu__foot { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 15px; }

/* ---------- HERO ---------- */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: 100dvh; min-height: 620px;
  overflow: hidden;
}
.hero__copy {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
}
.hero__text { max-width: 52%; }
.hero__title {
  font-size: clamp(2.2rem, 3.7vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
  font-variation-settings: "wdth" 125;
  margin: 0 0 28px;
}
.hero__sub { color: var(--muted); font-size: clamp(1rem, 1.15vw, 1.1rem); max-width: 42ch; margin: 0 0 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  position: absolute; z-index: 2;
  top: calc(var(--nav-h) + 5vh);
  right: var(--gutter);
  bottom: 5vh;
  width: 40%;
}
.hbars { position: absolute; inset: 0; display: flex; }
.hbar {
  position: relative; flex: 1; height: 100%; overflow: hidden;
  clip-path: inset(calc((1 - var(--h)) * 100%) 5px 0 5px);
  background: var(--surface-2);
}
.hbar img {
  position: absolute; top: 0; height: 100%; max-width: none;
  width: 700%; left: calc(var(--i) * -100%);
  object-fit: cover; object-position: 35% center;
}
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,24,28,.78) 0%, rgba(20,24,28,.35) 55%, rgba(20,24,28,.1) 100%);
  opacity: 0;
}
.hero__statement {
  position: absolute; left: var(--gutter); bottom: 12vh; margin: 0;
  max-width: 16ch;
  color: var(--on-photo);
  font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 600; font-variation-settings: "wdth" 125;
  opacity: 0;
}

/* ---------- MARQUEE ---------- */
.marquee { overflow: hidden; padding-block: clamp(22px, 2.8vw, 36px); border-bottom: 1px solid var(--line); }
.marquee__skew { will-change: transform; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 44px); padding-right: clamp(24px, 3vw, 44px); }
.marquee__group span {
  font-size: clamp(1.6rem, 3.6vw, 3.2rem); line-height: 1;
  font-weight: 500; letter-spacing: -0.01em; text-transform: uppercase;
  font-variation-settings: "wdth" 125;
  white-space: nowrap;
}
.marquee__group span.is-outline { color: transparent; -webkit-text-stroke: 1.2px var(--text); }
.marquee__group .bars { --bar-h: clamp(20px, 2.4vw, 34px); --bar-w: clamp(3px, .4vw, 5px); color: var(--accent); }

/* ---------- QUEM SOMOS ---------- */
.about__statement {
  margin: 0 0 clamp(56px, 8vw, 110px);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.16; letter-spacing: -0.03em;
  font-weight: 500; font-variation-settings: "wdth" 115;
}
.about__statement .w { opacity: 0.16; }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__since {
  margin: 0 0 20px; display: flex; flex-direction: column; gap: 6px;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1; letter-spacing: -0.03em;
  font-weight: 600; font-variation-settings: "wdth" 125;
}
.about__since span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 400; }
.about__text { color: var(--muted); margin: 0; max-width: 52ch; }
.about__more { margin-top: 28px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mv__card {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.mv__label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.mv__label .ph { font-size: 20px; }
.mv__card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.mv__card strong { color: var(--text); font-weight: 600; }

/* Valores: 7 valores nas 7 barras da logo */
.values { margin-top: clamp(80px, 11vw, 150px); }
.values__title {
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; letter-spacing: -0.03em;
  font-weight: 600; font-variation-settings: "wdth" 125;
}
.values__bars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px);
  height: clamp(220px, 24vw, 320px);
}
.values__bars li { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; height: 100%; }
.values__bar {
  display: block; height: calc(var(--h) * 76%); width: clamp(10px, 1.3vw, 18px);
  background: var(--text); border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  transition: background-color .4s var(--ease);
}
.values__bars li:hover .values__bar { background: var(--accent); }
.values__name {
  min-height: 2.6em;
  font-size: clamp(13px, 1.15vw, 16px); line-height: 1.3; font-weight: 600; font-variation-settings: "wdth" 110;
}
/* ---------- Glow card (microkit: Cursor Edge Glow) ---------- */
.glow-card { position: relative; }
.glow-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--accent), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }

/* ---------- SERVIÇOS ---------- */
.services__head { margin-bottom: clamp(40px, 6vw, 72px); }
.services__head .lead { max-width: 56ch; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.svc-row { border-bottom: 1px solid var(--line-strong); }
.svc-row__link {
  position: relative; overflow: hidden; width: 100%; text-align: left;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 30ch) 46px;
  align-items: center; gap: 28px;
  padding: clamp(18px, 2vw, 28px) clamp(8px, 1.5vw, 24px);
  transition: color .5s var(--ease);
}
.svc-row__fill {
  position: absolute; inset: 0; z-index: 0;
  background: var(--frame);
  transform: scaleY(0); transform-origin: var(--origin, bottom);
  transition: transform .6s var(--ease);
}
.svc-row__link > *:not(.svc-row__fill) { position: relative; z-index: 1; }
.svc-row__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); transition: color .5s var(--ease); }
.svc-row__title {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 500; font-variation-settings: "wdth" 122;
  transition: transform .6s var(--ease);
}
.svc-row__desc { color: var(--muted); font-size: 15px; line-height: 1.5; transition: color .5s var(--ease); }
.svc-row__arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-size: 19px;
  transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.svc-row__link:hover, .svc-row__link:focus-visible, .svc-row.is-open .svc-row__link { color: var(--frame-text); }
.svc-row__link:hover .svc-row__fill, .svc-row__link:focus-visible .svc-row__fill, .svc-row.is-open .svc-row__fill { transform: scaleY(1); }
.svc-row__link:hover .svc-row__title { transform: translateX(clamp(8px, 1.5vw, 24px)); }
.svc-row__link:hover .svc-row__desc, .svc-row.is-open .svc-row__desc { color: var(--frame-muted); }
.svc-row__link:hover .svc-row__num, .svc-row.is-open .svc-row__num { color: var(--frame-muted); }
.svc-row__link:hover .svc-row__arrow, .svc-row.is-open .svc-row__arrow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.svc-row.is-open .svc-row__arrow { transform: rotate(45deg); }

.svc-row__panel {
  display: grid; grid-template-rows: 0fr;
  background: var(--frame); color: var(--frame-text);
  transition: grid-template-rows .75s var(--ease);
}
.svc-row.is-open .svc-row__panel { grid-template-rows: 1fr; }
.svc-row__inner {
  min-height: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4vw, 64px);
  padding-inline: clamp(8px, 1.5vw, 24px);
}
.svc-row__img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); margin: 8px 0 clamp(28px, 3vw, 44px);
}
.svc-row__media { aspect-ratio: 4 / 3; border-radius: var(--radius); margin: 8px 0 clamp(28px, 3vw, 44px); }
.svc-row__media .svc-row__img { width: 100%; height: 100%; aspect-ratio: auto; margin: 0; border-radius: 0; }
.svc-row__body { padding: 8px 0 clamp(28px, 3vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.svc-row__intro { margin: 0; color: var(--frame-text); font-size: clamp(1rem, 1.2vw, 1.12rem); max-width: 52ch; }
.svc-row__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.svc-row__items--cols { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.svc-row__items li { position: relative; padding-left: 22px; color: var(--frame-muted); font-size: 15px; line-height: 1.45; }
.svc-row__items li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--accent); }
.svc-row__cta { margin-top: 6px; }
.nav .btn__fill, .svc-row__cta .btn__fill { background: var(--frame-text); }
.svc-row__cta:hover { color: var(--frame); }

.svc-preview {
  position: fixed; left: 0; top: 0; z-index: var(--z-preview);
  width: clamp(200px, 18vw, 280px); aspect-ratio: 4 / 5;
  pointer-events: none;
  visibility: hidden;
}
.svc-preview__frame {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(20, 24, 28, 0.45);
  clip-path: inset(100% 0 0 0);
}
.svc-preview__frame .prev-item { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.svc-preview__frame .prev-item img { width: 100%; height: 100%; }

/* ---------- DIFERENCIAIS (cartões empilhados) ---------- */
.stack { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(60px, 8vw, 120px); }
.stack__title { max-width: 14ch; margin-bottom: clamp(32px, 5vw, 64px); }
.scard-wrap {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding-bottom: 6vh;
}
.scard {
  height: min(66dvh, 520px);
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transform-origin: center top;
  box-shadow: 0 -20px 50px -30px rgba(20, 24, 28, 0.35);
}
.scard__text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3.4vw, 52px);
}
.scard__text .ph { font-size: clamp(28px, 2.4vw, 36px); }
.scard__title {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 600; font-variation-settings: "wdth" 125;
}
.scard__text p { margin: 0; max-width: 42ch; font-size: clamp(.95rem, 1.05vw, 1.05rem); }
.scard__media { position: relative; overflow: hidden; }
.scard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.scard--light { background: var(--surface); }
.scard--light .ph { color: var(--accent); }
.scard--light p { color: var(--muted); }
.scard--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.scard--accent p { color: rgba(246, 247, 248, 0.82); }
.scard__art { display: grid; place-items: center; }
.bars--art { --bar-h: min(38vh, 280px); --bar-w: clamp(10px, 1.6vw, 22px); --bar-gap: clamp(9px, 1.3vw, 18px); color: rgba(246, 247, 248, 0.9); }
.scard--frame { background: var(--frame); color: var(--frame-text); border-color: var(--frame); }
.scard--frame .ph { color: var(--frame-text); }
.scard--frame p { color: var(--frame-muted); }
.scard--photo { position: relative; grid-template-columns: 1fr; color: var(--on-photo); border: 0; }
.scard--photo .scard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scard--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,28,.85), rgba(20,24,28,.15)); }
.scard--photo .scard__text { position: relative; z-index: 1; max-width: 640px; }
.scard--photo p { color: #dde1e5; }

/* ---------- PROCESSO (cordão de solda) ---------- */
.process__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); }
.process__head { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.weld { position: relative; padding-left: clamp(64px, 7vw, 96px); }
.weld__svg { position: absolute; left: 0; top: 0; width: 48px; height: 100%; overflow: visible; }
.weld__track { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 2 6; }
.weld__bead { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.weld__spark {
  position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
  opacity: 0;
}
.weld__spark span {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid var(--accent); opacity: .5;
  animation: spark 1.4s var(--ease) infinite;
}
@keyframes spark { from { transform: scale(.4); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding-bottom: clamp(48px, 6vw, 84px); opacity: .35; transition: opacity .6s var(--ease); }
.step:last-child { padding-bottom: 0; }
.step.is-on { opacity: 1; }
.step__title {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.08; letter-spacing: -0.025em;
  font-weight: 600; font-variation-settings: "wdth" 122;
}
.step p { margin: 0; color: var(--muted); max-width: 44ch; }

/* ---------- PROJETOS ---------- */
.projects { overflow: hidden; border-top: 1px solid var(--line); }
.projects__head { margin-bottom: 32px; }
.coverflow { width: 100%; padding-block: 20px 10px; }
.coverflow .swiper-slide {
  width: clamp(220px, 24vw, 360px);
  aspect-ratio: 4 / 5; margin: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2);
}
.coverflow .swiper-slide img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s var(--ease), opacity .6s var(--ease); }
.coverflow .swiper-slide:not(.swiper-slide-active) img { filter: grayscale(1); opacity: 0.55; }
.coverflow .swiper-slide figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.coverflow__nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 32px; }
.coverflow__caption {
  margin: 0; min-width: 280px; text-align: center;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- CONTATO ---------- */
.contact { border-top: 1px solid var(--line); }
.cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(44px, 5vw, 72px); }
.cta__title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.04em;
  font-weight: 600; font-variation-settings: "wdth" 125;
}
.circle-btn {
  position: relative; overflow: hidden; isolation: isolate; flex: none;
  width: clamp(120px, 10vw, 150px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4;
}
.circle-btn .ph { font-size: 22px; transition: transform .5s var(--ease); }
.circle-btn:hover .ph { transform: rotate(-45deg); }
.circle-btn__fill {
  position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%);
  width: 240%; aspect-ratio: 1; border-radius: 50%; background: var(--frame);
  transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease);
}
.circle-btn:hover .circle-btn__fill { transform: translate(-50%, -50%) scale(1); }

.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.person, .address {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.person__name { margin: 0 0 4px; font-weight: 600; font-size: 19px; font-variation-settings: "wdth" 112; }
.person__line { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; word-break: break-word; transition: color .3s var(--ease); }
.person__line:hover { color: var(--text); }
.person__line .ph, .address .ph-map-pin { color: var(--accent); font-size: 18px; flex: none; }
.address { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.address .ph-map-pin { margin-top: 3px; }
.address__go {
  width: 100%; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-top: 6px;
}
.address__go .ph { transition: transform .4s var(--ease); }
.address:hover .address__go .ph { transform: translate(3px, -3px); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 550; color: var(--text); transition: color .3s var(--ease); }
.field:focus-within label { color: var(--accent); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit; font-size: 16px;
  padding: 13px 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field__line { display: block; height: 2px; margin-top: -10px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); border-radius: 0 0 var(--radius) var(--radius); }
.field:focus-within .field__line { transform: scaleX(1); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 13px; }
.field__error:empty { display: none; }
.field__hint { color: var(--muted); font-size: 13px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select .ph { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__note { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- FOOTER ---------- */
.footer { padding-top: 80px; background: var(--frame); color: var(--frame-text); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 48px; width: auto; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.footer__nav a, .footer__contact a { color: var(--frame-muted); transition: color .3s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--frame-text); }
.footer__contact span { color: var(--frame-muted); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 24px; border-top: 1px solid var(--frame-line);
  font-size: 14px; color: var(--frame-muted);
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; }
.footer__top:hover { color: var(--frame-text); }

/* ---------- WhatsApp (microkit: Expanding Contact Button) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-float);
  height: 56px; padding: 0 16px; border-radius: 28px;
  display: inline-flex; align-items: center; gap: 0;
  background: #25d366; color: #0b2e17;
  box-shadow: 0 10px 30px rgba(20, 24, 28, 0.2);
  transition: gap .5s var(--ease), transform .3s var(--ease);
}
.wa-float .ph-fill { font-size: 26px; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-weight: 600; font-size: 14px;
  transition: max-width .5s var(--ease);
}
.wa-float:hover { gap: 10px; }
.wa-float:hover .wa-float__label { max-width: 160px; }

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 900px) {
  .hero__copy { align-items: flex-start; padding-top: calc(var(--nav-h) + 6vh); }
  .hero__text { max-width: 100%; }
  .hero__title { font-size: clamp(2rem, 8.4vw, 2.8rem); margin-bottom: 16px; }
  .hero__sub { margin-bottom: 24px; }
  .hero__visual { top: auto; bottom: 3vh; height: 34vh; right: var(--gutter); width: calc(100% - 2 * var(--gutter)); }
  .hero__statement { bottom: 8vh; }

  .about__grid, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__head { position: static; }

  .svc-row__link { grid-template-columns: minmax(0, 1fr) 48px; gap: 6px 16px; }
  .svc-row__num { grid-column: 1; grid-row: 1; }
  .svc-row__title { grid-column: 1; grid-row: 2; }
  .svc-row__desc { grid-column: 1; grid-row: 3; }
  .svc-row__arrow { grid-column: 2; grid-row: 1 / span 3; width: 48px; height: 48px; }
  .svc-row__inner { grid-template-columns: 1fr; }
  .svc-row__img { aspect-ratio: 16 / 9; margin-bottom: 0; }
  .svc-row__media { aspect-ratio: 16 / 9; margin-bottom: 0; }
  .svc-row__items--cols { grid-template-columns: 1fr; }
  .mv { grid-template-columns: 1fr; }
  .values__bars { display: flex; flex-direction: column; gap: 14px; height: auto; }
  .values__bars li { flex-direction: row; align-items: center; justify-content: flex-start; height: auto; gap: 12px; }
  .values__name { order: -1; flex: 0 0 11.5em; min-height: 0; font-size: 14px; }
  .values__bar { height: 10px; width: calc(var(--h) * 40%); flex: none; transform-origin: left; border-radius: 0 2px 2px 0; }

  .scard { grid-template-columns: 1fr; grid-template-rows: auto 1fr; height: min(78dvh, 620px); }
  .scard__media { min-height: 0; }
  .scard__art { display: none; }
  .scard--accent { grid-template-rows: 1fr; }

  .cta { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .form { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__ctas .btn { width: auto; flex: 1 1 auto; }
  .coverflow__caption { min-width: 0; font-size: 12px; }
  .wa-float { padding: 0; width: 56px; justify-content: center; }
  .wa-float__label { display: none; }
}

/* ==========================================================
   Movimento reduzido: tudo estático
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .intro { display: none; }
  .about__statement .w { opacity: 1; }
  .step { opacity: 1; }
  .scard-wrap { position: static; }
}

.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; }

/* ==========================================================
   PÁGINA QUEM SOMOS
   ========================================================== */
.qs-hero { min-height: min(100dvh, 860px); display: flex; padding-top: calc(var(--nav-h) + 6vh); padding-bottom: 5vh; overflow: hidden; }
.qs-hero__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.qs-hero__top { display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 40px); }
.qs-hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: 0.95; letter-spacing: -0.045em;
  font-weight: 600; font-variation-settings: "wdth" 125;
}
.bars--qs { --bar-h: clamp(34px, 4.4vw, 64px); --bar-w: clamp(5px, .55vw, 8px); --bar-gap: clamp(4px, .5vw, 7px); color: var(--accent); margin-bottom: 0.12em; }
.qs-hero__year { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.qs-hero__since {
  margin: 0 0 1.6vw; max-width: 24ch;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.7;
  color: var(--muted);
}
.qs-hero__mask {
  display: block;
  font-size: clamp(6rem, 21vw, 19rem); line-height: 0.8; letter-spacing: -0.06em;
  font-weight: 800; font-variation-settings: "wdth" 125;
  color: var(--text);
  background-image: url("https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=2000&q=75");
  background-size: 130% auto; background-position: 50% 40%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.04em;
}

.story__grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 110px); }
.story__aside { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.story__index { list-style: none; margin: 24px 0 0; padding: 0; display: flex; align-items: flex-end; gap: 8px; height: 72px; }
.story__index li { position: relative; width: 8px; height: calc(var(--h) * 100%); background: var(--line-strong); overflow: hidden; }
.story__index li span { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.story__index li.is-on span { transform: scaleY(1); }
.story__lead {
  margin: 0 0 clamp(32px, 4vw, 52px);
  font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.3; letter-spacing: -0.02em;
  font-weight: 500; font-variation-settings: "wdth" 112;
  color: var(--text);
}
.story__lead .w { opacity: 0.16; }
.story__p:not(.story__lead) {
  margin: 0 0 1.6em; max-width: 60ch;
  font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.7;
  color: var(--muted); transition: color .6s var(--ease);
}
.story__p.is-active { color: var(--text); }
.hl {
  color: inherit;
  background: linear-gradient(var(--accent-soft), var(--accent-soft)) no-repeat 0 85% / 0% 70%;
  transition: background-size 1.4s var(--ease), color .6s var(--ease);
  padding: 0 0.08em;
}
.hl.is-on { background-size: 100% 70%; color: var(--text); }
.story__cta { margin-top: 12px; }

.pmv { overflow: hidden; }
.pmv__track {
  display: flex; gap: clamp(16px, 2vw, 28px); width: max-content;
  height: 100dvh; padding: calc(var(--nav-h) + 6vh) var(--gutter) 8vh;
}
.pmv__panel {
  flex: 0 0 min(66vw, 920px); height: 100%; max-height: 560px; align-self: center;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: clamp(24px, 3.4vw, 52px);
  border-radius: var(--radius); overflow: hidden;
}
.pmv__panel--frame { background: var(--frame); color: var(--frame-text); }
.pmv__panel--accent { background: var(--accent); color: var(--accent-ink); }
.pmv__panel--light { background: var(--surface); border: 1px solid var(--line); }
.pmv__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pmv__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.pmv__panel--light .pmv__label, .pmv__panel--light .pmv__icon { color: var(--accent); }
.bars--pmv { --bar-h: clamp(32px, 3.4vw, 48px); --bar-w: clamp(4px, .4vw, 6px); --bar-gap: clamp(4px, .4vw, 6px); }
.pmv__icon { font-size: clamp(28px, 2.6vw, 40px); }
.pmv__text {
  margin: 0; max-width: 26ch;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.16; letter-spacing: -0.025em;
  font-weight: 500; font-variation-settings: "wdth" 115;
}
.pmv__text strong { font-weight: 700; }

.qs-values { border-top: 1px solid var(--line); }
.qs-values .lead { margin-bottom: clamp(36px, 5vw, 64px); }
.vbars { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; gap: clamp(6px, 1vw, 14px); height: clamp(240px, 26vw, 360px); }
.vbars li { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; transition: flex-grow .7s var(--ease); }
.vbars li:hover { flex-grow: 2.4; }
.vbars__bar {
  position: relative; width: 100%; height: calc(var(--h) * 100%);
  display: flex; align-items: flex-end;
  padding: clamp(10px, 1.2vw, 18px);
  background: var(--frame); color: var(--frame-text);
  border-radius: var(--radius) var(--radius) 0 0;
  transform-origin: bottom;
  transition: background-color .45s var(--ease);
}
.vbars li:hover .vbars__bar { background: var(--accent); color: var(--accent-ink); }
.vbars__name { font-size: clamp(.75rem, .95vw, .95rem); line-height: 1.2; font-weight: 600; font-variation-settings: "wdth" 110; }

.qs-cta { border-top: 1px solid var(--line); }
.qs-cta .cta { margin-bottom: 0; }

@media (max-width: 900px) {
  .qs-hero__top { align-items: center; }
  .qs-hero__year { flex-direction: column; align-items: flex-start; }
  .qs-hero__mask { font-size: 34vw; }
  .story__grid { grid-template-columns: 1fr; }
  .story__aside { position: static; }
  .story__index { display: none; }
  .pmv__track { flex-direction: column; width: 100%; height: auto; padding: 0 var(--gutter); }
  .pmv__panel { flex: none; height: auto; min-height: 0; max-height: none; padding-block: 40px; }
  .vbars { flex-direction: column; align-items: stretch; height: auto; gap: 8px; }
  .vbars li { flex: none; height: auto; }
  .vbars li:hover { flex-grow: 0; }
  .vbars__bar { width: calc(42% + var(--h) * 58%); height: 56px; align-items: center; transform-origin: left; border-radius: 0 var(--radius) var(--radius) 0; }
}

/* ---------- Fotos inteiras: a imagem aparece completa e o fundo é ela mesma desfocada ---------- */
.fit-blur { position: relative; overflow: hidden; isolation: isolate; background: var(--frame); }
.fit-blur::before {
  content: ""; position: absolute; inset: -24px; z-index: -1;
  background: var(--src) center / cover no-repeat;
  filter: blur(22px) brightness(0.8) saturate(1.1);
  transition: filter .6s var(--ease), opacity .6s var(--ease);
}
.fit-blur > img { object-fit: contain !important; }
.coverflow .swiper-slide.fit-blur:not(.swiper-slide-active)::before { filter: blur(22px) brightness(0.8) grayscale(1); opacity: 0.55; }

/* ---------- Nome da empresa em texto (substitui o logotipo) ---------- */
.wordmark {
  margin: 0;
  font-family: var(--font); font-weight: 500; font-variation-settings: "wdth" 125;
  font-size: 19px; letter-spacing: 0.16em; line-height: 1;
  color: var(--frame-text); white-space: nowrap;
}
.wordmark--lg { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 12px; }
.footer__tagline { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--frame-muted); }
