/* ============================================================
   WERC INDUSTRIAL — Design System v1.0
   "Contenção" — industrial editorial, grain & precision
   Paleta: vermelho #E1592A (logo) / preto / branco / cinza
   ============================================================ */

:root {
  /* Cor */
  --ink: #0A0A0B;
  --carbon: #121214;
  --steel: #1A1A1D;
  --smoke: #2A2A2E;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --gray: #8E8E93;
  --silver: #C7C7CC;
  --paper: #EFEFF0;
  --paper-2: #E4E4E6;
  --ink-line: rgba(10, 10, 11, 0.14);
  --white: #FFFFFF;
  --red: #E1592A;
  --red-deep: #B83E18;
  --red-glow: rgba(225, 89, 42, 0.45);

  /* Tipo */
  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --f-mono: "Fragment Mono", "Courier New", monospace;

  --fs-hero: clamp(3.6rem, 12.5vw, 12.5rem);
  --fs-h2: clamp(2.6rem, 6.4vw, 6rem);
  --fs-h3: clamp(1.8rem, 3.4vw, 3rem);
  --fs-h4: clamp(1.15rem, 1.6vw, 1.45rem);
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-mono: 0.72rem;

  --sp-section: clamp(5.5rem, 11vw, 11rem);
  --sp-block: clamp(2.5rem, 5vw, 4.5rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-industrial: cubic-bezier(0.83, 0, 0.17, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  background: var(--ink);
  color: var(--silver);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: var(--ink); }

/* Película de grão — assinatura Electroforma */
body::after {
  content: "";
  position: fixed; inset: -8%;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.07;
  mix-blend-mode: overlay;
  animation: grain 9s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 2%); }
  40% { transform: translate(2%, -1%); }
  60% { transform: translate(-1%, -2%); }
  80% { transform: translate(1%, 2%); }
}

/* ---------- Utilidades ---------- */
.container { width: min(100% - 2 * var(--gutter), 1480px); margin-inline: auto; }
.section { padding-block: var(--sp-section); position: relative; }
.section--flush-top { padding-top: 0; }

.mono {
  font-family: var(--f-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mono--red { color: var(--red); }
.mono--dim { color: var(--gray); }

.kicker {
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--f-mono); font-size: var(--fs-mono);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.6rem;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--red); flex: none; }
.kicker .idx { color: var(--gray); white-space: nowrap; }

.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
  color: var(--white);
}
h2.display { font-size: var(--fs-h2); }
h3.display { font-size: var(--fs-h3); }
.display .outline,
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.55);
}
.display .red { color: var(--red); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--silver); max-width: 56ch; }
p + p { margin-top: 1em; }
.maxw { max-width: 62ch; }
.muted { color: var(--gray); }

/* Crosshair decorativo */
.x-mark { position: absolute; width: 18px; height: 18px; opacity: 0.5; pointer-events: none; }
.x-mark::before, .x-mark::after { content: ""; position: absolute; background: var(--gray); }
.x-mark::before { left: 50%; top: 0; width: 1px; height: 100%; }
.x-mark::after { top: 50%; left: 0; height: 1px; width: 100%; }
.x-mark--red::before, .x-mark--red::after { background: var(--red); }

/* Linhas verticais de fundo (desenho técnico) */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(90deg,
    transparent 0, transparent calc(100% / 6 - 1px),
    var(--line-soft) calc(100% / 6 - 1px), var(--line-soft) calc(100% / 6));
}

/* Código de barras decorativo */
.barcode {
  height: 26px; width: 110px;
  background: repeating-linear-gradient(90deg,
    currentColor 0 2px, transparent 2px 4px,
    currentColor 4px 7px, transparent 7px 9px,
    currentColor 9px 10px, transparent 10px 14px,
    currentColor 14px 16px, transparent 16px 17px);
  opacity: 0.55;
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1.05rem 1.7rem;
  font-family: var(--f-mono); font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
  overflow: hidden;
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn--solid { background: var(--red); color: var(--ink); border-color: var(--red); }
.btn--solid:hover { background: var(--white); border-color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }
.btn--ink { border-color: rgba(10, 10, 11, 0.35); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s, border-color 0.4s, transform 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { height: 15px; width: auto; }
.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand .plate {
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.18em;
  color: var(--gray); border: 1px solid var(--line); padding: 0.25rem 0.5rem;
}
@media (max-width: 640px) { .brand .plate { display: none; } }

.nav-desktop { display: flex; align-items: center; gap: 2.2rem; }
.nav-desktop > li { position: relative; }
.nav-desktop a.nav-link {
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver); padding: 0.6rem 0;
  transition: color 0.25s;
}
.nav-desktop a.nav-link:hover, .nav-desktop a.nav-link[aria-current="page"] { color: var(--red); }
.nav-desktop .has-sub > a.nav-link::after { content: " +"; color: var(--gray); }

.subnav {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 290px;
  background: var(--carbon);
  border: 1px solid var(--line);
  padding: 0.6rem 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.subnav a {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding: 0.62rem 1.2rem;
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--silver);
  transition: color 0.2s, background 0.2s;
}
.subnav a:hover { color: var(--red); background: rgba(255, 255, 255, 0.03); }
.subnav .n { color: var(--gray); font-size: 0.6rem; }

.header-cta { display: inline-flex; }
@media (max-width: 1080px) { .nav-desktop, .header-cta { display: none; } }

.nav-burger {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 10px;
}
.nav-burger span { width: 26px; height: 2px; background: var(--white); transition: transform 0.35s var(--ease-out), opacity 0.3s; }
@media (max-width: 1080px) { .nav-burger { display: flex; } }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: var(--ink);
  display: flex; align-items: center;
  visibility: hidden; opacity: 0;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s;
}
body.menu-open .menu-overlay { visibility: visible; opacity: 1; }
body.menu-open { overflow: hidden; }
.menu-overlay .container { display: grid; gap: 3rem; }
.menu-overlay nav a {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vh, 5.2rem); line-height: 1.04;
  color: var(--white);
  display: flex; align-items: baseline; gap: 1.2rem;
  transform: translateY(28px); opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s, color 0.25s;
}
.menu-overlay nav a .n { font-family: var(--f-mono); font-size: 0.7rem; color: var(--gray); letter-spacing: 0.15em; }
.menu-overlay nav a:hover { color: var(--red); }
body.menu-open .menu-overlay nav a { transform: translateY(0); opacity: 1; }
.menu-overlay .menu-meta { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; color: var(--gray); }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--header-h);
  overflow: clip;
  isolation: isolate;
}
.hero canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero .grid-lines { z-index: -1; }
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(10, 10, 11, 0.92) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.55), transparent 30%, transparent 62%, var(--ink) 97%);
}
.hero-tags {
  position: absolute; z-index: 2;
  font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray);
  display: none;
}
@media (min-width: 900px) { .hero-tags { display: block; } }
.hero-tags b { color: var(--silver); font-weight: 400; }
.hero-bottom { position: relative; z-index: 2; padding-bottom: clamp(2rem, 5vh, 4rem); }
.hero h1 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--fs-hero); line-height: 0.88; letter-spacing: 0.004em;
  color: var(--white);
  margin-block: 1.2rem 1.8rem;
}
.hero h1 .line { display: block; overflow: hidden; padding-top: 0.18em; margin-bottom: -0.18em; }
.hero h1 .line > span { display: inline-block; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.hero-foot .lead { max-width: 46ch; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: clamp(2rem, 5vh, 4rem); z-index: 2;
  writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray);
  display: none; align-items: center; gap: 0.8rem;
}
.hero-scroll::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--red), transparent); animation: drip 2.2s var(--ease-industrial) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 1200px) { .hero-scroll { display: inline-flex; } }

/* Hero interno (subpáginas) */
.hero-sub {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 8rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: clip;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}
.hero-sub canvas { position: absolute; inset: 0; z-index: -1; opacity: 0.85; }
.hero-sub .grid-lines { z-index: -2; }
.hero-sub h1 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 7.8vw, 7.2rem); line-height: 0.9;
  color: var(--white);
  max-width: 18ch;
}
.hero-sub .lead { margin-top: 1.6rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-bottom: 1.5rem; }
.breadcrumb a, .breadcrumb span { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gray); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--smoke); }
.breadcrumb [aria-current] { color: var(--silver); }
.hero-sub .chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.chip {
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--line);
  padding: 0.45rem 0.8rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.chip::before { content: ""; width: 5px; height: 5px; background: var(--red); flex: none; }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: clip;
  padding-block: 0.95rem;
  background: var(--carbon);
  position: relative;
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: 0.06em;
  color: var(--gray);
  display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap;
}
.marquee-track span::after { content: "◆"; color: var(--red); font-size: 0.55em; }
.marquee--red { background: var(--red); border-color: var(--red); }
.marquee--red .marquee-track span { color: var(--ink); }
.marquee--red .marquee-track span::after { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards de produto ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.product-card {
  grid-column: span 4;
  background: var(--ink);
  padding: 1.6rem;
  display: flex; flex-direction: column; gap: 1.3rem;
  position: relative;
  transition: background 0.4s;
  min-height: 380px;
}
@media (max-width: 1080px) { .product-card { grid-column: span 6; } }
@media (max-width: 680px) { .product-card { grid-column: span 12; min-height: 0; } }
.product-card:hover { background: var(--carbon); }
.product-card .head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.product-card .idx { font-family: var(--f-mono); font-size: 0.66rem; color: var(--gray); letter-spacing: 0.12em; transition: color 0.3s; }
.product-card:hover .idx { color: var(--red); }
.product-card .norm { font-family: var(--f-mono); font-size: 0.6rem; color: var(--gray); letter-spacing: 0.1em; }
.product-card figure {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--steel);
  display: grid; place-items: center;
  position: relative;
}
.product-card figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.5s;
  filter: saturate(0.92) contrast(1.05);
}
.product-card figure.contain img { object-fit: contain; padding: 1.4rem; background: var(--paper); }
.product-card:hover figure img { transform: scale(1.045); }
.product-card h3 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.55rem; line-height: 0.95; color: var(--white); letter-spacing: 0.01em;
}
.product-card p { font-size: 0.92rem; color: var(--gray); }
.product-card .go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--silver);
}
.product-card .go .arr { transition: transform 0.35s var(--ease-out); color: var(--red); }
.product-card:hover .go .arr { transform: translateX(6px); }
.product-card a.cover { position: absolute; inset: 0; z-index: 1; }
/* cantoneiras */
.product-card::before, .product-card::after {
  content: ""; position: absolute; width: 14px; height: 14px; z-index: 2;
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
}
.product-card::before { top: 8px; left: 8px; border-top: 1px solid var(--red); border-left: 1px solid var(--red); }
.product-card::after { bottom: 8px; right: 8px; border-bottom: 1px solid var(--red); border-right: 1px solid var(--red); }
.product-card:hover::before, .product-card:hover::after { opacity: 1; }

/* ---------- Painéis / blocos editoriais ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-block) var(--gutter); align-items: start; }
.split > .col-5 { grid-column: span 5; }
.split > .col-6 { grid-column: span 6; }
.split > .col-7 { grid-column: span 7; }
@media (max-width: 980px) { .split > [class^="col-"] { grid-column: 1 / -1; } }

.img-frame { position: relative; overflow: hidden; background: var(--steel); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}
.img-frame .tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); background: rgba(10, 10, 11, 0.72);
  padding: 0.4rem 0.7rem;
  border-left: 2px solid var(--red);
}
.frame-corners::before {
  content: ""; position: absolute; inset: 8px; pointer-events: none; z-index: 2;
  background:
    linear-gradient(var(--white), var(--white)) top left / 14px 1px,
    linear-gradient(var(--white), var(--white)) top left / 1px 14px,
    linear-gradient(var(--white), var(--white)) top right / 14px 1px,
    linear-gradient(var(--white), var(--white)) top right / 1px 14px,
    linear-gradient(var(--white), var(--white)) bottom left / 14px 1px,
    linear-gradient(var(--white), var(--white)) bottom left / 1px 14px,
    linear-gradient(var(--white), var(--white)) bottom right / 14px 1px,
    linear-gradient(var(--white), var(--white)) bottom right / 1px 14px;
  background-repeat: no-repeat;
  opacity: 0.65;
}

/* Lista de vantagens */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (max-width: 760px) { .adv-grid { grid-template-columns: 1fr; } }
.adv-item { background: var(--ink); padding: 1.5rem 1.6rem; display: flex; gap: 1.1rem; align-items: flex-start; transition: background 0.3s; }
.adv-item:hover { background: var(--carbon); }
.adv-item .n { font-family: var(--f-mono); font-size: 0.66rem; color: var(--red); letter-spacing: 0.1em; padding-top: 0.3rem; flex: none; }
.adv-item p { color: var(--silver); font-size: 0.98rem; line-height: 1.5; }

/* Chips de aplicação */
.apply-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.apply-row .chip { padding: 0.7rem 1.05rem; font-size: 0.68rem; }

/* ---------- Seção datasheet (clara) ---------- */
.sheet { background: var(--paper); color: var(--ink); position: relative; }
.sheet .kicker { color: var(--red-deep); }
.sheet .kicker .idx { color: rgba(10, 10, 11, 0.45); }
.sheet .display { color: var(--ink); }
.sheet .outline { -webkit-text-stroke-color: rgba(10, 10, 11, 0.4); }
.sheet .lead, .sheet p { color: rgba(10, 10, 11, 0.78); }
.sheet .muted { color: rgba(10, 10, 11, 0.55); }
.sheet::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: repeating-linear-gradient(90deg, var(--red) 0 26px, var(--ink) 26px 52px);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--ink-line); background: var(--white); }
.table-wrap + .table-wrap, .table-wrap + h4, h4 + .table-wrap { margin-top: 2rem; }
table.spec { width: 100%; border-collapse: collapse; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.02em; min-width: 640px; }
table.spec caption {
  text-align: left; padding: 0.9rem 1rem;
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem;
  color: var(--ink); background: var(--paper-2);
  border-bottom: 1px solid var(--ink-line);
}
table.spec th {
  background: var(--ink); color: var(--paper);
  font-weight: 400; font-size: 0.66rem; letter-spacing: 0.12em;
  padding: 0.7rem 0.9rem; text-align: left; white-space: nowrap;
}
table.spec td { padding: 0.62rem 0.9rem; border-bottom: 1px solid var(--ink-line); color: rgba(10, 10, 11, 0.85); white-space: nowrap; }
table.spec tbody tr:hover td { background: rgba(225, 89, 42, 0.07); }
table.spec td:first-child { font-weight: 700; color: var(--red-deep); }

/* Tipos / modelos */
.types-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); }
.type-card { background: var(--white); padding: 1.7rem; }
.type-card .mono { color: var(--red-deep); }
.type-card h4 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--ink); margin: 0.6rem 0 0.8rem; }
.type-card p { font-size: 0.92rem; color: rgba(10, 10, 11, 0.7); line-height: 1.55; }
.type-card figure { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 1rem; background: var(--paper); }
.type-card figure img { max-height: 85%; max-width: 85%; object-fit: contain; }

/* Tipos escuros (quando em fundo escuro) */
.types-grid--dark { background: var(--line-soft); border-color: var(--line-soft); }
.types-grid--dark .type-card { background: var(--carbon); }
.types-grid--dark .type-card h4 { color: var(--white); }
.types-grid--dark .type-card p { color: var(--gray); }
.types-grid--dark .type-card .mono { color: var(--red); }
.types-grid--dark .type-card figure { background: var(--steel); }

/* ---------- Pentágono da explosão ---------- */
.penta-wrap { position: relative; display: grid; place-items: center; }
.penta-svg { width: min(100%, 520px); height: auto; }
.penta-svg .ring { fill: none; stroke: var(--line); }
.penta-svg .edge { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; }
.penta-svg .core { fill: var(--red); }
.penta-svg text { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; fill: var(--silver); }
.penta-svg .vert { fill: var(--ink); stroke: var(--gray); stroke-width: 1; transition: stroke 0.3s, fill 0.3s; }
.penta-svg g.v:hover .vert { stroke: var(--red); fill: var(--red); }
.penta-svg g.v:hover text { fill: var(--white); }

.penta-legend { display: grid; gap: 0; border: 1px solid var(--line-soft); }
.penta-legend li { display: flex; gap: 1.2rem; align-items: baseline; padding: 1.05rem 1.3rem; border-bottom: 1px solid var(--line-soft); transition: background 0.3s; }
.penta-legend li:last-child { border-bottom: 0; }
.penta-legend li:hover { background: var(--carbon); }
.penta-legend .n { font-family: var(--f-mono); font-size: 0.66rem; color: var(--red); flex: none; }
.penta-legend b { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: 1.12rem; letter-spacing: 0.04em; color: var(--white); min-width: 9.5ch; }
.penta-legend span { color: var(--gray); font-size: 0.9rem; }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
@media (max-width: 860px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--ink); padding: 2.2rem 1.8rem; }
.stat .num {
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; color: var(--white);
}
.stat .num sup { font-size: 0.45em; color: var(--red); }
.stat .lbl { margin-top: 0.5rem; }

/* ---------- Ciclo (timeline horizontal) ---------- */
.cycle { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-soft); }
@media (max-width: 980px) { .cycle { grid-template-columns: 1fr; } }
.cycle li { padding: 1.8rem 1.5rem 2.2rem; border-right: 1px solid var(--line-soft); position: relative; transition: background 0.3s; }
.cycle li:last-child { border-right: 0; }
@media (max-width: 980px) { .cycle li { border-right: 0; border-bottom: 1px solid var(--line-soft); } .cycle li:last-child { border-bottom: 0; } }
.cycle li:hover { background: var(--carbon); }
.cycle .n { font-family: var(--f-mono); font-size: 0.64rem; color: var(--red); letter-spacing: 0.14em; }
.cycle h4 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; color: var(--white); margin: 0.9rem 0 0.5rem; }
.cycle p { font-size: 0.88rem; color: var(--gray); }

/* ---------- CTA banda ---------- */
.cta-band { position: relative; overflow: clip; border-block: 1px solid var(--line); }
.cta-band .inner { padding-block: var(--sp-section); display: grid; gap: 2.2rem; justify-items: start; position: relative; z-index: 1; }
.cta-band h2 { max-width: 14ch; }
.cta-band .ghost-word {
  position: absolute; right: -2%; bottom: -6%; z-index: 0;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(8rem, 22vw, 22rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--ink); padding: 2.1rem 1.9rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 210px; transition: background 0.3s; position: relative; }
.contact-card:hover { background: var(--carbon); }
.contact-card .val { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.8rem); text-transform: uppercase; color: var(--white); line-height: 1.1; overflow-wrap: anywhere; }
.contact-card .go { margin-top: auto; color: var(--red); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; }
.contact-card a.cover { position: absolute; inset: 0; }
.map-frame { border: 1px solid var(--line); filter: grayscale(1) contrast(1.08) brightness(0.92); aspect-ratio: 16 / 7; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .map-frame { aspect-ratio: 4 / 3; } }

/* Formulário */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.55rem; }
.field label { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gray); }
.field input, .field textarea, .field select {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--white); font-family: var(--f-body); font-size: 1rem;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.3s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--carbon); position: relative; overflow: clip; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem var(--gutter); padding-block: 4.5rem 3.5rem; position: relative; z-index: 1; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 { font-family: var(--f-mono); font-size: 0.64rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 1.3rem; }
.site-footer ul { display: grid; gap: 0.65rem; }
.site-footer ul a { color: var(--silver); font-size: 0.92rem; transition: color 0.25s; }
.site-footer ul a:hover { color: var(--red); }
.footer-brand img { height: 16px; margin-bottom: 1.4rem; }
.footer-brand p { color: var(--gray); font-size: 0.92rem; max-width: 34ch; }
.footer-rsbp { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line-soft); width: fit-content; }
.footer-rsbp img { height: 34px; width: auto; background: var(--white); padding: 4px 8px; }
.footer-rsbp span { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); max-width: 18ch; }
.footer-contact li { color: var(--silver); font-size: 0.92rem; display: grid; gap: 0.15rem; margin-bottom: 1rem; }
.footer-contact .mono { color: var(--gray); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.4rem 5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.footer-bottom small { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); }
.footer-ghost {
  position: absolute; inset-inline: 0; bottom: -0.14em; z-index: 0;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(6rem, 19vw, 19rem); line-height: 0.8; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ---------- Cursor custom ---------- */
#cursor { display: none; }
@media (pointer: fine) {
  #cursor {
    display: block;
    position: fixed; z-index: 3000; pointer-events: none;
    width: 34px; height: 34px;
    left: 0; top: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
  }
  #cursor::before, #cursor::after { content: ""; position: absolute; background: var(--red); transition: transform 0.25s var(--ease-out); }
  #cursor::before { left: 50%; top: 0; width: 1px; height: 100%; }
  #cursor::after { top: 50%; left: 0; height: 1px; width: 100%; }
  #cursor .dot { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; background: var(--red); transform: translate(-50%, -50%); }
  body.cursor-hover #cursor::before { transform: rotate(45deg); }
  body.cursor-hover #cursor::after { transform: rotate(45deg); }
}

/* ---------- Página de listagem (produtos/serviços) ---------- */
.list-rows { border-top: 1px solid var(--line); }
.list-row {
  display: grid; grid-template-columns: 90px 1.1fr 1.6fr auto; gap: 2rem; align-items: center;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.35s, padding 0.35s;
}
.list-row:hover { background: var(--carbon); padding-inline: 1.4rem; }
.list-row .idx { font-family: var(--f-mono); font-size: 0.7rem; color: var(--gray); }
.list-row h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 0.95; color: var(--white); transition: color 0.3s; }
.list-row:hover h3 { color: var(--red); }
.list-row p { color: var(--gray); font-size: 0.95rem; max-width: 52ch; }
.list-row .arr { font-size: 1.5rem; color: var(--red); transition: transform 0.35s var(--ease-out); }
.list-row:hover .arr { transform: translate(6px, -6px); }
.list-row a.cover { position: absolute; inset: 0; }
@media (max-width: 880px) { .list-row { grid-template-columns: 48px 1fr auto; } .list-row p { display: none; } }

/* Related */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (max-width: 880px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--ink); padding: 1.7rem; position: relative; transition: background 0.3s; }
.related-card:hover { background: var(--carbon); }
.related-card .mono { color: var(--gray); }
.related-card h4 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; color: var(--white); margin-top: 0.7rem; }
.related-card .arr { position: absolute; right: 1.4rem; top: 1.4rem; color: var(--red); }
.related-card a.cover { position: absolute; inset: 0; }

/* ---------- Reveal helpers (estado inicial via JS) ---------- */
.will-reveal { will-change: transform, opacity; }

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 5000;
  background: var(--red); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.8rem 1.2rem;
  transition: top 0.3s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Detalhes finais ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem; margin-bottom: var(--sp-block); }
.section-head .right { display: grid; gap: 1rem; justify-items: end; }
hr.rule { border: 0; height: 1px; background: var(--line); margin-block: var(--sp-block); }
.note { font-size: 0.85rem; color: var(--gray); border-left: 2px solid var(--red); padding-left: 1rem; }
.sheet .note { color: rgba(10,10,11,0.6); }
.dl-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
