/* ---------- Tokens ---------- */
:root {
  --bg: #fbfaf7;
  --bg-2: #f2efe8;
  --surface: #ffffff;
  /* Ink scale — 0 darkest (≈black), 2 lightest (still readable as text). The
     cookie banner background, privacy headings, and a few "strong" paragraph
     spots use --ink-0; breadcrumbs current-page and privacy body text use
     --ink-1. Keeping the scale linear (0 → 2) lets future themes (dark mode,
     high-contrast) swap one block instead of hunting through call sites. */
  --ink-0: #0a0b08;
  --ink:   #151612;
  --ink-1: #2a2b26;
  --ink-2: #3b3d36;
  --muted: #737568;
  --line: #e4dfd2;
  --line-strong: #c9c2ae;
  --brand: #c24a1d;        /* Lesso-ish terracotta orange, slightly deeper */
  --brand-ink: #8a3413;
  --brand-soft: #f5e7dd;
  --accent: #1f3a2e;        /* deep industrial green */
  --accent-ink: #0d2018;
  --success: #3a6b52;
  --radius: 4px;
  --radius-lg: 14px;
  --max: 1280px;
  /* Header height — referenced by .pd-side sticky offset and any future
     "scroll to anchor" math. Update both at once if header padding changes. */
  --header-h: 65px;
  --shadow-soft: 0 1px 2px rgba(20, 22, 18, 0.04), 0 8px 24px -12px rgba(20, 22, 18, 0.08);
  --shadow-lg: 0 4px 12px rgba(20, 22, 18, 0.06), 0 24px 60px -20px rgba(20, 22, 18, 0.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  /* Monospace stack — used for stat numerals, last-updated timestamps, and
     anywhere the design wants a mechanical/industrial feel. */
  --font-mono: ui-monospace, "SF Mono", Menlo, "Cascadia Mono", "Roboto Mono", monospace;

  /* Layering scale — every fixed/sticky/absolute element should pick a slot
     here instead of inventing its own z-index. Lower numbers paint behind. */
  --z-base:           1;    /* in-flow positioned content (cards, badges) */
  --z-sticky-header: 50;    /* the top nav while scrolling */
  --z-dropdown:      60;    /* nav dropdowns, language switcher, autocomplete */
  --z-fab:           80;    /* WhatsApp / chat / scroll-to-top buttons */
  --z-banner:        90;    /* cookie consent + non-blocking notices */
  --z-overlay:      100;    /* full-screen modal backdrops */
  --z-modal:        110;    /* modal dialog content above its backdrop */
  --z-toast:        120;    /* transient toasts / error popovers */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  /* `isolation: isolate` bottles every fixed/sticky overlay (header, FAB,
     cookie banner, future modals/toasts) inside <body>'s own stacking
     context. This insulates our --z-* scale from anything injected later
     by browser extensions or CDN snippets, and stops any descendant from
     accidentally escaping the document root. */
  isolation: isolate;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

h1, h2, h3, h4 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.container { width: min(calc(100% - 2.5rem), var(--max)); margin: 0 auto; }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky-header);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2vw, 2rem);
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; min-width: 0; }
.brand-mark {
  height: 24px;
  width: auto;
  display: block;
  flex-shrink: 0;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  box-sizing: content-box;
}
.brand-sub {
  max-width: 14ch;
  color: var(--muted);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  line-height: 1.25;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.6vw, 28px);
  min-width: 0;
  flex-wrap: nowrap;
}
/* EN/PT toggle was previously hidden while EN content caught up. Re-enabled
   2026-05-18 once all 18 product JSONs + i18n.jsx fallback + content/*.json
   reached PT/EN parity. The actual display rule lives further below
   (.lang-switch { display: inline-flex; ... }). */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}
.site-header.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav a,
.nav button {
  position: relative;
  flex: 0 0 auto;
  font-size: 0.93rem; font-weight: 500;
  line-height: 1.2;
  color: var(--ink-2);
  padding: 8px 2px;
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}
.nav a:hover,
.nav button:hover { color: var(--brand); }
.nav a.active,
.nav button.active { color: var(--ink); }
.nav a.active::after,
.nav button.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--brand);
}
.header-right { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }

.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  padding: 3px; background: var(--surface);
}
.lang-switch button {
  padding: 5px 11px; font-size: 0.75rem; font-weight: 600;
  border-radius: 999px; letter-spacing: 0.04em;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}
.lang-switch button.active {
  background: var(--ink); color: #fff;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all 0.18s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); transform: translateY(-1px); }
.btn-secondary {
  background: var(--surface); color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink-2); padding: 11px 6px; }
.btn-ghost:hover { color: var(--brand); }
.btn-lg { padding: 14px 22px; font-size: 0.95rem; }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; }

.arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--brand);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  margin-top: 20px;
  letter-spacing: -0.035em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  font-family: "Inter Tight", serif;
}
.hero-lead {
  margin-top: 22px;
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.55;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.hero-badge .mono { color: var(--muted); display: block; margin-bottom: 2px; }
.hero-badge strong { font-family: "Inter Tight", sans-serif; font-size: 1.08rem; letter-spacing: -0.02em; }

/* Stats band */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.stats-band > div {
  padding: 28px 24px 0 0;
  border-right: 1px solid var(--line);
}
.stats-band > div:last-child { border-right: 0; }
.stats-band .num {
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stats-band .num sup { font-size: 0.5em; vertical-align: super; color: var(--brand); }
.stats-band .label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 22ch;
}

/* ---------- Section heading ---------- */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
.sec-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 14px;
  max-width: 16ch;
}
.sec-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46ch;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}
.product-card .thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .thumb .tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--brand);
}
.product-card .body {
  padding-top: 20px;
  display: grid; gap: 10px;
}
.product-card h3 {
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}
.product-card .desc { color: var(--ink-2); font-size: 0.96rem; }
.product-card .specs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px;
}
.spec-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: var(--ink-2);
  background: var(--surface);
}
.product-card .link {
  margin-top: 8px;
  font-weight: 600; font-size: 0.9rem;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
}
.product-card:hover .link::after { transform: translateX(3px); }
.product-card .link::after { content: "→"; transition: transform 0.2s var(--ease); }

/* ---------- Sectors ---------- */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.sector-card {
  min-width: 0;
  padding: 32px 24px 32px 0;
  border-right: 1px solid var(--line);
  display: grid; gap: 12px;
  align-content: start;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.sector-card:last-child { border-right: 0; }
.sector-card:hover { background: var(--bg-2); padding-left: 24px; padding-right: 0; }
.sector-card .num-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.sector-card h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.sector-card p { color: var(--muted); font-size: 0.92rem; }
.sector-card .icon {
  width: 40px; height: 40px; margin-bottom: 8px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  display: grid; place-items: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
}

/* ---------- About / Trust strip ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-grid .imgwrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.about-grid .imgwrap img { width:100%; height:100%; object-fit: cover; }

/* Carousel variant of .imgwrap: stacked fade between N photos. */
.about-grid .imgwrap.carousel { position: relative; }
.about-grid .imgwrap.carousel img {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 700ms ease-in-out;
}
.about-grid .imgwrap.carousel img.is-active { opacity: 1; }
.about-grid .imgwrap.carousel .carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 22, 18, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.about-grid .imgwrap.carousel .carousel-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}
.about-grid .imgwrap.carousel .carousel-dots button:hover { background: rgba(255,255,255,0.85); }
.about-grid .imgwrap.carousel .carousel-dots button.is-active {
  background: #fff;
  transform: scale(1.25);
}
.about-grid .imgwrap.carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 22, 18, 0.42);
  color: #fff;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  opacity: 0;
  transition: opacity 200ms ease, background 200ms ease, transform 200ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.about-grid .imgwrap.carousel:hover .carousel-arrow,
.about-grid .imgwrap.carousel:focus-within .carousel-arrow { opacity: 1; }
.about-grid .imgwrap.carousel .carousel-arrow:hover { background: rgba(21, 22, 18, 0.6); }
.about-grid .imgwrap.carousel .carousel-arrow:focus-visible {
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.about-grid .imgwrap.carousel .carousel-arrow-prev { left: 12px; }
.about-grid .imgwrap.carousel .carousel-arrow-next { right: 12px; }
@media (hover: none) {
  .about-grid .imgwrap.carousel .carousel-arrow { opacity: 1; }
}
.about-grid h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.about-grid p { color: var(--ink-2); font-size: 1.02rem; margin-top: 16px; }
.about-feat {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 20px; margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about-feat h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem; letter-spacing: -0.01em;
}
.about-feat p { font-size: 0.9rem; margin-top: 6px; color: var(--muted); }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process .step {
  padding: 28px 20px 0 0;
  border-right: 1px solid var(--line);
  display: grid; gap: 10px; align-content: start;
}
.process .step:last-child { border-right: 0; }
.process .step .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--brand);
  font-size: 0.8rem;
}
.process .step h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
}
.process .step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  top: 0; right: 0; width: 40%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(194,74,29,0.15) 100%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 22ch; }
.cta-band p { color: #cfc9b8; margin-top: 14px; max-width: 50ch; }
.cta-band .btn-primary { background: var(--brand); }
.cta-band .btn-secondary {
  background: transparent; color: #fff; border-color: #4a4b42;
}
.cta-band .btn-secondary:hover { border-color: #fff; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(to bottom, var(--bg-2) 0%, var(--bg) 100%);
}
.crumbs {
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 24px;
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: 0.5; }
.crumbs [aria-current="page"] { color: var(--ink-1); }
.page-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  max-width: 20ch;
}
.page-hero .lead {
  margin-top: 20px;
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 1.08rem;
}

/* ---------- Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
/* Without min-width: 0 on grid items, long unbreakable cells in
   .spec-table (model codes, GB/T standards, etc.) force the column to
   its content's intrinsic width, overflowing the grid at narrow widths. */
.pd-grid > * { min-width: 0; }
.pd-hero-img {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 32px;
}
.pd-hero-img img { width:100%; height:100%; object-fit: cover; }

.material-card {
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}
.material-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.material-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}
.material-value {
  font-size: 0.98rem;
  color: var(--ink-0);
  line-height: 1.45;
}
.material-value.mono {
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .material-card { grid-template-columns: 1fr; gap: 12px 0; }
}

.pd-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}
.pd-gallery-cell {
  aspect-ratio: 4/3;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd-gallery-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.pd-gallery-cell:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .pd-gallery { grid-template-columns: 1fr; }
}

.pd-answer {
  background: var(--brand-soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 40px;
  border-left: 3px solid var(--brand);
}
.pd-answer h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--brand-ink);
}
.pd-answer p { color: var(--ink); line-height: 1.55; }

.pd-block { margin-bottom: 48px; }
.pd-block h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pd-block .mono-label {
  color: var(--brand); font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px; display: block;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.pd-block:first-child h2, .pd-block:first-child .mono-label { border-top: 0; padding-top: 0;}

ul.check-list { display: grid; gap: 12px; }
ul.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-2);
}
ul.check-list li::before {
  content: ""; position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--brand);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  /* Allow horizontal scroll within the spec table itself on narrow viewports
     (long technical strings like GB/T 12238 + JB/T 9092 list won't fit
     inside a 390px column otherwise). Combined with min-width: 0 on the
     parent grid item, this contains overflow to the table only. */
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.spec-table thead, .spec-table tbody { display: table; width: 100%; min-width: 600px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  background: var(--bg-2);
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  text-transform: uppercase;
}
.spec-table td.mono { font-family: "JetBrains Mono", monospace; font-size: 0.85rem; color: var(--ink); }
.spec-table tr:last-child td { border-bottom: 0; }

.standards-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item .faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 20px 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.faq-item .plus {
  width: 24px; height: 24px; flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 1.3rem; color: var(--brand);
  transition: transform 0.25s var(--ease);
}
.faq-item .faq-q:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-item .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), margin-top 0.25s var(--ease);
  color: var(--ink-2);
}
.faq-item.open .a { max-height: 600px; padding-bottom: 20px; }

/* Inquiry sidebar */
.pd-side {
  /* Sticky offset = header height + ~35px breathing room. Uses --header-h so
     header redesigns don't silently misalign this panel. */
  position: sticky; top: calc(var(--header-h) + 35px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.pd-side h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.pd-side .mono { color: var(--brand); margin-bottom: 14px; display:block;}
.pd-side p { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.pd-side .btn { width: 100%; margin-bottom: 10px; }
.pd-side .downloads { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.pd-side .downloads h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.pd-side .dl-link {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink); font-size: 0.9rem;
  line-height: 1.35;
}
.pd-side .dl-link .pdfpill {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  padding: 2px 6px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-radius: 3px; flex-shrink: 0;
  margin-top: 2px;
}
.pd-side .dl-link:hover { color: var(--brand); }

/* ---------- Contact page / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-info { display: grid; gap: 24px; }
.contact-info-title {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}
.ci-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.ci-card h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.ci-card .val {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.ci-card .sub { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.ci-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.ci-card.dark h4 { color: #a8aba0; }
.ci-card.dark .val { color: #fff; }
.ci-card.dark .sub { color: #a8aba0; }

/* Video card (About page) — large 16:9 poster with a centred YouTube
   play button and a meta strip below. The whole card is one <a> that
   opens YouTube in a new tab; no embed iframe is loaded, so it stays
   light. */
.video-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}
.video-card-poster {
  position: relative;
  aspect-ratio: 16/9;
  background-color: #111;
  overflow: hidden;
}
.video-card-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.10) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.45) 100%);
  transition: background 0.2s var(--ease);
}
.video-card:hover .video-card-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.video-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  transition: transform 0.2s var(--ease);
}
.video-card:hover .video-card-play {
  transform: translate(-50%, -50%) scale(1.06);
}
.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
}
.video-card-meta h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}
.video-card-cta {
  color: #ff0000;
  font-size: 0.95rem;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .video-card-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .video-card-play svg { width: 60px; height: 42px; }
}

.form-card {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.form-card h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.form-card > p { color: var(--muted); margin-bottom: 28px; }

.form-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}
.field label .req { color: var(--brand); margin-left: 3px;}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: all 0.15s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(194, 74, 29, 0.12);
}
.field.err input, .field.err select, .field.err textarea {
  border-color: #c74a2e; background: #fdf3ef;
}
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field .err-msg { font-size: 0.82rem; color: #c74a2e; font-weight: 500; }

.checks-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.check-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  background: var(--bg);
  font-size: 0.9rem;
}
.check-pill:hover { border-color: var(--line-strong); }
.check-pill.on {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-ink);
  font-weight: 500;
}
.check-pill .box {
  width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 11px; color: #fff;
}
.check-pill.on .box { background: var(--brand); border-color: var(--brand); }

.form-foot {
  margin-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.form-foot .note { color: var(--muted); font-size: 0.85rem; max-width: 40ch; }

.success-card {
  padding: 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.success-card .ico {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: #e5f1e8; color: #2c6d48;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 1.6rem;
}
.success-card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.success-card p { color: var(--muted); max-width: 40ch; margin: 0 auto 24px; }

/* ---------- Home product gallery (between factory carousel and LINHAS PRINCIPAIS) ----------
   Image-only strip — captions intentionally NOT rendered per customer request
   2026-05-15. Large 3-column grid on desktop (2 rows × 3 = 6 images), drops to
   2 columns on tablet and 1 column on mobile so each image stays large. */
.home-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.home-gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  background: var(--bg-2);
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease;
  border: 1px solid var(--border);
  cursor: default;
}
a.home-gallery-item { cursor: pointer; }
a.home-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
a.home-gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 980px) {
  .home-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 560px) {
  .home-gallery { grid-template-columns: 1fr; gap: 12px; }
  .home-gallery-item { aspect-ratio: 16 / 10; }
}

/* ---------- Downloads page ---------- */
.dl-lead-form {
  margin: 8px 0 30px;
  scroll-margin-top: 96px;
}
.dl-lead-form__head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: end;
}
.dl-lead-form__head h3 {
  margin-top: 8px;
  margin-bottom: 0;
}
.dl-lead-form__head p {
  color: var(--muted);
  margin: 0;
}
.dl-lead-form__grid {
  margin-top: 24px;
}
.dl-lead-alert {
  margin-top: 18px;
  padding: 11px 14px;
  border: 1px solid #e3aa92;
  border-radius: 8px;
  background: #fdf3ef;
  color: #9d351f;
  font-size: 0.9rem;
  font-weight: 500;
}
.dl-lead-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 5);
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
}
.dl-lead-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 22, 18, 0.52);
  cursor: pointer;
}
.dl-lead-modal__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.dl-lead-modal__form {
  padding: clamp(24px, 3vw, 38px);
}
.dl-lead-modal .field input,
.dl-lead-modal .field select {
  height: 48px;
  min-height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}
.dl-lead-modal .field select {
  line-height: 48px;
}
.dl-lead-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.dl-lead-modal__close:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.dl-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 28px;
}
.dl-chip {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}
.dl-chip:hover { border-color: var(--brand); color: var(--brand); }
.dl-chip .count {
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 1px 6px;
  background: var(--bg-2);
  border-radius: 999px;
}
.dl-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.dl-chip.is-active .count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dl-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: all 0.2s var(--ease);
}
.dl-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-lg);}
.dl-card .pdf-ico {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #faeee2 100%);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
}
.dl-card h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem; letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.dl-card .cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.dl-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 10px; }
.dl-card .act {
  display: flex; gap: 14px; align-items: center;
  font-size: 0.85rem;
}
.dl-card .act button {
  color: var(--brand);
  font-weight: 600;
}
.dl-card .act button.arrow {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.dl-card .act button.arrow:disabled {
  cursor: not-allowed;
}

/* ---------- About page extras ---------- */
.global-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.region-card {
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.region-card h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.15rem; margin-bottom: 6px;
}
.region-card .mono { color: var(--brand); display: block; margin-bottom: 6px;}
.region-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Cert composite image (replaces logo-wall when set) ---------- */
.certs-image {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  justify-content: center;
}
.certs-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.logo-wall .cell {
  aspect-ratio: 2/1;
  display: grid; place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.logo-wall .cell img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.2s, opacity 0.2s;
}
.logo-wall .cell:hover { color: var(--ink); background: var(--bg-2); }
.logo-wall .cell:hover img { filter: none; opacity: 1; }
.logo-wall .cell:nth-child(6n) { border-right: 0; }
.logo-wall .cell:nth-last-child(-n+6) { border-bottom: 0; }

/* ---------- News listing + post ---------- */
.news-empty {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
  padding: 64px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.news-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.news-card:hover .news-card-img img { transform: scale(1.03); }
.news-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-card-body h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 0;
}
.news-card-body p {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}
.news-date {
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.news-card-cta {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 4px;
}
.news-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body {
  max-width: 72ch;
}
.news-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 1.1em;
}
.news-body p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ---------- Clickable ci-card variants (LinkedIn / WhatsApp) ---------- */
/* These cards live inside .contact-info next to the standard info
   blocks, but the whole card is an anchor that opens an external link. */
.ci-card.ci-card--clickable {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.ci-card.ci-card--clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.ci-card.ci-card--linkedin:hover  { border-color: #0a66c2; }
.ci-card.ci-card--whatsapp:hover  { border-color: #25D366; }

/* Corner badge — small circular icon pinned to the card's top-right
   corner. Used to mark the card's external destination at a glance. */
.ci-card-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
}
.ci-card-corner--whatsapp { background: #25D366; }
.ci-card-corner--linkedin { background: #0a66c2; }
.ci-card-corner--ink      { background: var(--ink); }

/* LinkedIn card row — thumbnail on the left, text block on the right. */
.ci-linkedin-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 40px;  /* leave space for the .ci-card-corner badge */
}
.ci-linkedin-thumb {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.ci-linkedin-thumb--square {
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}
.ci-linkedin-thumb--placeholder {
  display: grid; place-items: center;
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink-3);
  background: var(--bg-2);
}
.ci-linkedin-text h4 { margin: 0; }
.ci-linkedin-text .val { font-size: 1.02rem; margin-top: 2px; }
.ci-linkedin-text .sub { font-size: 0.88rem; margin-top: 4px; }

/* ---------- Footer social icon row ---------- */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  list-style: none;
  margin: 0;
}
.footer-social-icons li { margin: 0; }
/* Higher specificity than `.footer ul a` so the per-platform colours
   defined inline (--social-bg / --social-fg) actually win. */
.footer .footer-social-icons a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--social-bg, rgba(255, 255, 255, 0.08));
  color: var(--social-fg, #d4d6d0);
  transition: transform 0.18s var(--ease), filter 0.18s var(--ease);
}
.footer .footer-social-icons a:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  color: var(--social-fg, #fff);
}

/* ---------- Social links grid (contact page) ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.social-card:hover {
  transform: translateY(-2px);
  border-color: var(--social-color, var(--ink-3));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.social-card-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  /* background is set inline per-platform — falls back to ink if absent */
  background: var(--ink);
}
.social-card-icon svg {
  width: 22px; height: 22px;
}
.social-card-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Business card (contact page, below LinkedIn) ---------- */
.business-card-section { padding-top: 0; }
.business-card {
  margin: 0;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.business-card img {
  max-width: 100%;
  max-height: 480px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.business-card figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  max-width: 60ch;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #a8aba0;
  padding: 72px 0 32px;
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a2b26;
}
.footer h5 {
  color: #fff;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: 0.92rem; color: #a8aba0; transition: color 0.15s; }
.footer ul a:hover { color: #fff; }
.footer .brand-mark { height: 32px; }
.footer .brand-sub { border-left-color: rgba(255,255,255,0.18); }
.footer .about-text {
  margin-top: 18px;
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer-bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem;
  color: #737568;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .pd-grid, .contact-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-card { border-right: none; border-bottom: 1px solid var(--line); padding: 24px 0; }
  .sector-card:nth-child(2n) { border-right: none; }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-band > div { border-right: none; border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process .step { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pd-side { position: static; }
  .global-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall .cell:nth-child(6n) { border-right: 1px solid var(--line); }
  .logo-wall .cell:nth-child(3n) { border-right: 0; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-lead-form__head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 1280px) {
  .header-inner { gap: 18px; }
  .brand-sub { display: none; }
  .nav { gap: 18px; }
  .header-right { gap: 10px; }
  .header-right .btn-sm { padding-inline: 12px; }
}
@media (max-width: 1180px) {
  /* Header collapses to: [brand]  [spacer]  [hamburger] on a single row,
     with the nav links + lang switch + CTA dropping into a stacked panel
     below when the menu is open. */
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .brand-sub { display: none; }
  .brand-mark { height: 26px; }
  .nav-toggle { display: inline-flex; grid-column: 3; }
  .nav,
  .header-right {
    grid-column: 1 / -1;
    display: none;
  }
  .site-header.nav-open .nav,
  .site-header.nav-open .header-right { display: flex; }
  .site-header.nav-open .nav {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 6px;
  }
  .site-header.nav-open .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
    white-space: normal;
  }
  .site-header.nav-open .nav a:last-child { border-bottom: 0; }
  .site-header.nav-open .header-right {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    padding: 14px 0 18px;
  }
  .site-header.nav-open .lang-switch { align-self: flex-start; }
  .site-header.nav-open .header-right .btn { width: 100%; justify-content: center; text-align: center; }
}

@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .sector-grid,
  .stats-band,
  .process { grid-template-columns: 1fr; }
  .sector-card:nth-child(2n) { border-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .checks-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .dl-lead-modal {
    align-items: end;
    padding: 10px;
  }
  .dl-lead-modal__panel {
    width: calc(100vw - 20px);
    max-height: 88vh;
    border-radius: 12px;
  }
  .dl-lead-modal__form {
    padding: 24px;
  }
}

/* Simple fade-in on page change */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-enter { animation: fadeUp 0.35s var(--ease); }


/* -------- WhatsApp FAB -------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.15);
  z-index: var(--z-fab);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0,0,0,0.2);
  color: #fff;
}
.wa-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.4);
  outline-offset: 3px;
}
/* Badge shown on the FAB when window.INQUIRY.list is non-empty — signals
   that tapping the FAB will send the cart contents, not the generic msg. */
.wa-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: #c24a1d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
@media (max-width: 640px) {
  .wa-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* -------- Cookie Banner -------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-banner);
  background: var(--ink-0);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  animation: cookieIn 0.4s var(--ease);
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.cookie-inner p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.cookie-inner p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-inner .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .cookie-inner p { font-size: 0.82rem; }
}
/* Keep the WhatsApp FAB clear of the cookie banner at every breakpoint.
   `<CookieBanner>` renders before `<WhatsAppFab>` in app.jsx (see comment
   there), so the general-sibling combinator works as a fallback for the
   handful of browsers without `:has()` support; both selectors point at
   the same target. */
.cookie-banner ~ .wa-fab,
body:has(.cookie-banner) .wa-fab { bottom: 100px; }
@media (max-width: 720px) {
  /* Cookie banner stacks vertically here (text + button on separate rows),
     so it's noticeably taller — push the FAB further up. */
  .cookie-banner ~ .wa-fab,
  body:has(.cookie-banner) .wa-fab { bottom: 160px; }
}

/* -------- Privacy page -------- */
.privacy-body h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--ink-0);
}
.privacy-body h3:first-child { margin-top: 0; }
.privacy-body p {
  color: var(--ink-1);
  line-height: 1.65;
  margin-bottom: 0.8rem;
}
.privacy-body p.muted {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
}
.privacy-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* -------- Products page · series-filter (sticky chip nav) --------
   Desktop: label + all chips inline-wrap in a single sticky bar.
   Mobile/tablet (≤900px): chips collapse behind a toggle button so
   the 14-series list doesn't cover the whole viewport. The chips
   container uses `display: contents` on desktop so its children
   flatten into the bar's flex flow (matches the pre-collapse layout
   visually). When `.is-open` flips on, chips become a real scrollable
   panel that drops below the toggle. */
.series-filter-bar {
  position: sticky;
  top: 72px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  margin: 0 -16px 24px;
  background: rgba(247, 245, 238, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e4dc;
}
.series-filter-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ea09a;
  margin-right: 4px;
}
.series-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid #c8c5b8;
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #3a3b36;
  cursor: pointer;
  font-family: inherit;
  margin-left: auto;
  transition: border-color 0.15s, color 0.15s;
}
.series-filter-toggle:hover,
.series-filter-toggle:focus-visible {
  border-color: var(--accent, #c24a1d);
  color: var(--accent, #c24a1d);
  outline: none;
}
.series-filter-caret {
  display: inline-block;
  font-size: 11px;
  transition: transform 0.2s var(--ease);
}
.series-filter-bar.is-open .series-filter-caret { transform: rotate(180deg); }
.series-filter-chips { display: contents; }
.series-filter-chip {
  border: 1px solid #c8c5b8;
  background: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #3a3b36;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.series-filter-chip:hover,
.series-filter-chip:focus-visible {
  border-color: var(--accent, #c24a1d);
  color: var(--accent, #c24a1d);
  outline: none;
}
.series-filter-chip-count {
  opacity: 0.55;
  font-weight: 400;
  margin-left: 2px;
}

@media (max-width: 900px) {
  .series-filter-bar {
    padding: 10px 16px;
    margin: 0 -16px 16px;
  }
  .series-filter-toggle { display: inline-flex; }
  .series-filter-chips {
    display: none;
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 55vh;
    overflow-y: auto;
    padding: 12px 0 4px;
    margin-top: 4px;
    border-top: 1px solid #e6e4dc;
    -webkit-overflow-scrolling: touch;
  }
  .series-filter-bar.is-open .series-filter-chips { display: flex; }
  .series-filter-chip {
    padding: 9px 14px;
    font-size: 13px;
  }
}

/* ────────────────────────────────────────────────────────────────────────────
   Inquiry list — added 2026-05-20
   See spec: docs/superpowers/specs/2026-05-20-inquiry-list-design.md
   ──────────────────────────────────────────────────────────────────────── */

/* Corner "+" button on top-right of product card thumbs */
.pc-add {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #c24a1d;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: background 120ms ease, transform 80ms ease;
  z-index: 2;
}
.pc-add:hover { transform: scale(1.08); }
.pc-add.is-added {
  background: #2ea043;
  color: #fff;
}

/* Row "Add to inquiry" button at bottom of subproduct cards */
.sub-card__add {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #c24a1d;
  border-radius: 6px;
  background: #fff;
  color: #c24a1d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}
.sub-card__add:hover { background: #fdf2ec; }
.sub-card__add.is-added {
  background: #2ea043;
  border-color: #2ea043;
  color: #fff;
}

/* Header bag-icon button + badge */
.inquiry-bag {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  cursor: pointer;
  border-radius: 8px;
  transition: background 120ms ease;
}
.inquiry-bag:hover { background: rgba(0,0,0,0.06); }
.inquiry-bag__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #c24a1d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

/* Drawer */
.inquiry-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  pointer-events: none;
}
.inquiry-drawer[hidden] { display: none; }
.inquiry-drawer.is-open { pointer-events: auto; }
.inquiry-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 200ms ease;
}
.inquiry-drawer.is-open .inquiry-drawer__backdrop { opacity: 1; }
.inquiry-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -8px 0 24px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 240ms ease;
  display: flex;
  flex-direction: column;
}
.inquiry-drawer.is-open .inquiry-drawer__panel { transform: translateX(0); }
@media (max-width: 480px) {
  .inquiry-drawer__panel { width: 100vw; }
}
.inquiry-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #eaeaea;
}
.inquiry-drawer__header h2 { margin: 0; font-size: 16px; font-weight: 700; }
.inquiry-drawer__count { color: #6a6b65; font-weight: 500; }
.inquiry-drawer__close {
  width: 32px; height: 32px;
  border: 0; background: transparent;
  font-size: 24px; line-height: 1; cursor: pointer;
  color: #6a6b65;
}
.inquiry-drawer__items {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  flex: 1;
  overflow-y: auto;
}
.inquiry-drawer__item {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f3f3f3;
}
.inquiry-drawer__item img,
.inquiry-drawer__placeholder {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: #f4f2eb;
}
.inquiry-drawer__label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.inquiry-drawer__url {
  font-size: 11px;
  color: #6a6b65;
  word-break: break-all;
  text-decoration: none;
}
.inquiry-drawer__remove {
  border: 0;
  background: transparent;
  color: #c24a1d;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.inquiry-drawer__empty {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: #6a6b65;
}
.inquiry-drawer__empty p { margin: 4px 0; font-size: 14px; }
.inquiry-drawer__footer {
  border-top: 1px solid #eaeaea;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-drawer__clear {
  align-self: flex-end;
  border: 0;
  background: transparent;
  color: #6a6b65;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}
.inquiry-drawer__btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.inquiry-drawer__btn--wa {
  background: #25D366;
  color: #fff;
}
.inquiry-drawer__btn--email {
  background: #c24a1d;
  color: #fff;
}
.inquiry-drawer__btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ────────────────────────────────────────────────────────────────────────────
   Subproduct modal — opened from /produtos catalog card click — added 2026-05-21
   ──────────────────────────────────────────────────────────────────────── */

.sub-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.sub-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.sub-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  transform: scale(0.96);
  transition: transform 180ms ease;
}
.sub-modal.is-open .sub-modal__panel { transform: scale(1); }
@media (max-width: 700px) {
  .sub-modal__panel {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }
}
.sub-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: #6a6b65;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.sub-modal__close:hover { color: #c24a1d; }
.sub-modal__image {
  background: #f4f2eb;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
}
.sub-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sub-modal__placeholder {
  text-align: center;
  padding: 24px;
  color: #9ea09a;
}
.sub-modal__placeholder .mono-label { display: block; margin-bottom: 6px; }
.sub-modal__placeholder-ref {
  font-size: 10px;
  font-family: ui-monospace, Menlo, monospace;
}
.sub-modal__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sub-modal__series {
  color: #c24a1d;
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.sub-modal__name {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}
.sub-modal__desc {
  margin: 0;
  color: #4a4b45;
  font-size: 14px;
  line-height: 1.55;
  /* No line-clamp here — that's the whole point of the modal */
}
.sub-modal__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sub-modal__standards {
  margin: 0;
  font-size: 12px;
  color: #6a6b65;
  font-family: ui-monospace, Menlo, monospace;
  padding: 8px 10px;
  background: #f7f6f1;
  border-radius: 4px;
}
.sub-modal__ref {
  font-size: 11px;
  color: #9ea09a;
  font-family: ui-monospace, Menlo, monospace;
}
.sub-modal__actions {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-modal__cta {
  text-align: center;
  text-decoration: none;
}

/* About page — "Projetos de Grande Porte" translatable mosaic */
.about-projects {
  background: var(--surface);
}
.about-projects__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding-top: 28px;
  border-top: 3px solid #e01f26;
  margin-bottom: clamp(24px, 4vw, 44px);
}
.about-projects__intro .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #e01f26;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}
.about-projects__intro h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  text-transform: none;
  letter-spacing: 0;
  max-width: 24ch;
}
.about-projects__intro p {
  color: var(--ink-1);
  line-height: 1.65;
}
.about-projects__mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.about-projects__item {
  min-height: 300px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #f3f2ee;
  overflow: hidden;
}
.about-projects__item.is-wide {
  grid-column: span 2;
}
.about-projects__item.is-tall {
  grid-row: span 2;
}
.about-projects__photo {
  min-height: 190px;
  background: var(--bg-2);
  overflow: hidden;
}
.about-projects__photo img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}
.about-projects__caption {
  min-height: 96px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 20px 22px;
  background: linear-gradient(90deg, #f0efeb 0%, #ffffff 100%);
}
.about-projects__caption span {
  width: 0;
  height: 0;
  margin-top: 6px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--ink-2);
}
.about-projects__caption p {
  color: var(--ink-1);
  font-size: 0.9rem;
  line-height: 1.45;
}
.about-projects__figure {
  margin: 24px 0 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e6e4dc;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  background: #fff;
}
.about-projects__figure img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 980px) {
  .about-projects__intro {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .about-projects__intro h2 {
    max-width: 16ch;
  }
  .about-projects__mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .about-projects__mosaic {
    grid-template-columns: 1fr;
  }
  .about-projects__item,
  .about-projects__item.is-wide,
  .about-projects__item.is-tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }
  .about-projects__caption {
    min-height: 0;
    padding: 16px 18px;
  }
}
