/* =========================================================
   Merco Metal | Homepage
   Linguagem dos posts aprovados da marca, em versão institucional:
   azul-marinho quase preto, cortes diagonais azuis, destaque em azul sólido,
   fotografia com tratamento azul único.
   Títulos: Red Hat Display (sem caixa alta). Texto: Montserrat.
   Cantos: retos; chanfro só em botões e molduras de mídia.
   ========================================================= */

:root {
  color-scheme: dark;

  --bg: #050a12;
  --bg-2: #08111e;
  --panel: #0b1626;
  --line: rgba(255, 255, 255, 0.09);
  --line-blue: rgba(46, 150, 240, 0.28);

  --text: #f2f5f9;
  --muted: #a7b4c4;
  --dim: #8392a5;

  --blue: #1e8fe6;            /* azul do logo */
  --blue-text: #43a8f2;       /* destaque em texto sobre fundo escuro */
  --blue-deep: #0a5fd1;
  --grad-blue: linear-gradient(100deg, #0a62d6 0%, #1e9bf0 60%, #38caff 100%);
  --grad-btn: linear-gradient(100deg, #0a5ccc 0%, #1683e6 100%);
  --grad-btn-hover: linear-gradient(100deg, #0d6be0 0%, #1e95ee 100%);

  --font-display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 10vw, 140px);
  --header-h: 80px;
  --cut: 14px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); scrollbar-color: #1f3552 var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(30, 143, 230, 0.45); color: #fff; }
img, video, canvas { display: block; max-width: 100%; }
figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; }
.lucide { width: 1.15em; height: 1.15em; stroke-width: 1.75; flex: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--grad-btn); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: 0.06em;
}
.h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.3rem); max-width: 20ch; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; color: var(--blue-text);
  padding-block: 10px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { gap: 15px; color: #fff; }

/* ---------- Botões (chanfrados, como os cortes dos posts) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform .2s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--grad-btn); color: #fff; text-shadow: 0 1px 1px rgba(3, 20, 45, 0.35); }
.btn--primary:hover { background: var(--grad-btn-hover); }
/* Botão contornado: a borda acompanha o chanfro (camada externa = borda, ::before = miolo 1px menor) */
.btn--ghost { position: relative; isolation: isolate; color: var(--text); background: var(--grad-blue); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: #071322;
  clip-path: polygon(0 0, calc(100% - var(--cut) + 0.59px) 0, 100% calc(var(--cut) - 0.59px), 100% 100%, calc(var(--cut) - 0.59px) 100%, 0 calc(100% - var(--cut) + 0.59px));
  transition: background-color .3s var(--ease);
}
.btn--ghost:hover::before { background: #0c1d33; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.72rem; --cut: 10px; }
.btn--lg { min-height: 58px; padding: 0 32px; }

/* ---------- Cortes diagonais (assinatura dos posts) ---------- */
/* Conjunto de faixas a 45° (mesmo ângulo dos chanfros):
   faixa principal com reflexo no topo + faixa fina paralela + sombra azul */
.slash {
  --k: 64px;                       /* deslocamento horizontal = altura -> 45° */
  position: absolute; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 14px 28px rgba(10, 98, 214, 0.35));
}
.slash::before, .slash::after { content: ""; position: absolute; }
.slash::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) 100%),
    linear-gradient(100deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0.14) 80%, rgba(255, 255, 255, 0) 100%),
    var(--grad-blue);
  clip-path: polygon(var(--k) 0, 100% 0, calc(100% - var(--k)) 100%, 0 100%);
}
.slash::after {
  --t: 7px;
  top: calc(100% + 9px); left: calc(var(--k) * 0.35); width: 58%; height: var(--t);
  background: linear-gradient(100deg, #1e9bf0 0%, #6fd6ff 100%);
  clip-path: polygon(var(--t) 0, 100% 0, calc(100% - var(--t)) 100%, 0 100%);
  opacity: .9;
}
.slash--up::after { top: auto; bottom: calc(100% + 9px); left: auto; right: calc(var(--k) * 0.35); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__list a:not(.btn) {
  position: relative; display: block; padding-block: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: #c9d4e0; white-space: nowrap; transition: color .25s var(--ease);
}
.nav__list a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__list a:not(.btn):hover { color: #fff; }
.nav__list a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; font-size: 1.5rem; margin-left: auto; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 64px;
  background:
    radial-gradient(52% 68% at 74% 50%, rgba(14, 82, 170, 0.5) 0%, rgba(5, 10, 18, 0) 70%),
    var(--bg);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  opacity: .2; filter: grayscale(1) sepia(1) hue-rotate(178deg) saturate(2.4) brightness(.9);
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.9) 0%, rgba(5, 10, 18, 0.55) 45%, rgba(5, 10, 18, 0.15) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 10, 18, 0) 28%);
}
.hero__sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 100px; pointer-events: none; }
.slash--hero-tl { --k: 44px; top: var(--header-h); left: -60px; width: 420px; height: 44px; }
.slash--box-top, .slash--box-bottom, .spec { display: none; }
.slash--hero-br { --k: 110px; bottom: -30px; right: -90px; width: 420px; height: 110px; }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 24px; align-items: center; }
.hero__content { position: relative; z-index: 1; }
.hero__title { font-size: clamp(2.5rem, 1.2rem + 3.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.hero__title em { display: block; max-width: 20ch; }
.hero__lead { margin-top: 28px; max-width: 54ch; font-size: clamp(1rem, .95rem + .25vw, 1.15rem); color: #c3cfdc; }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; height: min(78vh, 740px); min-height: 480px; }
.bolt3d {
  position: absolute; inset: -80px -100px -60px -300px; pointer-events: none;
  background: url("../assets/img/produto-sextavado.jpg") center / cover no-repeat;  /* sem WebGL */
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}
.bolt3d.is-ready { background: none; -webkit-mask-image: none; mask-image: none; }
.bolt3d__canvas { width: 100% !important; height: 100% !important; }

/* entrada do hero: o único momento coreografado da página */
.hero__in { opacity: 0; transform: translateY(24px); animation: heroIn 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 120ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* =========================================================
   CREDENCIAIS
   ========================================================= */
.trust { background: var(--bg-2); border-block: 1px solid var(--line); }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
.trust__item { display: flex; align-items: center; gap: 16px; padding-inline: 28px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; padding-left: 0; }
.trust__item:last-child { padding-right: 0; }
.trust__item > .lucide { width: 30px; height: 30px; stroke-width: 1.5; color: var(--blue-text); }
.trust__item > div { display: grid; gap: 2px; }
.trust__item strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; line-height: 1.2; }
.trust__item span { font-size: 0.82rem; color: var(--muted); }

/* =========================================================
   QUEM SOMOS
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__body { margin-top: 28px; display: grid; gap: 16px; color: var(--muted); max-width: 54ch; }
.about__text .link-arrow { margin-top: 24px; }
.about__media { position: relative; }
.slash--frame { --k: 52px; top: -22px; left: -26px; width: 210px; height: 52px; z-index: 2; }
.frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.2;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
}
.frame video { width: 100%; height: 100%; object-fit: cover; }
.frame__toggle {
  position: absolute; right: 20px; bottom: 20px; z-index: 2;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(5,10,18,.5);
}
.frame__toggle .ic-play { display: none; }
.frame__toggle[aria-pressed="true"] .ic-pause { display: none; }
.frame__toggle[aria-pressed="true"] .ic-play { display: block; }
.about__media figcaption, .quality__media figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--dim); }

/* =========================================================
   COMO TRABALHAMOS: o momento tipográfico principal
   ========================================================= */
.process {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(10, 95, 209, 0.22) 0%, rgba(5, 10, 18, 0) 60%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}
.process__title { font-size: clamp(2.4rem, 1.2rem + 4vw, 5.2rem); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.process__kicker { margin-top: 24px; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--muted); }

.steps { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Card chanfrado com borda em gradiente: a camada externa é a borda, ::before é o painel 1px menor */
.step {
  --c: 28px;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 26px 32px;
  background: linear-gradient(160deg, rgba(56, 202, 255, 0.7) 0%, rgba(30, 143, 230, 0.35) 35%, rgba(255, 255, 255, 0.08) 75%);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, 0 100%);
  transition: transform .5s var(--ease);
}
.step::before {
  content: ""; position: absolute; inset: 1px; z-index: -1;
  background: linear-gradient(180deg, #0d1b2e 0%, #0a1524 100%);
  clip-path: polygon(0 0, calc(100% - var(--c) + 0.59px) 0, 100% calc(var(--c) - 0.59px), 100% 100%, 0 100%);
  transition: background .4s var(--ease);
}
.step:hover { transform: translateY(-4px); }
.step:hover::before { background: linear-gradient(180deg, #102340 0%, #0b182a 100%); }

.step__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
.step__tile { display: inline-flex; color: var(--blue-text); }
.step__tile .lucide { width: 38px; height: 38px; stroke-width: 1.5; transition: transform .5s var(--ease), color .4s var(--ease); }
.step:hover .step__tile .lucide { transform: translateY(-2px); color: #7fd0ff; }
.step__n {
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.07); font-variant-numeric: tabular-nums;
  transition: color .4s var(--ease);
}
.step:hover .step__n { color: rgba(67, 168, 242, 0.35); }
.step h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* =========================================================
   PRODUTOS
   ========================================================= */
.products__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard--lead { grid-column: span 2; grid-row: span 2; }
.pcard--wide { grid-column: span 4; }
.pcard a { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--panel); border: 1px solid var(--line); transition: border-color .4s var(--ease); }
.pcard a:hover { border-color: var(--line-blue); }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard a:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { display: grid; gap: 6px; padding: 20px 22px 24px; }
.pcard__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.2; }
.pcard__desc { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.pcard--lead .pcard__img { aspect-ratio: auto; flex: 1; min-height: 0; }
.pcard--lead .pcard__body { padding: 28px 30px 32px; }
.pcard--lead .pcard__name { font-size: 1.7rem; }
.pcard--lead .pcard__desc { font-size: 0.95rem; max-width: 52ch; }
.pcard--wide a { flex-direction: row; align-items: center; }
.pcard--wide .pcard__img { width: 34%; flex: none; aspect-ratio: 16 / 9; }
.pcard--wide .pcard__body { padding: 28px 36px; }
.pcard--wide .pcard__name { font-size: 1.45rem; }
.pcard--wide .pcard__desc { font-size: 0.95rem; max-width: 64ch; }

/* =========================================================
   SEGMENTOS
   ========================================================= */
.segments { background: var(--bg-2); border-block: 1px solid var(--line); }
.segments__title { max-width: 24ch; margin-bottom: clamp(40px, 5vw, 56px); }
.seg-index { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.seg-list { border-top: 1px solid var(--line); }
.seg-list li { border-bottom: 1px solid var(--line); }
.seg-item {
  position: relative; width: 100%; text-align: left;
  display: grid; gap: 0; padding: 22px 0 22px 28px;
  transition: padding .5s var(--ease);
}
.seg-item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 2px;
  background: var(--line-blue); transform: translateY(-50%); transition: width .5s var(--ease), background-color .3s var(--ease);
}
.seg-item__name {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); color: #66778c;
  transition: color .3s var(--ease);
}
.seg-item__desc {
  max-height: 0; overflow: hidden; opacity: 0;
  color: var(--muted); font-size: 0.95rem; max-width: 44ch;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
}
.seg-item:hover .seg-item__name { color: #c9d4e0; }
.seg-item.is-active .seg-item__name { color: #fff; }
.seg-item.is-active::before { width: 18px; background: var(--grad-blue); }
.seg-item.is-active .seg-item__desc { max-height: 80px; opacity: 1; margin-top: 8px; }

.seg-stage { position: relative; aspect-ratio: 4 / 4.4; }
.slash--stage { --k: 52px; top: -22px; left: -26px; width: 210px; height: 52px; z-index: 2; }
.seg-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
  opacity: 0; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.seg-stage img.is-active { opacity: 1; transform: none; }

/* =========================================================
   QUALIDADE
   ========================================================= */
.quality__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.quality__media img {
  width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 36%;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.quality__lead { margin-top: 24px; color: var(--muted); max-width: 54ch; }
.certs { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.cert { position: relative; padding-top: 18px; }
.cert::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad-blue); }
.cert dt { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; }
.cert dd { margin-top: 2px; font-size: 0.9rem; color: var(--muted); }
.norms { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.norms p { font-size: 0.85rem; color: var(--dim); margin-bottom: 12px; }
.norms ul { display: flex; flex-wrap: wrap; gap: 8px; }
.norms li { font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; padding: 7px 12px; border: 1px solid var(--line); color: #d0dae5; }

/* =========================================================
   CTA / CONTATO
   ========================================================= */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: var(--section);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(10, 95, 209, 0.24) 0%, rgba(8, 17, 30, 0) 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
}
.slash--cta-tr { --k: 100px; top: 0; right: -80px; width: 440px; height: 100px; }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: end; padding-bottom: var(--section); }
.cta__title { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; max-width: 16ch; }
.cta__title em { display: block; }
.cta__lead { margin-top: 24px; color: var(--muted); max-width: 48ch; font-size: 1.05rem; }
.cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact-list > div { padding-block: 16px; border-top: 1px solid var(--line); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.78rem; color: var(--dim); margin-bottom: 2px; }
.contact-list dd { font-size: 1rem; line-height: 1.5; }
.contact-list a { transition: color .25s var(--ease); }
.contact-list a:hover { color: var(--blue-text); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer__brand img { height: 84px; width: auto; }
.footer__brand p { margin-top: 18px; font-size: 0.9rem; color: var(--muted); max-width: 28ch; }
.footer__col h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 4px; }
.footer__col a { display: inline-block; padding-block: 6px; color: var(--muted); font-size: 0.92rem; transition: color .25s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.8rem; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 6px; padding-block: 10px; color: var(--muted); }
.footer__bottom a:hover { color: #fff; }

/* =========================================================
   PÁGINA EM BREVE
   ========================================================= */
.soon {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100dvh; display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px;
  background:
    radial-gradient(50% 70% at 75% 50%, rgba(14, 82, 170, 0.45) 0%, rgba(5, 10, 18, 0) 70%),
    var(--bg);
}
.soon__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; }
.soon__title { font-size: clamp(2.6rem, 1.4rem + 3.8vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; }
.soon__title em { display: block; }
.soon__lead { margin-top: 24px; color: var(--muted); max-width: 46ch; font-size: 1.05rem; }
.soon__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.soon .bolt3d { position: relative; inset: auto; height: min(70vh, 620px); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1200px) {
  .nav__list { gap: 22px; }
  .site-header__cta { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .brand img { height: 42px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; overflow-y: auto;
    background: rgba(5, 10, 18, 0.72);
    backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav__list a:not(.btn) { padding: 18px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: block; margin-top: 22px; }
  .nav__cta-mobile .btn { display: flex; width: 100%; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 460px; min-height: 0; }
  .bolt3d { inset: -20px 0; }

  .trust__row { grid-template-columns: 1fr 1fr; gap: 0; padding-block: 8px; }
  .trust__item { padding: 18px 0 18px 24px; border-top: 1px solid var(--line); }
  .trust__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust__item:nth-child(-n+2) { border-top: 0; }

  .about__grid, .quality__grid, .cta__grid, .soon__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .frame { aspect-ratio: 16 / 11; }

  .steps { grid-template-columns: 1fr 1fr; gap: 16px; }

  .pgrid { grid-template-columns: 1fr 1fr; }
  .pcard--lead { grid-row: span 1; }
  .pcard--lead .pcard__img { aspect-ratio: 16 / 9; flex: none; }
  .pcard--wide { grid-column: span 2; }

  .seg-index { grid-template-columns: 1fr; }
  .seg-stage { order: -1; aspect-ratio: 16 / 9; }

  .quality__media { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 767px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }

  .slash--hero-tl { display: none; }
  .slash--hero-br { --k: 64px; width: 240px; height: 64px; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { order: -1; height: 250px; margin: -8px 0 4px; }
  .hero .bolt3d { inset: -30px -20px; z-index: 1; }
  /* parafuso dentro de um box chanfrado, com o conjunto de faixas nas bordas */
  .slash--hero-br { display: none; }
  .hero__visual { margin: 8px 0 22px; height: 270px; }
  .hero__visual::before, .hero__visual::after {
    content: ""; position: absolute; pointer-events: none;
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
  }
  .hero__visual::before { inset: 0; background: linear-gradient(160deg, rgba(56, 202, 255, 0.55), rgba(30, 143, 230, 0.2) 45%, rgba(255, 255, 255, 0.08)); }
  .hero__visual::after {
    inset: 1px;
    clip-path: polygon(0 0, calc(100% - 25.6px) 0, 100% 25.6px, 100% 100%, 25.6px 100%, 0 calc(100% - 25.6px));
    background: rgba(7, 16, 28, 0.45);
  }
  .hero .bolt3d { inset: -46px -24px -46px 26%; z-index: 1; }

  /* anotações técnicas dentro do box (estilo desenho técnico) */
  .spec { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; font-variant-numeric: tabular-nums; }
  .spec::before {                                          /* grade de prancheta, só dentro do box */
    content: ""; position: absolute; inset: 1px;
    background-image: linear-gradient(rgba(67, 168, 242, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(67, 168, 242, 0.08) 1px, transparent 1px);
    background-size: 18px 18px;
    clip-path: polygon(0 0, calc(100% - 25.6px) 0, 100% 25.6px, 100% 100%, 25.6px 100%, 0 calc(100% - 25.6px));
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.25) 55%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  }
  .spec__block { position: absolute; left: 18px; top: 34px; display: grid; gap: 3px; }
  .spec__block strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
  .spec__block span { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: #8fb6d8; }
  .spec__ref { position: absolute; left: 18px; bottom: 16px; font-size: 0.62rem; letter-spacing: 0.14em; color: rgba(143, 182, 216, 0.6); }

  /* cotas: linha fina com batentes nas pontas e valor no meio */
  .spec__dim { position: absolute; border-color: rgba(103, 196, 255, 0.75); }
  .spec__dim span {
    position: absolute; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; color: #bfe3ff;
    background: #0a1524; padding: 2px 5px; white-space: nowrap;
  }
  .spec__dim--v { left: 41%; top: 30px; bottom: 30px; border-left: 1px solid; }
  .spec__dim--v::before, .spec__dim--v::after { content: ""; position: absolute; left: -6px; width: 11px; border-top: 1px solid rgba(103, 196, 255, 0.75); }
  .spec__dim--v::before { top: 0; } .spec__dim--v::after { bottom: 0; }
  .spec__dim--v span { top: 50%; left: 0; transform: translate(-50%, -50%); }
  .spec__dim--h { left: 18px; width: 70px; bottom: 54px; border-top: 1px solid; }
  .spec__dim--h::before, .spec__dim--h::after { content: ""; position: absolute; top: -6px; height: 11px; border-left: 1px solid rgba(103, 196, 255, 0.75); }
  .spec__dim--h::before { left: 0; } .spec__dim--h::after { right: 0; }
  .spec__dim--h span { left: 50%; top: 0; transform: translate(-50%, -50%); }
  .slash--box-top, .slash--box-bottom { display: block; z-index: 2; --k: 16px; height: 16px; width: 96px; filter: drop-shadow(0 8px 16px rgba(10, 98, 214, 0.3)); }
  .slash--box-top { top: -8px; left: -10px; }
  .slash--box-top::after { --t: 3px; top: calc(100% + 5px); left: 6px; width: 55%; }
  .slash--box-bottom { bottom: -8px; right: -10px; }
  .slash--box-bottom::after { --t: 3px; bottom: calc(100% + 5px); right: 14px; width: 55%; }
  .hero__title { font-size: clamp(1.7rem, 0.6rem + 5.6vw, 2.3rem); letter-spacing: -0.035em; max-width: none; }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 28px; }

  .trust__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0 16px 16px; }
  .trust__item:nth-child(odd) { padding-left: 0; }
  .trust__item > .lucide { width: 24px; height: 24px; }
  .trust__item strong { font-size: 1.02rem; }
  .trust__item span { font-size: 0.78rem; }
  .hero__bg { opacity: .12; object-position: 60% center; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 10, 18, 0.55) 0%, rgba(5, 10, 18, 0.82) 45%, rgba(5, 10, 18, 0.7) 75%, var(--bg) 100%);
  }
  .slash--cta-tr { --k: 48px; width: 220px; height: 48px; right: -50px; }
  .cta { padding-top: calc(var(--section) + 8px); }

  .slash--frame { --k: 40px; width: 160px; height: 40px; left: -12px; top: -16px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }

  .products__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pgrid { gap: 10px; }
  .pcard__body { padding: 14px 14px 16px; }
  .pcard__name { font-size: 1rem; }
  .pcard__desc { font-size: 0.8rem; }
  .pcard--lead .pcard__body { padding: 20px; }
  .pcard--lead .pcard__name { font-size: 1.35rem; }
  .pcard--wide a { flex-direction: column; align-items: stretch; }
  .pcard--wide .pcard__img { width: 100%; }
  .pcard--wide .pcard__body { padding: 20px; }

  .slash--stage { --k: 40px; width: 160px; height: 40px; left: -12px; top: -16px; }
  .seg-item { padding: 18px 0 18px 24px; }

  .certs { gap: 22px 18px; }
  .cert dt { font-size: 1.15rem; }
  .cert dd { font-size: 0.82rem; }

  .cta__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }

  .soon .bolt3d { height: 340px; }
  .soon__actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
@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; }
  .hero__in { opacity: 1; transform: none; }
  .hero__bg { display: none; }
}
