/* ==========================================================================
   Intercientifica
   Marca: vermelho do logo (#DE1E18) e grafite do logotipo (#606066).
   Base clara e clínica, com a grade de poços da microplaca como motivo.
   ========================================================================== */

:root {
  --red: #DE1E18;
  --red-700: #B3140F;
  --red-800: #8E0F0B;
  --red-50: #FDECEB;

  --graphite: #606066;
  --ink: #15171C;
  --ink-2: #2A2D35;
  --ink-soft: #545A66;
  --muted: #6B7280;

  --bg: #FFFFFF;
  --surface: #F5F6F8;
  --surface-2: #ECEEF2;
  --line: #E3E6EB;
  --line-strong: #CDD2DA;

  --dark: #14161B;
  --dark-2: #1D2027;
  --on-dark: #F3F4F6;
  --on-dark-soft: #B7BCC6;
  --line-dark: rgba(243, 244, 246, 0.12);

  --success: #15803D;
  --error: #B91C1C;

  --font-head: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(21, 23, 28, 0.06), 0 2px 8px rgba(21, 23, 28, 0.04);
  --shadow-md: 0 8px 24px rgba(21, 23, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(21, 23, 28, 0.14);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 280ms;
  --t-slow: 800ms;

  --header-h: 76px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.text-brand { color: var(--red-700); }
.nowrap { white-space: nowrap; }
.text-brand-light { color: #FF6B63; }

.icon {
  width: 1.15em; height: 1.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.section { padding: clamp(80px, 10vw, 128px) 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--ink); color: #fff; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--t-fast) ease;
}
.skip-link:focus-visible { transform: translateY(0); }

:focus-visible { outline: 3px solid var(--red-700); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red-700);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-50); }
.eyebrow-light { color: #FF8A84; }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-sub { margin: 16px 0 0; font-size: 1.1rem; }
.section-head-light h2 { color: var(--on-dark); }
.section-head-light .eyebrow { color: #FF8A84; }
.section-head-light .section-sub { color: var(--on-dark-soft); }
.section-head-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }

/* Buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  touch-action: manipulation;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease,
              box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.btn .icon { transition: transform var(--t-base) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--red-700); color: #fff; box-shadow: 0 8px 20px rgba(179, 20, 15, 0.24); }
.btn-primary:hover { background: var(--red-800); box-shadow: 0 12px 28px rgba(179, 20, 15, 0.3); transform: translateY(-2px); }
.btn-whatsapp { background: #0F7A40; color: #fff; box-shadow: 0 8px 20px rgba(15, 122, 64, 0.25); }
.btn-whatsapp:hover { background: #0B6B37; transform: translateY(-2px); }
.icon-fill { fill: currentColor; stroke: none; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-head); font-weight: 700; color: var(--red-700); text-decoration: none;
}
.link-arrow .icon { transition: transform var(--t-base) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease, background-color var(--t-base) ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.brand-logo { width: auto; height: 40px; }

.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a {
  position: relative;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: var(--r-sm);
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  transition: color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a.is-active { color: var(--red-700); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; border-radius: 2px; background: var(--red);
}
.nav-contact { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.header-phone .icon { color: var(--red-700); }
.header-phone:hover { color: var(--red-700); }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: #fff; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero ---------------------------------------------------------------- */

.hero { position: relative; padding-top: var(--header-h); background: linear-gradient(180deg, #FFFFFF 0%, var(--surface) 100%); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: clamp(620px, calc(100svh - var(--header-h)), 900px);
}
.hero-copy-wrap {
  position: relative;
  display: flex; align-items: center;
  padding: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 72px) clamp(56px, 6vw, 96px) max(clamp(20px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px));
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(96, 96, 102, 0.16) 1.6px, transparent 1.8px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 90% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 90% 50%, #000 10%, transparent 70%);
}
.hero-copy { position: relative; max-width: 620px; }
.hero-title { font-size: clamp(2.5rem, 4.9vw, 4.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.2rem); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 32px 0 0; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.hero-trust .icon { color: var(--red-700); width: 20px; height: 20px; }

.hero-media { position: relative; overflow: hidden; background: var(--dark); isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% center; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 22, 27, 0.12) 0%, rgba(20, 22, 27, 0) 35%, rgba(20, 22, 27, 0.15) 60%, rgba(20, 22, 27, 0.6) 100%); }

.float-label { display: block; font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-700); }
.float-sub { display: block; font-size: 0.84rem; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }

.hero-kit {
  position: absolute; top: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px);
  display: flex; align-items: center; gap: 14px;
  max-width: 330px; padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.96); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
}
.hero-kit img { width: 96px; height: 70px; object-fit: contain; border-radius: var(--r-sm); background: #fff; flex-shrink: 0; }
.hero-kit strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); line-height: 1.2; }

.hero-news {
  position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px);
  display: grid; grid-template-columns: 112px 1fr; align-items: stretch;
  width: min(440px, calc(100% - 2 * clamp(20px, 3vw, 40px)));
  overflow: hidden; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--shadow-lg);
  text-decoration: none; color: inherit;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.hero-news:hover { transform: translateY(-3px); box-shadow: 0 30px 70px rgba(21, 23, 28, 0.28); }
.hero-news img { width: 100%; height: 100%; object-fit: cover; }
.hero-news-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; }
.hero-news strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.3; color: var(--ink); }
.hero-news-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--red-700); }
.hero-news-link .icon { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
.hero-news:hover .hero-news-link .icon { transform: translateX(3px); }

.hero-video-toggle {
  position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%;
  background: rgba(20, 22, 27, 0.55); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color var(--t-fast) ease;
}
.hero-video-toggle:hover { background: rgba(20, 22, 27, 0.8); }
.hero-video-toggle:focus-visible { outline-color: #fff; }
.hero-video-toggle .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hero-video-toggle .icon-play { display: none; }
.hero-video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero-video-toggle[aria-pressed="true"] .icon-play { display: block; }

/* Stats ----------------------------------------------------------------- */

.stats { background: var(--dark); color: var(--on-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px, 4vw, 44px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-value { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-label { display: block; margin-top: 6px; font-size: 0.92rem; color: var(--on-dark-soft); line-height: 1.4; }

/* Empresa --------------------------------------------------------------- */

.empresa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.empresa-grid { align-items: start; }
.empresa-media { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--surface-2); }
.empresa-media img { width: 100%; height: 100%; object-fit: cover; }
.media-tag {
  position: absolute; left: 16px; bottom: 16px; right: 16px; width: fit-content;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; color: var(--ink);
}
.media-tag .icon { color: var(--red-700); }
.empresa-copy h2 { margin-bottom: 20px; }
.empresa-copy > p { font-size: 1.05rem; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.vm-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.vm-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: var(--r-sm); background: var(--red-50); color: var(--red-700); }
.vm-icon .icon { width: 20px; height: 20px; }
.vm-card h3 { margin-bottom: 6px; }
.vm-card p { margin: 0; font-size: 0.95rem; }

.valores { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.valores-title { font-size: 1.5rem; margin-bottom: 28px; }
.valores-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.valores-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.valores-list strong { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.valores-list strong::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.valores-list span { display: block; font-size: 0.93rem; color: var(--ink-soft); line-height: 1.5; padding-left: 16px; }

/* Produtos -------------------------------------------------------------- */

.produtos { background: var(--surface); }

.lines { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; margin-bottom: 48px; }
.line-card { position: relative; overflow: hidden; padding: clamp(28px, 3.5vw, 40px); border-radius: var(--r-lg); }
.line-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 12px; }
.line-kicker { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.line-neomap { background: var(--dark); color: var(--on-dark); }
.line-neomap::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 107, 99, 0.35) 3px, transparent 3.5px);
  background-size: 22px 22px; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.line-neomap h3 { color: #fff; }
.line-neomap .line-kicker { color: #FF8A84; }
.line-neomap p { color: var(--on-dark-soft); max-width: 520px; }
.line-neolisa { background: #fff; border: 1px solid var(--line); }
.line-neolisa .line-kicker { color: var(--red-700); }

.line-metrics { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.line-metrics li { padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.line-metrics .icon { width: 20px; height: 20px; color: #FF8A84; margin-bottom: 10px; }
.line-metrics strong { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.1; }
.line-metrics span { display: block; font-size: 0.86rem; color: var(--on-dark-soft); line-height: 1.4; margin-top: 4px; }
.line-note { margin: 16px 0 0; font-size: 0.8rem; color: #9AA0AB !important; }

.line-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.line-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-2); }
.line-points .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--red-50); color: var(--red-700); stroke-width: 2.4; }
.line-kits-title { margin: 28px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.line-kits { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.line-kits li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 500; color: var(--ink-2); }
.line-neomap .line-kits-title { border-top-color: var(--line-dark); color: var(--on-dark-soft); }
.line-kits-dark li { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--on-dark); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: #fff;
  font-family: var(--font-head); font-weight: 600; color: var(--ink-2); cursor: pointer;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2); font-size: 0.8rem; }
.filter.is-active .filter-count { background: rgba(255, 255, 255, 0.18); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) ease;
}
.product:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.product[hidden] { display: none; }
.product-media { display: grid; place-items: center; height: 220px; padding: 20px; background: linear-gradient(180deg, #FFFFFF, #F8F9FB); border-bottom: 1px solid var(--line); }
.product-media img { max-height: 180px; width: auto; object-fit: contain; transition: transform var(--t-slow) var(--ease); }
.product:hover .product-media img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 18px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); font-size: 0.78rem; font-weight: 600; color: var(--ink-2); }
.tag-neomap { background: var(--ink); color: #fff; }
.tag-neolisa { background: var(--red-50); color: var(--red-700); }
.product h3 { font-size: 1.25rem; margin-bottom: 8px; }
.product-body > p { font-size: 0.94rem; line-height: 1.55; margin-bottom: 16px; }
.product-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-strong); }
.product-spec dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.product-spec dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.product-more { margin-top: 14px; border-top: 1px solid var(--line); interpolate-size: allow-keywords; }
.product-more summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px;
  list-style: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--red-700);
}
.product-more summary::-webkit-details-marker { display: none; }
.product-more summary .icon { transition: transform var(--t-base) var(--ease); }
.product-more[open] summary .icon { transform: rotate(180deg); }
.product-more::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t-base) var(--ease), content-visibility var(--t-base) allow-discrete; }
.product-more[open]::details-content { block-size: auto; }
.product-more ul { list-style: none; margin: 0; padding: 0 0 6px; display: grid; gap: 8px; }
.product-more li { position: relative; padding-left: 18px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.product-more li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.products-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 40px; padding: 24px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
}
.products-cta p { margin: 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--ink); }

/* Automação ------------------------------------------------------------- */

.automacao { background: var(--dark); color: var(--on-dark); }
.solutions { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.solution { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--dark-2); border: 1px solid var(--line-dark); }
.solution-media { overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.solution:not(.solution-wide) .solution-media { flex: 1; aspect-ratio: auto; min-height: 260px; }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.solution:hover .solution-media img { transform: scale(1.04); }
.solution-body { padding: clamp(24px, 3vw, 32px); }
.solution-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: var(--r-sm); background: rgba(222, 30, 24, 0.16); color: #FF8A84; }
.solution-icon .icon { width: 22px; height: 22px; }
.solution h3 { color: #fff; font-size: 1.45rem; margin-bottom: 10px; }
.solution p { color: var(--on-dark-soft); }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); font-size: 0.95rem; }
.check-list .icon { width: 20px; height: 20px; margin-top: 2px; color: #FF8A84; stroke-width: 2.4; }

/* Vídeo institucional --------------------------------------------------- */

.video-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.video-copy h2 { margin-bottom: 16px; }
.video-copy p { font-size: 1.05rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: var(--dark); cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.78; transition: transform 1.2s var(--ease), opacity var(--t-base) ease; }
.video-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 27, 0) 45%, rgba(20, 22, 27, 0.7) 100%); }
.video-play:hover img { transform: scale(1.04); opacity: 0.9; }
.video-play-icon { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--red-700); color: #fff; box-shadow: 0 12px 30px rgba(179, 20, 15, 0.45); transform: translate(-50%, -50%); transition: transform var(--t-base) var(--ease), background-color var(--t-fast) ease; }
.video-play:hover .video-play-icon { transform: translate(-50%, -50%) scale(1.08); background: var(--red-800); }
.video-play-icon .icon { width: 28px; height: 28px; fill: currentColor; stroke: none; margin-left: 4px; }
.video-play-label { position: absolute; left: 20px; bottom: 16px; z-index: 1; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: #fff; text-align: left; }
.video-play:focus-visible { outline: 3px solid var(--red-700); outline-offset: -3px; }

/* Eventos --------------------------------------------------------------- */

.eventos { padding: clamp(64px, 8vw, 104px) 0 0; }
.event-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 3vw, 32px);
  padding: 20px clamp(20px, 3vw, 32px) 20px 20px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  text-decoration: none; color: inherit;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) ease, transform var(--t-base) var(--ease);
}
.event-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.event-date { display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: var(--r-md); background: var(--red-700); color: #fff; text-align: center; }
.event-date span { font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.event-date strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.event-body { display: flex; flex-direction: column; gap: 6px; }
.event-title { font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.event-meta { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--ink-soft); }
.event-meta .icon { color: var(--red-700); }
.event-cta { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--red-700); white-space: nowrap; }

/* Form extras ----------------------------------------------------------- */

.tel-wrap { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 8px; }
.tel-wrap select { padding-right: 8px; cursor: pointer; }

.line-points-dark { margin-top: 20px; }
.line-points-dark li { color: var(--on-dark); align-items: flex-start; font-size: 0.95rem; }
.line-points-dark .icon { background: rgba(222, 30, 24, 0.2); color: #FF8A84; flex-shrink: 0; }

/* Laboratório ----------------------------------------------------------- */

.lab-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.lab-copy h2 { margin-bottom: 20px; }
.lab-copy p { font-size: 1.05rem; }
.lab-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lab-mosaic figure { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 540 / 441; background: var(--surface-2); }
.lab-mosaic figure:nth-child(even) { transform: translateY(32px); }
.lab-mosaic img { width: 100%; height: 100%; object-fit: cover; }

.team-roles { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.team-roles li { padding: 6px 14px; border-radius: var(--r-pill); background: var(--red-50); color: var(--red-800); font-size: 0.9rem; font-weight: 600; }

/* Qualidade ------------------------------------------------------------- */

.qualidade { background: var(--surface); }
.qualidade-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.qualidade-main h2 { margin-bottom: 28px; }
.cert-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cert-card + .cert-card { margin-top: 12px; }
.cert-card-soft { box-shadow: none; }
.cert-icon { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--r-md); background: var(--red-700); color: #fff; }
.cert-card-soft .cert-icon { background: var(--red-50); color: var(--red-700); }
.cert-icon .icon { width: 26px; height: 26px; }
.cert-kicker { font-family: var(--font-head); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-700); }
.cert-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 4px 0 8px; }
.cert-card p { margin: 0; font-size: 0.94rem; }

.programs { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.programs-title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 8px; }
.programs-title .icon { color: var(--red-700); }
.programs ul { list-style: none; margin: 0; padding: 0; }
.programs li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.programs li:last-child { border-bottom: 0; padding-bottom: 0; }
.programs strong { font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.programs span { grid-column: 1; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.45; }
.programs em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 0.76rem; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); white-space: nowrap; }

/* Compromisso ----------------------------------------------------------- */

.compromisso { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px, 11vw, 140px) 0; color: var(--on-dark); background: var(--dark); }
.compromisso-bg { position: absolute; inset: 0; z-index: -2; }
.compromisso-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.compromisso::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 22, 27, 0.94) 0%, rgba(20, 22, 27, 0.84) 45%, rgba(20, 22, 27, 0.5) 100%); }
.compromisso-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.compromisso h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 20px; }
.compromisso-copy p { color: #D3D7DE; font-size: 1.08rem; max-width: 560px; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pillars li {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 16px;
  padding: 20px; border-radius: var(--r-md);
  background: rgba(20, 22, 27, 0.72); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pillars .icon { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: var(--r-sm); background: rgba(222, 30, 24, 0.2); color: #FF8A84; }
.pillars strong { font-family: var(--font-head); font-size: 1.08rem; color: #fff; }
.pillars span { font-size: 0.94rem; color: #C9CED6; line-height: 1.45; }

/* Trajetória ------------------------------------------------------------ */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--red) 0%, var(--line-strong) 100%); }
.timeline li { position: relative; padding: 52px 18px 0 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 16px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.tl-year { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1; margin-bottom: 10px; }
.timeline h3 { font-size: 1.02rem; margin-bottom: 6px; }
.timeline p { font-size: 0.9rem; line-height: 1.5; margin: 0; }

/* Conteúdo -------------------------------------------------------------- */

.conteudo { background: var(--surface); }
.posts { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: 16px; }
.post {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) ease;
}
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.post h3 { font-size: 1.08rem; line-height: 1.35; }
.post p { margin: 0; font-size: 0.94rem; }
.post-featured { grid-row: span 2; background: var(--dark); border-color: var(--dark); justify-content: flex-end; min-height: 320px; }
.post-featured h3 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.post-featured p { color: var(--on-dark-soft); }
.post-featured .post-type { color: #FF8A84; }
.post-featured .post-link { color: #fff; }
.post-type { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-700); }
.post-type .icon { width: 16px; height: 16px; }
.post-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; color: var(--ink); }
.post-link .icon { width: 16px; height: 16px; }

/* Contato --------------------------------------------------------------- */

.contato-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contato-info h2 { margin-bottom: 16px; }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--red-50); color: var(--red-700); }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-list a { display: block; width: fit-content; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); text-decoration: none; line-height: 1.7; }
.contact-list a:hover { color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; }
.contact-note { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.contact-list address { font-style: normal; color: var(--ink-2); line-height: 1.55; margin-top: 2px; }
.map { position: relative; height: 260px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.form h3 { font-size: 1.45rem; margin-bottom: 6px; }
.form-hint { font-size: 0.88rem; margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--red-700); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; color: var(--ink);
  font-size: 1rem; transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9AA2AE; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-700); box-shadow: 0 0 0 4px rgba(179, 20, 15, 0.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { margin: 6px 0 0; font-size: 0.86rem; color: var(--error); min-height: 0; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ink-soft); }
.form .btn-block { margin-top: 6px; }
.form-status { margin: 12px 0 0; font-weight: 600; font-size: 0.95rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-note { margin: 12px 0 0; font-size: 0.84rem; color: var(--muted); }

/* Home: notícias e artigos --------------------------------------------- */

.home-posts { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.home-posts-col h3 { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; font-size: 1.25rem; }
.news-cards { display: grid; gap: 12px; }
.news-card {
  display: grid; grid-template-columns: 132px minmax(0, 1fr); overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  text-decoration: none; color: inherit;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) ease, transform var(--t-base) var(--ease);
}
.news-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-2px); }
.news-card img { width: 100%; height: 100%; min-height: 112px; object-fit: cover; background: var(--surface-2); }
.news-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; }
.news-card strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.35; color: var(--ink); }
.news-card span { font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }
.article-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-rows a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px;
  min-height: 64px; padding: 14px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.35;
  transition: color var(--t-fast) ease, padding var(--t-base) var(--ease);
}
.article-rows a:hover { color: var(--red-700); padding-left: 10px; }
.article-rows .icon { color: var(--red-700); }
.home-posts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Páginas internas: listas e posts ------------------------------------- */

.page-top { padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 clamp(32px, 5vw, 56px); background: linear-gradient(180deg, #FFFFFF 0%, var(--surface) 100%); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--line-strong); }
.page-top h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; max-width: 920px; }
.page-top .page-lead { margin: 16px 0 0; max-width: 680px; font-size: 1.1rem; }
.page-kind { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--font-head); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-700); }

.list-section { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.list-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.list-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.list-search input { width: 100%; min-height: 48px; padding: 12px 14px 12px 44px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: #fff; font-size: 1rem; color: var(--ink); }
.list-search input:focus { outline: none; border-color: var(--red-700); box-shadow: 0 0 0 4px rgba(179, 20, 15, 0.14); }
.list-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.list-count { font-size: 0.95rem; color: var(--ink-soft); }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.list-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  text-decoration: none; color: inherit;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) ease, transform var(--t-base) var(--ease);
}
.list-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-3px); }
.list-card[hidden] { display: none; }
.list-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.list-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.list-card strong { font-family: var(--font-head); font-size: 1.1rem; line-height: 1.35; color: var(--ink); }
.list-card p { margin: 0; font-size: 0.94rem; line-height: 1.55; }
.list-card .post-link { margin-top: auto; }
.list-card-noimg { background: linear-gradient(180deg, #fff, var(--surface)); }
.list-empty { padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); text-align: center; color: var(--ink-soft); }

.post-wrap { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 112px); }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body > * + * { margin-top: 1.1em; }
.post-body p, .post-body li { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.post-body p { margin-bottom: 0; }
.post-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.post-body h3 { font-size: 1.25rem; margin-top: 1.6em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: 0.4em; }
.post-body a { color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.post-body figure { margin-top: 1.8em; margin-bottom: 1.8em; }
.post-body figure img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; }
.post-body blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--red); }
.post-download { margin-top: 1.6em; }
.post-download .btn { white-space: normal; text-align: left; min-height: 52px; padding: 12px 22px; line-height: 1.35; text-decoration: none; color: var(--ink); }
.post-body .video-frame { margin-top: 1.8em; }
.post-cover { max-width: 1000px; margin: 0 auto clamp(32px, 5vw, 48px); }
.post-cover img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--r-lg); background: var(--surface-2); }
.post-footer { max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.post-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.post-pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; line-height: 1.35; transition: border-color var(--t-fast) ease, box-shadow var(--t-base) var(--ease); }
.post-pager a:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.post-pager span { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.post-pager .next { text-align: right; grid-column: 2; }
.post-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); }
.post-cta p { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); }

@media (max-width: 1024px) {
  .home-posts { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .news-card { grid-template-columns: 96px minmax(0, 1fr); }
  .post-pager { grid-template-columns: 1fr; }
  .post-pager .next { grid-column: auto; text-align: left; }
  .list-grid { grid-template-columns: 1fr; }
}

/* Footer ---------------------------------------------------------------- */

.site-footer { background: var(--dark); color: var(--on-dark-soft); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 44px; width: auto; padding: 8px 12px; border-radius: var(--r-sm); background: #fff; }
.footer-brand p { margin: 18px 0; max-width: 300px; color: var(--on-dark-soft); font-size: 0.95rem; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line-dark); color: var(--on-dark); transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.social a:hover { background: var(--red-700); border-color: var(--red-700); }
.footer-col h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--on-dark-soft); text-decoration: none; font-size: 0.95rem; overflow-wrap: anywhere; transition: color var(--t-fast) ease; }
.footer-col a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-legal p { margin: 0; font-size: 0.86rem; color: #9AA0AB; }
.footer-legal a { color: #fff; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease), visibility var(--t-base), background-color var(--t-fast) ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red-700); }

/* Motion ---------------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(8% 6% 8% 6% round var(--r-lg)); transition: clip-path 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal-img img { transform: scale(1.12); transition: transform 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .reveal-img.is-in img { transform: none; }
.js .lab-mosaic .reveal-img.is-in { clip-path: inset(0 0 0 0 round var(--r-md)); }

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1180px) {
  .header-phone { display: none; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 2px; margin: 0;
    padding: 12px clamp(20px, 4vw, 40px) 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-base) ease, transform var(--t-base) var(--ease), visibility var(--t-base);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { min-height: 52px; font-size: 1.05rem; }
  .nav a.is-active::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .nav-contact { display: inline-flex !important; }
  .header-actions { margin-left: auto; }

  .hero-inner, .empresa-grid, .lab-inner, .qualidade-grid, .compromisso-inner, .contato-grid, .video-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
  .hero-copy-wrap { padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 40px); }
  .hero-media { min-height: clamp(420px, 62vw, 560px); }
  .empresa-media { aspect-ratio: 16 / 10; position: relative; top: auto; }
  .lines, .solutions { grid-template-columns: 1fr; }
  .solution:not(.solution-wide) .solution-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valores-list { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .posts { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-column: span 2; grid-row: auto; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lab-mosaic figure:nth-child(even) { transform: none; }
}

@media (max-width: 700px) {
  .filters { display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px; }
  .filter { justify-content: center; gap: 6px; padding: 0 10px; font-size: 0.92rem; }
  .filter-count { min-width: 22px; height: 22px; font-size: 0.76rem; }
  .header-cta { display: none; }
  .eyebrow-extra { display: none; }
  .brand-logo { height: 34px; }
  .hero-media { min-height: 460px; }
  .hero-kit { display: none; }
  .hero-news { left: 12px; right: 12px; bottom: 12px; width: auto; grid-template-columns: 92px 1fr; }
  .hero-news strong { font-size: 0.95rem; }
  .hero-video-toggle { top: 12px; right: 12px; bottom: auto; }
  .event-card { grid-template-columns: auto minmax(0, 1fr); }
  .event-cta { grid-column: 1 / -1; }
  .event-date { width: 76px; height: 76px; }
  .vm-grid, .field-row, .line-metrics { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .valores-list { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .timeline li { padding: 0 0 28px 36px; }
  .timeline li::before { top: 4px; }
  .timeline li::after { content: ''; position: absolute; left: 7px; top: 24px; bottom: 0; width: 2px; background: var(--line-strong); }
  .timeline li:last-child::after { display: none; }
  .posts { grid-template-columns: 1fr; }
  .post-featured { grid-column: auto; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .products-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .programs li { grid-template-columns: 1fr; }
  .programs em { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal { flex-direction: column; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .stat:last-child { border-bottom: 0; }
  .tel-wrap { grid-template-columns: 104px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { transform: none; }
}
