/* IVAN International Trade — ivanbr.com.br
   Paleta tirada da própria placa: máscara de solda verde, pads dourados (ENIG),
   serigrafia branca e as cores usadas para marcar brocas reafiadas. */

@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mask: #0E3D30;          /* máscara de solda */
  --mask-deep: #092B21;
  --mask-raised: #134837;
  --mask-line: rgba(242, 245, 241, 0.16);
  --gold: #D9AE3F;          /* pad ENIG */
  --gold-hover: #E7C25E;
  --gold-text: #8C6A12;     /* dourado legível sobre fundo claro */
  --silk: #F2F5F1;          /* serigrafia */
  --paper: #FFFFFF;
  --ink: #13201A;
  --muted: #4D5D55;
  --rule: #CFD8D2;
  --on-dark-muted: rgba(242, 245, 241, 0.74);
  --mark-red: #E0483A;
  --mark-yellow: #F2C230;
  --mark-blue: #3A7BE0;
  --mark-green: #3DB06A;

  --font: "Archivo Variable", "Archivo", system-ui, -apple-system, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 68px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0;
  font-weight: 720;
  font-stretch: 114%;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--mask); outline-offset: 3px; border-radius: 2px; }
.site-header :focus-visible,
.hero :focus-visible,
.history :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; border-radius: 4px;
  background: var(--gold); color: var(--ink); font-weight: 650; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 4px;
  font: inherit; font-weight: 650; font-stretch: 106%; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-ghost { border-color: rgba(242, 245, 241, 0.45); color: var(--silk); }
.btn-ghost:hover { border-color: var(--silk); background: rgba(242, 245, 241, 0.06); }
.btn-ink { background: var(--mask); color: var(--silk); }
.btn-ink:hover { background: var(--mask-raised); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 0.9375rem; }

/* ---------------------------------------------------------------- cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--mask); color: var(--silk);
  border-bottom: 1px solid var(--mask-line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--silk); }
.via { width: 26px; height: 26px; color: var(--gold); flex: none; }
.brand-name { font-size: 1.375rem; font-weight: 800; font-stretch: 125%; letter-spacing: 0.02em; line-height: 1; }
.brand-sub {
  font-size: 0.8125rem; line-height: 1.2; color: var(--on-dark-muted);
  padding-left: 10px; border-left: 1px solid var(--mask-line);
}

.nav { margin-left: auto; }
.nav ul, .langs, .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.nav ul { display: flex; gap: 2px; }
.nav a {
  display: block; padding: 8px 10px; border-radius: 4px;
  color: var(--silk); text-decoration: none; font-size: 0.9688rem;
}
.nav a:hover { background: rgba(242, 245, 241, 0.07); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; gap: 2px; }
.langs a {
  display: block; padding: 6px 8px;
  color: var(--on-dark-muted); text-decoration: none; font-size: 0.875rem; font-weight: 600;
}
.langs a:hover { color: var(--silk); }
.langs a[aria-current] { color: var(--silk); box-shadow: inset 0 -2px 0 var(--gold); }

/* seletor de idioma: três pontinhos */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 2px; height: 40px; padding: 0 4px 0 10px;
  border: 1px solid rgba(242, 245, 241, 0.32); border-radius: 4px; color: var(--silk);
}
.lang-code { font-size: 0.875rem; font-weight: 700; font-stretch: 108%; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: rgba(242, 245, 241, 0.08); }
.lang-menu summary .icon { width: 20px; height: 20px; }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  min-width: 200px; padding: 8px;
  background: var(--silk); color: var(--ink);
  border-radius: 6px; box-shadow: 0 14px 36px rgba(9, 43, 33, 0.35);
}
.lang-panel-title { margin: 4px 10px 6px !important; font-size: 0.8125rem; color: var(--muted); }
.lang-panel ul { list-style: none; margin: 0; padding: 0; }
.lang-panel a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 0 10px; border-radius: 4px;
  text-decoration: none; font-weight: 550;
}
.lang-panel a:hover { background: #E1E8E3; }
.lang-panel a[aria-current] { color: var(--mask); font-weight: 700; }
.lang-panel .check { width: 18px; height: 18px; flex: none; }
.site-header .lang-panel :focus-visible { outline-color: var(--mask); outline-offset: -2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.mobile-menu { display: none; }
.mobile-menu summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid rgba(242, 245, 241, 0.32); border-radius: 4px;
  font-weight: 600; font-size: 0.9375rem;
}
.mobile-menu summary .icon { width: 20px; height: 20px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] summary { background: rgba(242, 245, 241, 0.08); }
.mobile-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--mask); border-bottom: 1px solid var(--mask-line);
  padding: 8px var(--gutter) 20px;
}
.mobile-nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--mask-line);
  color: var(--silk); text-decoration: none; font-size: 1.125rem;
}

.mobile-lang-title { margin: 18px 0 8px; font-size: 0.8125rem; color: var(--on-dark-muted); }
.mobile-panel .langs { gap: 8px; flex-wrap: wrap; }
.mobile-panel .langs a {
  padding: 8px 14px; border: 1px solid rgba(242, 245, 241, 0.32); border-radius: 4px;
  color: var(--silk); font-size: 1rem;
}
.mobile-panel .langs a[aria-current] { border-color: var(--gold); box-shadow: none; background: rgba(217, 174, 63, 0.14); }

/* ---------------------------------------------------------------- hero */
.hero {
  background: var(--mask); color: var(--silk);
  padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px);
}
.hero h1 {
  font-size: clamp(2.25rem, 1rem + 4.8vw, 4.625rem);
  font-weight: 760;
  font-stretch: 122%;
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 16.5em;
}
.hero-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 56px; align-items: end;
  margin-top: clamp(24px, 3vw, 40px);
}
.lead { font-size: 1.1875rem; line-height: 1.55; max-width: 54ch; margin: 0; }
.hero .lead, .contact .lead { color: rgba(242, 245, 241, 0.86); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.drill { margin: clamp(56px, 8vw, 104px) 0 0; }
.drill figcaption { font-size: 0.9375rem; color: var(--on-dark-muted); margin: 0 0 8px; max-width: 60ch; }
.drill-svg { display: block; width: 100%; height: auto; overflow: visible; color: var(--gold); }
.drill-svg .axis { stroke: var(--gold); stroke-opacity: 0.5; stroke-width: 1; stroke-dasharray: 18 5 3 5; }
.drill-svg .metal > * { fill: rgba(242, 245, 241, 0.07); stroke: var(--silk); stroke-width: 1.5; stroke-linejoin: round; }
.drill-svg .flutes polygon { fill: rgba(242, 245, 241, 0.32); }
.drill-svg .ring { fill: var(--silk); }
.drill-svg .mark { fill: var(--mark-red); animation: remark 12s step-end infinite; }
.drill-svg .dim line { stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.6; }
.drill-svg .dim .dim-line { stroke-opacity: 1; }
.drill-svg .dim text { fill: var(--gold); font-family: var(--font); font-size: 15px; font-weight: 600; }
.drill-svg .leaders line { stroke: var(--silk); stroke-opacity: 0.4; stroke-width: 1; }
.drill-svg .dots circle { fill: var(--gold); }

/* A cor da marca muda como muda a cada reafiação da broca. */
@keyframes remark {
  0%   { fill: var(--mark-red); }
  25%  { fill: var(--mark-yellow); }
  50%  { fill: var(--mark-blue); }
  75%  { fill: var(--mark-green); }
}

.callouts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}
.callouts li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 14px 0; }
.callouts strong { font-size: 1.0625rem; font-weight: 700; font-stretch: 112%; }
.callouts span { font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-muted); max-width: 24ch; }
.callouts a { color: var(--gold); font-weight: 600; font-size: 0.9375rem; }

/* ---------------------------------------------------------------- seções */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section h2 {
  font-size: clamp(1.875rem, 1.1rem + 2.6vw, 2.875rem);
  font-weight: 740; line-height: 1.08; letter-spacing: -0.01em;
  max-width: 20em; margin-bottom: 16px;
}
.section-head p { font-size: 1.1875rem; line-height: 1.5; color: var(--muted); max-width: 56ch; margin: 0; }

/* segmentos: PCB e PCBA em painéis distintos */
.segments { background: var(--silk); }
.seg-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: stretch; }
.seg {
  background: var(--paper); border-radius: 8px;
  padding: clamp(24px, 3vw, 40px);
  border-top: 5px solid var(--mask);
}
.seg-pcba { border-top-color: var(--gold); }
.seg-code {
  margin: 0 0 14px; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem);
  font-weight: 800; font-stretch: 125%; line-height: 0.9; letter-spacing: -0.01em; color: var(--mask);
}
.seg-pcba .seg-code { color: var(--gold-text); }
.seg h3 { font-size: 1.375rem; line-height: 1.25; margin-bottom: 8px; }
.seg p { color: var(--muted); max-width: 52ch; margin-bottom: 0; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--rule); break-inside: avoid; }
.ticks li::before {
  content: ""; position: absolute; left: 1px; top: 15px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 3.5px solid var(--gold); background: var(--paper);
}
.ticks.two-col { columns: 2; column-gap: 32px; }

/* equipamentos */
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px); align-items: start;
  padding: clamp(40px, 5vw, 72px) 0;
  border-top: 1px solid var(--rule);
}
.product:first-of-type { border-top: 2px solid var(--ink); }
.product-media { position: sticky; top: calc(var(--header-h) + 24px); }
.product-media img { display: block; width: 100%; height: auto; border-radius: 8px; background: #E8EDE9; }
.series { margin: 0 0 6px; font-size: 0.9375rem; font-weight: 650; font-stretch: 108%; color: var(--mask); }
.product h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; }
.product-text { margin: 16px 0 0; max-width: 62ch; }

.highlights {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.highlights div { padding: 14px 16px 14px 0; }
.highlights div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.highlights dt { font-size: 0.8125rem; line-height: 1.35; color: var(--muted); }
.highlights dd {
  margin: 6px 0 0; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.3125rem);
  font-weight: 680; font-stretch: 100%; line-height: 1.25; font-variant-numeric: tabular-nums;
}

.product-meta { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; margin-top: 24px; }
.product-meta h4 { margin: 0 0 10px; font-size: 0.875rem; font-weight: 650; color: var(--muted); }
.models { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.models li {
  padding: 4px 10px; border: 1px solid var(--rule); border-radius: 4px;
  font-size: 0.875rem; font-weight: 600; line-height: 1.4; background: var(--silk);
}
.features { list-style: none; margin: 0; padding: 0; }
.features li { position: relative; padding: 0 0 6px 18px; font-size: 0.9688rem; line-height: 1.45; }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--gold);
}

.specs { margin-top: 20px; border-top: 1px solid var(--rule); }
.specs summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 620;
}
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-size: 1.375rem; line-height: 1; font-weight: 400; }
.specs[open] summary::after { content: "\2212"; }
.specs summary:hover { color: var(--mask); }
.specs table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.specs tr { border-bottom: 1px solid var(--rule); }
.specs tr:nth-child(even) { background: var(--silk); }
.specs th { text-align: left; vertical-align: top; font-weight: 500; color: var(--muted); padding: 9px 16px 9px 8px; width: 46%; }
.specs td { padding: 9px 8px 9px 0; }
.product-actions .btn { margin-top: 24px; }

/* empresa */
.about { background: var(--silk); }
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { font-size: 1.125rem; max-width: 60ch; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 0.9375rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 560; }

/* trajetória: trilha de cobre ligando as vias, sobre a máscara verde */
.history { background: var(--mask); color: var(--silk); }
.history .section-head p { color: var(--on-dark-muted); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline::before {
  content: ""; position: absolute; top: 12.5px; left: 14px; right: calc(25% - 14px);
  height: 3px; background: var(--gold);
}
.timeline li { position: relative; padding-right: 28px; }
.via-dot {
  display: block; position: relative; z-index: 1;
  width: 28px; height: 28px; border-radius: 50%;
  border: 7px solid var(--gold); background: var(--mask);
}
.timeline li:last-child .via-dot { background: var(--silk); }
.timeline .year {
  margin: 20px 0 8px; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  font-weight: 760; font-stretch: 116%; line-height: 1.1; font-variant-numeric: tabular-nums;
}
.timeline .tl-text { margin: 0; max-width: 30ch; color: var(--on-dark-muted); }

/* clientes */
.cust-grid { display: grid; grid-template-columns: 1fr 1fr 2.2fr 1.3fr; gap: 32px; align-items: start; }
.cust-group h3 { font-size: 1.0625rem; font-stretch: 108%; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 10px; }
.cust-group ul { list-style: none; margin: 0; padding: 0; }
.cust-group li { padding: 4px 0; break-inside: avoid; line-height: 1.4; font-size: 0.9688rem; }
.cust-group:nth-child(3) ul { columns: 2; column-gap: 24px; }
.cn { color: var(--muted); font-size: 0.8125rem; margin-left: 4px; white-space: nowrap; }

/* contato */
.contact { background: var(--mask); color: var(--silk); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact h2 { margin-bottom: 20px; }
.contact-list { margin: 36px 0 0; }
.contact-list div { padding: 18px 0; border-top: 1px solid var(--mask-line); }
.contact-list dt { font-size: 0.875rem; color: var(--on-dark-muted); }
.contact-list dd { margin: 6px 0 0; font-size: 1.125rem; }
.contact-list a[href^="tel"] { font-size: 1.625rem; font-weight: 660; font-stretch: 110%; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-list a[href^="tel"]:hover { color: var(--gold); }
.contact address { font-style: normal; line-height: 1.5; }
.map-link { display: inline-block; margin-top: 8px; color: var(--gold); font-weight: 600; font-size: 1rem; }

.wa-form {
  background: var(--mask-raised); border: 1px solid var(--mask-line); border-radius: 8px;
  padding: clamp(24px, 3.2vw, 40px);
}
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--silk);
  border: 1.5px solid transparent; border-radius: 4px;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.wa-form .btn { margin-top: 6px; }
.hint { margin: 12px 0 0; font-size: 0.875rem; color: var(--on-dark-muted); }

/* rodapé */
.site-footer { background: var(--mask-deep); color: var(--on-dark-muted); padding: 48px 0; font-size: 0.9375rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: start; }
.footer-inner p { margin: 0; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--silk); font-weight: 700; font-stretch: 115%; font-size: 1.0625rem; margin-bottom: 12px !important; }
.footer-brand .via { width: 22px; height: 22px; }
.site-footer .langs { margin-bottom: 10px; }
.site-footer .langs a { padding-left: 0; padding-right: 14px; }
.site-footer .small { font-size: 0.8125rem; }
.footer-group { margin-top: 10px !important; max-width: 40ch; }


/* ================================================================ DESIGN V2
   Mesma identidade (máscara verde, pads dourados), acabamento mais corporativo:
   trilhas de placa como textura, fotos em painéis técnicos, cartões e diagramas. */

.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-head { margin-bottom: clamp(40px, 5.5vw, 72px); }
.section-head::before {
  content: ""; display: block; width: 48px; height: 3px; background: var(--gold); margin-bottom: 22px;
}
.section h2 { font-size: clamp(2rem, 1.15rem + 3vw, 3.25rem); line-height: 1.06; }
.section-head p { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }

/* ---------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
  background: radial-gradient(ellipse 80% 70% at 85% 10%, #165845 0%, var(--mask) 60%);
}
.hero::before, .contact::before, .net::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url(../img/pcb-traces.svg) 0 0 / 720px repeat;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
          mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
}
.hero > .wrap, .contact > .wrap, .net > * { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
}
.hero h1 { font-size: clamp(2.25rem, 0.9rem + 3.7vw, 4.125rem); max-width: none; }
.hero .lead { margin-top: clamp(20px, 2.4vw, 28px); max-width: 52ch; }
.hero .ctas { margin-top: clamp(28px, 3vw, 40px); }

.route {
  list-style: none; margin: 0 0 clamp(24px, 3vw, 36px); padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px;
  font-size: 0.875rem; font-weight: 650; font-stretch: 106%; color: var(--on-dark-muted);
}
.route li { display: inline-flex; align-items: center; gap: 8px; }
.route li + li::before {
  content: ""; width: clamp(18px, 3vw, 36px); height: 2px; background: var(--gold); margin: 0 10px 0 6px; opacity: 0.8;
}
.route-via { width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--gold); flex: none; }

.hero-visual { margin: 0; position: relative; padding: 0 0 150px 0; }
.hero-photo {
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(217, 174, 63, 0.35);
  box-shadow: 0 40px 80px rgba(3, 18, 13, 0.45);
}
.hero-photo img { display: block; width: 100%; height: auto; }
.hero-visual figcaption {
  position: absolute; left: -28px; bottom: 0; width: min(320px, 80%);
  display: grid; gap: 2px;
  padding: 16px 20px; border-radius: 8px;
  background: var(--silk); color: var(--ink);
  border-left: 4px solid var(--gold);
  box-shadow: 0 18px 40px rgba(3, 18, 13, 0.35);
}
.hc-label { font-size: 0.8125rem; color: var(--muted); }
.hero-board {
  padding: clamp(20px, 3vw, 36px); border-radius: 12px;
  background: radial-gradient(ellipse at 30% 20%, #18604a 0%, #0b2f25 75%);
  border: 1px solid rgba(217, 174, 63, 0.35);
  box-shadow: 0 40px 80px rgba(3, 18, 13, 0.45);
}
.hero-board .board { display: block; width: 100%; height: auto; }
.hero-visual .hc-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.hc-list li + li { border-top: 1px solid var(--rule); }
.hc-list a { display: grid; gap: 1px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.hc-list a:hover strong, .hc-list a:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.hc-list strong { font-size: 0.9375rem; line-height: 1.3; font-stretch: 106%; color: var(--mask); }
.hc-list span { font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.hc-series { font-size: 0.875rem; font-weight: 650; color: var(--mask); }

.drill { margin-top: clamp(64px, 7vw, 104px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--mask-line); }

/* ---------- segmentos com ilustração */
.seg-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.seg { padding: 0; border-top: 0; overflow: hidden; border-radius: 12px; box-shadow: 0 1px 0 var(--rule), 0 20px 40px rgba(14, 61, 48, 0.06); }
.seg-art {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: clamp(48px, 5vw, 64px) clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
  background: linear-gradient(160deg, #134a3a, #0a3127);
}
.seg-pcba .seg-art { background: linear-gradient(160deg, #0f3a2e, #07241c); }
.seg-art .board { width: 100%; max-width: 380px; height: auto; display: block; }
.seg-code {
  position: absolute; top: 18px; left: clamp(20px, 2.6vw, 32px); margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); color: var(--gold) !important;
}
.seg-pcba .seg-code { color: var(--gold) !important; }
.seg-body { padding: clamp(24px, 3vw, 40px); }
.seg-body h3 { font-size: 1.5rem; }
.ticks li::before { background: var(--paper); }

.board .b-sub { fill: #10493a; stroke: rgba(217, 174, 63, 0.55); stroke-width: 1.5; }
.board .b-silk { fill: none; stroke: rgba(242, 245, 241, 0.3); stroke-width: 1; stroke-dasharray: 4 4; }
.board .b-trace { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.board .b-via { fill: #10493a; stroke: var(--gold); stroke-width: 3; }
.board .b-hole { fill: #04140f; stroke: rgba(242, 245, 241, 0.45); stroke-width: 2; }
.board .c-ic { fill: #1b2321; stroke: #3d4a46; stroke-width: 1.5; }
.board .c-ic-top { fill: #232d2a; }
.board .c-pin, .board .c-conn-pin { fill: #c9ced0; }
.board .c-res { fill: #d8c9a8; stroke: #8c7b55; stroke-width: 1; }
.board .c-cap { fill: #c9d1cd; stroke: #7f8a85; stroke-width: 1.5; }
.board .c-cap-top { fill: none; stroke: #7f8a85; stroke-width: 1.5; }
.board .c-conn { fill: var(--silk); stroke: #9aa39f; stroke-width: 1; }
.board .c-conn-pin { fill: var(--gold); }

/* ---------- catálogo */
.catalog-index ul {
  list-style: none; margin: 0 0 clamp(48px, 6vw, 88px); padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
}
.catalog-index a {
  display: block; height: 100%; padding: 12px 12px 16px; border-radius: 10px;
  background: var(--silk); border: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.catalog-index a:hover { border-color: var(--gold); transform: translateY(-2px); }
.ci-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--paper); }
.ci-img img { width: 100%; height: 100%; object-fit: contain; }
.ci-code { display: block; margin-top: 14px; font-weight: 800; font-stretch: 120%; color: var(--mask); font-size: 1.0625rem; }
.ci-name { display: block; margin-top: 2px; font-size: 0.875rem; line-height: 1.35; color: var(--muted); }

.product { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); padding: clamp(48px, 6vw, 88px) 0; }
.product--flip .product-visual { order: 2; }
.product-visual {
  position: sticky; top: calc(var(--header-h) + 24px);
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; padding: clamp(28px, 4vw, 56px); overflow: hidden; border-radius: 14px;
  background-color: #EDF1EE;
  background-image:
    linear-gradient(rgba(14, 61, 48, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 61, 48, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.product-visual img {
  position: relative; z-index: 1; display: block;
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 6px; filter: drop-shadow(0 20px 30px rgba(9, 43, 33, 0.18));
}
.pv-code {
  position: absolute; right: 18px; bottom: 4px; z-index: 0;
  font-size: clamp(3.5rem, 2rem + 5vw, 7.5rem); font-weight: 800; font-stretch: 125%; line-height: 0.9;
  color: transparent; -webkit-text-stroke: 1.5px rgba(14, 61, 48, 0.16); white-space: nowrap;
}
.series { color: var(--gold-text); font-size: 0.9375rem; }
.product h3 { font-size: clamp(1.625rem, 1.15rem + 1.4vw, 2.375rem); line-height: 1.1; }
.product-text { font-size: 1.0625rem; color: #2a3a33; }
.highlights dd { font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.625rem); font-weight: 720; color: var(--mask); }

/* ---------- empresa: diagrama de atendimento */
.about { background: var(--silk); }
.net {
  position: relative; overflow: hidden; margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(28px, 4vw, 56px); border-radius: 14px;
  background: radial-gradient(ellipse 70% 90% at 90% 0%, #165845, var(--mask) 65%); color: var(--silk);
}
.net::before { opacity: 0.12; }
.net-title { margin: 0 0 clamp(28px, 3vw, 40px); font-size: 0.9375rem; font-weight: 650; color: var(--on-dark-muted); font-stretch: 106%; }
.net-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.net-nodes::before { content: ""; position: absolute; top: 10px; left: 11px; right: calc(25% - 11px); height: 2px; background: var(--gold); }
.net-nodes li { position: relative; padding-right: 24px; }
.net-via { display: block; position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 6px solid var(--gold); background: var(--mask); }
.net-nodes li:nth-child(3) .net-via { background: var(--gold); }
.net-city { margin: 18px 0 8px; font-size: clamp(1.375rem, 1rem + 1.2vw, 2rem); font-weight: 760; font-stretch: 114%; line-height: 1.1; }
.net-entity { margin: 0; font-weight: 600; font-size: 0.9688rem; line-height: 1.4; }
.net-role { margin: 4px 0 0; font-size: 0.875rem; color: var(--on-dark-muted); }

/* ---------- trajetória (agora em fundo claro) */
.history { background: var(--paper); color: var(--ink); }
.history .section-head p { color: var(--muted); }
.history .via-dot { background: var(--paper); }
.history .timeline li:last-child .via-dot { background: var(--gold); }
.history .tl-text { color: var(--muted); }
.history .year { color: var(--mask); }

/* ---------- experiência internacional */
.customers { background: var(--silk); }
.exp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 20px; }
.exp-card {
  background: var(--paper); border-radius: 12px; padding: clamp(22px, 2.4vw, 30px);
  border-top: 4px solid var(--mask); box-shadow: 0 1px 0 var(--rule), 0 16px 32px rgba(14, 61, 48, 0.05);
}
.exp-card:nth-child(3) { grid-column: 1 / -1; border-top-color: var(--gold); }
.exp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.exp-head h3 { font-size: 1.25rem; font-stretch: 110%; }
.exp-count { font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.exp-names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exp-names li {
  padding: 7px 12px; border-radius: 6px; background: var(--silk);
  font-size: 0.9375rem; line-height: 1.3; font-weight: 550;
}
.exp-names .cn { margin-left: 6px; }

/* ---------- contato */
.contact {
  position: relative; overflow: hidden;
  padding: clamp(88px, 10vw, 144px) 0;
  background: radial-gradient(ellipse 80% 80% at 10% 0%, #165845, var(--mask) 60%);
}
.contact::before { -webkit-mask-image: linear-gradient(260deg, transparent 20%, #000 75%); mask-image: linear-gradient(260deg, transparent 20%, #000 75%); }
.contact h2 { font-size: clamp(2.125rem, 1.2rem + 3.2vw, 3.5rem); line-height: 1.05; max-width: 14em; }
.contact-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.btn-large { min-height: 58px; padding: 0 30px; font-size: 1.0625rem; }
.contact-or { color: var(--on-dark-muted); }
.contact-or a { color: var(--silk); font-weight: 680; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-or a:hover { color: var(--gold); }
.contact-list { margin-top: 44px; }
.wa-form {
  background: var(--silk); color: var(--ink); border: 0; border-radius: 14px;
  box-shadow: 0 40px 80px rgba(3, 18, 13, 0.4);
}
.form-title { margin: 0 0 22px; font-size: 1.375rem; }
.wa-form .field input, .wa-form .field select, .wa-form .field textarea { background: var(--paper); border-color: var(--rule); }
.wa-form .hint { color: var(--muted); }
.contact .wa-form :focus-visible { outline-color: var(--mask); }

/* ---------- v2 responsivo */
@media (max-width: 1080px) {
  .catalog-index ul { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .catalog-index li { scroll-snap-align: start; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; padding: 0; }
  .hero-visual figcaption { position: relative; left: auto; bottom: auto; margin: -36px 16px 0; max-width: none; }
  .product, .product--flip { grid-template-columns: 1fr; gap: 28px; }
  .product--flip .product-visual { order: 0; }
  .product-visual { position: relative; top: 0; aspect-ratio: 4 / 3; }
  .seg-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .net-nodes { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .net-nodes::before { display: none; }
}
@media (max-width: 620px) {
  .catalog-index ul { grid-template-columns: repeat(5, 62%); }
  .exp-grid { grid-template-columns: 1fr; }
  .net-nodes { grid-template-columns: 1fr; row-gap: 0; }
  .net-nodes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 18px; padding: 0 0 28px; }
  .net-nodes li:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 11px; bottom: -11px; width: 2px; background: var(--gold); }
  .net-via { grid-row: 1 / span 3; }
  .net-city { margin-top: -2px; }
  .route { font-size: 0.8125rem; }
  .contact-ctas .btn-large { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-index a { transition: none; }
  .catalog-index a:hover { transform: none; }
}

/* ---------- v2 ajustes finos */
.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.highlights dd { font-size: clamp(1.125rem, 0.95rem + 0.55vw, 1.4375rem); }
.ci-img img { object-fit: cover; }
.exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; }
.exp-card:nth-child(3), .exp-card:nth-child(4) { grid-column: 1 / -1; }
.exp-card:nth-child(4) { border-top-color: var(--mask); }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact h2 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.125rem); }
.contact-list { margin-top: 40px; }
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .exp-grid { grid-template-columns: 1fr; }
  .route { flex-wrap: nowrap; font-size: 0.75rem; white-space: nowrap; }
  .route li { gap: 6px; }
  .route li + li::before { width: 14px; margin: 0 6px 0 4px; }
  .route-via { width: 9px; height: 9px; border-width: 2.5px; }
}

/* ---------- ilustração técnica: microbroca com 4 regiões */
.ops { margin-top: clamp(64px, 7vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--mask-line); }
.ops-head { max-width: 46rem; margin-bottom: clamp(24px, 3vw, 40px); }
.ops-head h2 { font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.375rem); line-height: 1.1; color: var(--silk); }
.ops-head p { margin: 12px 0 0; color: var(--on-dark-muted); font-size: 1.0625rem; max-width: 56ch; }

.drill-svg .bracket { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-opacity: 0.85; }
.drill-svg .leader { fill: none; stroke: var(--silk); stroke-opacity: 0.45; stroke-width: 1; }
.drill-svg .tag { fill: var(--mask); stroke: var(--gold); stroke-width: 1.5; }
.drill-svg .tag-num { fill: var(--gold); font-family: var(--font); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.drill-svg .inset-bg { fill: #0a3127; }
.drill-svg .inset-ring { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-opacity: 0.7; }
.drill-svg .inset-src { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.6; stroke-dasharray: 3 3; }
.drill-svg .inset-link { stroke: var(--gold); stroke-width: 1; stroke-opacity: 0.6; stroke-dasharray: 3 3; }
.drill-svg .inset-label { fill: var(--on-dark-muted); font-family: var(--font); font-size: 11px; font-weight: 600; }
.drill-svg .face-rim { fill: rgba(242, 245, 241, 0.07); stroke: var(--silk); stroke-width: 1.5; }
.drill-svg circle.mark { animation: remark 12s step-end infinite; }

.ops-list {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center;
}
.ops-list li { display: flex; flex-direction: column; align-items: center; padding: 0 14px; }
.op-num { font-size: 0.8125rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.op-region { margin: 4px 0 0; font-size: 1.25rem; font-stretch: 112%; color: var(--silk); }
.op-desc { margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-muted); max-width: 24ch; }
.op-machines { margin: auto 0 0; padding-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.op-machines a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1.5px solid var(--gold); border-radius: 4px;
  color: var(--gold); font-weight: 700; font-stretch: 110%; font-size: 0.9375rem; text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.op-machines a:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 760px) {
  .drill-svg .callout-marks .leader, .drill-svg .tag, .drill-svg .tag-num, .drill-svg .inset-label { display: none; }
  .ops-list { grid-template-columns: 1fr 1fr; gap: 24px 16px; text-align: left; margin-top: 20px; }
  .ops-list li { align-items: flex-start; padding: 14px 0 0; border-top: 1px solid var(--mask-line); }
  .op-machines { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .drill-svg circle.mark { animation: none; }
  .op-machines a { transition: none; }
}

/* ---------- quatro operações em painéis separados */
.ops-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.op-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--mask-line); border-radius: 12px; background: rgba(4, 22, 17, 0.35);
}
.op-visual {
  position: relative; aspect-ratio: 8 / 5; color: var(--gold);
  background-color: #0a3127;
  background-image:
    linear-gradient(rgba(242, 245, 241, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 245, 241, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  border-bottom: 1px solid var(--mask-line);
}
.op-art { display: block; width: 100%; height: 100%; }
.op-visual .op-num {
  position: absolute; top: 12px; right: 14px;
  font-size: 0.8125rem; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums;
}
.op-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.op-title { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.op-machine { font-size: 1.375rem; font-weight: 780; font-stretch: 116%; color: var(--silk); line-height: 1.1; }
.op-name { font-size: 1rem; font-weight: 600; color: var(--gold); }
.op-body .op-desc { margin: 10px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-muted); max-width: none; }
.op-links { margin: auto 0 0; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.op-links a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px;
  border: 1.5px solid var(--gold); border-radius: 4px;
  color: var(--gold); font-weight: 700; font-size: 0.875rem; text-decoration: none;
}
.op-links a:hover { background: var(--gold); color: var(--ink); }

.op-art .ax { stroke: var(--gold); stroke-opacity: 0.4; stroke-width: 1; stroke-dasharray: 10 4 2 4; }
.op-art .m { fill: rgba(242, 245, 241, 0.08); stroke: var(--silk); stroke-width: 1.4; stroke-linejoin: round; }
.op-art .fl { fill: rgba(242, 245, 241, 0.3); }
.op-art .wheel { fill: rgba(217, 174, 63, 0.12); stroke: var(--gold); stroke-width: 1.6; }
.op-art .wheel-hub { fill: #0a3127; stroke: var(--gold); stroke-width: 1.4; }
.op-art .motion, .op-art .move { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.op-art .cam { fill: rgba(242, 245, 241, 0.12); stroke: var(--silk); stroke-width: 1.3; }
.op-art .view { fill: none; stroke: var(--gold); stroke-width: 1; stroke-dasharray: 4 3; }
.op-art .lbl { fill: var(--gold); font-family: var(--font); font-size: 13px; font-weight: 700; }
.op-art .tool { fill: rgba(242, 245, 241, 0.12); stroke: var(--silk); stroke-width: 1.3; }
.op-art .bristle { stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.op-art .air { fill: none; stroke: var(--silk); stroke-width: 1.4; stroke-dasharray: 5 4; stroke-linecap: round; }
.op-art .dust { fill: var(--gold); }
.op-art .ring { fill: var(--silk); }
.op-art .ghost { fill: none; stroke: var(--silk); stroke-width: 1.2; stroke-dasharray: 4 3; }
.op-art .dimx { fill: none; stroke: var(--gold); stroke-width: 1; }
.op-art .rim { fill: rgba(242, 245, 241, 0.06); stroke: var(--silk); stroke-width: 1.4; }
.op-art .old { fill: var(--mark-red); fill-opacity: 0.35; stroke: var(--mark-red); stroke-width: 1; stroke-dasharray: 4 3; }
.op-art .wash { stroke: var(--silk); stroke-width: 1.2; stroke-opacity: 0.6; stroke-dasharray: 3 4; }
.op-art .mark { fill: var(--mark-blue); animation: remark 12s step-end infinite; }

@media (max-width: 1080px) { .ops-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ops-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .op-art .mark { animation: none; } }

/* ---------- faixa de contexto: nova → gasta → recuperada */
.cycle {
  list-style: none; margin: 0 0 clamp(28px, 3vw, 40px); padding: clamp(20px, 2.4vw, 28px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border: 1px solid var(--mask-line); border-radius: 12px; background: rgba(4, 22, 17, 0.3);
}
.cycle li { position: relative; padding: 0 clamp(16px, 2.4vw, 36px); }
.cycle li + li { border-left: 1px solid var(--mask-line); }
.cycle li + li::before {
  content: ""; position: absolute; left: -9px; top: 22px; width: 16px; height: 16px;
  background: var(--mask); border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}
.cyc-icon { display: block; width: 100%; max-width: 220px; height: auto; color: var(--gold); }
.cyc-icon .ax { stroke: var(--gold); stroke-opacity: 0.35; stroke-width: 1; stroke-dasharray: 8 3 2 3; }
.cyc-icon .m { fill: rgba(242, 245, 241, 0.08); stroke: var(--silk); stroke-width: 1.3; stroke-linejoin: round; }
.cyc-icon .fl { fill: rgba(242, 245, 241, 0.3); }
.cyc-icon .dust { fill: var(--gold); }
.cyc-icon .ring { fill: var(--silk); }
.cyc-icon .mk-red { fill: var(--mark-red); }
.cyc-icon .mk-blue { fill: var(--mark-blue); }
.cyc-title { margin: 12px 0 2px; font-weight: 700; font-stretch: 108%; color: var(--silk); }
.cyc-text { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--on-dark-muted); }
.op-machine { font-size: 1.25rem; line-height: 1.2; }
.op-name { font-size: 0.9375rem; }
@media (max-width: 760px) {
  .cycle { grid-template-columns: 1fr; gap: 0; }
  .cycle li { padding: 18px 0; }
  .cycle li:first-child { padding-top: 0; }
  .cycle li:last-child { padding-bottom: 0; }
  .cycle li + li { border-left: 0; border-top: 1px solid var(--mask-line); }
  .cycle li + li::before { left: 50%; top: -9px; transform: translateX(-50%) rotate(135deg); }
}

/* ---------- portfólio PCB/PCBA */
.pf-block {
  background: var(--paper); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 var(--rule), 0 20px 40px rgba(14, 61, 48, 0.06);
}
.pf-block + .pf-block { margin-top: 28px; }
.pf-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 32px; align-items: center;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 28px);
  background: linear-gradient(160deg, #134a3a, #0a3127); color: var(--silk);
}
.pf-pcba .pf-head { background: linear-gradient(160deg, #0f3a2e, #07241c); }
.pf-head .seg-code { position: static; margin: 0 0 10px; }
.pf-head h3 { font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); color: var(--silk); }
.pf-head p:not(.seg-code) { margin: 8px 0 0; color: var(--on-dark-muted); max-width: 52ch; }
.pf-art .board { display: block; width: 100%; height: auto; }
.pf-grid {
  list-style: none; margin: 0; padding: clamp(20px, 2.4vw, 32px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px;
}
.pf-item {
  display: flex; flex-direction: column; padding: 18px 18px 16px;
  border: 1px solid var(--rule); border-radius: 10px; background: var(--paper);
}
.pf-icon { width: 30px; height: 30px; color: var(--mask); }
.pf-item h4 { margin: 12px 0 0; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; font-stretch: 106%; }
.pf-item p { margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.pf-link {
  margin-top: auto; padding-top: 12px; align-self: flex-start;
  font-size: 0.875rem; font-weight: 650; color: var(--mask);
}
.pf-item:has(.pf-link[href="#equipment"]) { border-color: var(--gold); background: #FFFBEF; }
/* 6 colunas: destaques ocupam 3, itens só com nome ocupam 2 (3 por linha) */
.pf-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pf-item { grid-column: span 2; }
.pf-item--feat { grid-column: span 3; }
.pf-pcba .pf-item { grid-column: span 3; }
.pf-item:not(.pf-item--feat) {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: start; padding: 16px 18px;
}
.pf-item:not(.pf-item--feat) .pf-icon { grid-row: 1 / 3; }
.pf-item:not(.pf-item--feat) h4 { margin: 3px 0 0; }
.pf-item:not(.pf-item--feat) .pf-link { grid-column: 2; padding-top: 8px; }
.pf-item--feat { border-color: var(--mask); }
.pf-item--feat h4 { font-size: 1.1875rem; }
@media (max-width: 1000px) {
  .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-item, .pf-item--feat, .pf-pcba .pf-item { grid-column: span 1; }
}
.pf-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pf-thumbs a { display: block; width: 72px; height: 54px; border-radius: 6px; overflow: hidden; background: #fff; border: 1px solid var(--rule); }
.pf-thumbs a:hover, .pf-thumbs a:focus-visible { border-color: var(--gold); }
.pf-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ops-kicker { margin: 0 0 8px; font-size: 0.9375rem; font-weight: 700; color: var(--gold); }

/* seção de recuperação de brocas (antes dentro do topo) */
.recovery {
  position: relative; overflow: hidden; color: var(--silk);
  background: radial-gradient(ellipse 80% 70% at 85% 10%, #165845 0%, var(--mask) 60%);
}
.recovery::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url(../img/pcb-traces.svg) 0 0 / 720px repeat; opacity: 0.1;
  -webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 70%); mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
}
.recovery > .wrap { position: relative; }
.recovery .ops { margin-top: 0; padding-top: 0; border-top: 0; }
.recovery :focus-visible { outline-color: var(--gold); }

@media (max-width: 860px) {
  .pf-head { grid-template-columns: 1fr; }
  .pf-art { max-width: 320px; }
}
@media (max-width: 600px) {
  .pf-head { padding: 24px 20px; }
  .pf-art { display: none; }
  .pf-grid { grid-template-columns: 1fr; gap: 0; padding: 4px 16px 12px; }
  .pf-grid .pf-item, .pf-grid .pf-item--feat, .pf-pcba .pf-item {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; align-items: start;
    padding: 14px 0; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: none;
  }
  .pf-item:last-child { border-bottom: 0; }
  .pf-grid .pf-icon { width: 24px; height: 24px; grid-row: 1 / 4; margin-top: 2px; }
  .pf-grid .pf-item h4 { margin: 0; font-size: 1rem; }
  .pf-item p { margin-top: 4px; font-size: 0.875rem; }
  .pf-grid .pf-link { grid-column: 2; padding-top: 6px; }
  .pf-item:has(.pf-link[href="#equipment"]) { background: #FFFBEF; margin: 0 -16px; padding: 14px 16px 14px 13px; border-left: 3px solid var(--gold); grid-template-columns: 26px 1fr; }
}

/* 404 */
.notfound .hero { min-height: 60vh; }
.notfound .hero .lead { margin: 20px 0 32px; }

/* ---------------------------------------------------------------- chinês */
html[lang="zh-CN"] body { line-height: 1.75; }
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2 { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
html[lang="zh-CN"] .hero h1 { max-width: none; }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; }
  .cust-grid { grid-template-columns: 1fr 1fr; }
  .cust-group:nth-child(3) { grid-column: 1 / -1; }
  .cust-group:nth-child(3) ul { columns: 3; }
  .product-meta { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .seg-grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .product-media { position: static; max-width: 560px; }
  .product-meta { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }

  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .timeline li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 20px; padding: 0 0 32px; }
  .timeline li:not(:last-child)::before {
    content: ""; position: absolute; left: 12.5px; top: 14px; bottom: -14px; width: 3px; background: var(--gold);
  }
  .timeline li:last-child { padding-bottom: 0; }
  .via-dot { grid-row: 1 / span 2; }
  .timeline .year { margin: -1px 0 4px; }
}

@media (max-width: 760px) {
  :root { --header-h: 56px; }
  .header-inner { gap: 12px; }
  .brand-name { font-size: 1.1875rem; }
  .via { width: 22px; height: 22px; }
  .btn-small, .lang-menu summary, .mobile-menu summary { min-height: 38px; height: 38px; }

  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(1.75rem, 0.95rem + 4.4vw, 2.5rem); font-stretch: 112%; line-height: 1.06; }
  .hero .lead { font-size: 1.0625rem; }
  .drill { margin-top: 44px; }
  .drill-svg .leaders, .drill-svg .dots, .drill-svg .dim text { display: none; }
  .callouts { grid-template-columns: 1fr 1fr; gap: 20px 20px; text-align: left; margin-top: 20px; }
  .callouts li { align-items: flex-start; padding: 12px 0 0; border-top: 1px solid var(--mask-line); }

  .highlights { grid-template-columns: 1fr; }
  .highlights div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
  .highlights div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .highlights dd { margin: 0; text-align: right; }
  .product-meta { grid-template-columns: 1fr; gap: 20px; }
  .ticks.two-col { columns: 1; }
  .cust-grid { grid-template-columns: 1fr; gap: 28px; }
  .cust-group:nth-child(3) ul { columns: 2; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .specs th { width: 50%; }
}

@media (max-width: 520px) {
  .brand-sub { display: none; }
  .header-actions .btn-small span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-actions .btn-small { padding: 0 10px; }
  .mobile-menu .menu-text { display: none; }
  .mobile-menu summary { padding: 0 9px; }
  .ctas .btn { flex: 1 1 100%; }
  .cust-group:nth-child(3) ul { columns: 1; }
  .wa-form .btn { width: 100%; }
  .specs th, .specs td { display: block; width: auto; padding: 0 8px; }
  .specs th { padding-top: 9px; }
  .specs td { padding-bottom: 9px; font-weight: 600; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drill-svg .mark { animation: none; }
  .btn { transition: none; }
}

@media print {
  .site-header, .wa-form, .ctas, .product-actions .btn { display: none; }
  .hero, .contact, .site-footer { background: none; color: var(--ink); }
}
