/* ============================================================
   NABTESCO MOTION CONTROL — Brazil institutional site
   Industrial premium · clean technical · Siemens/ABB-modern
   ============================================================ */

:root {
  /* Color tokens */
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-dark: #0a0e14;
  --bg-dark-2: #11161f;
  --panel: #ffffff;
  --fg: #0e1116;
  --fg-soft: #2b323c;
  --muted: #5b6470;
  --muted-2: #8a93a0;
  --line: #e4e6ea;
  --line-strong: #cfd3da;
  --line-dark: #1f2632;

  --accent: #149bd7;          /* Nabtesco blue */
  --accent-hi: #2bafe8;
  --accent-dark: #0e7aac;
  --accent-ink: #ffffff;
  --accent-tint: #e9f5fc;
  --accent-tint-2: #d7ecf7;

  --success: #1e9a6a;
  --warn: #c97a16;

  /* Spacing scale (8pt base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  /* Geometry */
  --radius: 4px;
  --radius-lg: 10px;
  --container: 1280px;
  --section-py: clamp(64px, 8vw, 120px);

  /* Density (tweakable) */
  --density: 1;
}

/* Tweakable density: scales paddings */
[data-density="compact"]  { --section-py: clamp(48px, 6vw, 88px); }
[data-density="cozy"]     { --section-py: clamp(64px, 8vw, 120px); }
[data-density="spacious"] { --section-py: clamp(88px, 11vw, 160px); }

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: #fff; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.muted { color: var(--muted); }

.display-1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -0.03em; line-height: 1.02; font-weight: 600; }
.display-2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.025em; line-height: 1.08; }
.display-3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-soft); line-height: 1.55; max-width: 60ch; }
.body  { color: var(--fg-soft); line-height: 1.65; }
.small { font-size: 13px; color: var(--muted); }
.mono  { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
section { padding-block: var(--section-py); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }

.grid { display: grid; gap: var(--s-5); }
.row { display: flex; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.gap-5 { gap: var(--s-5); }
.gap-6 { gap: var(--s-6); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.divider.dark { background: var(--line-dark); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--s-6);
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 22px; width: auto; }
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.nav a, .nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-soft);
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  transition: color .18s, background .18s;
}
.nav a:hover, .nav__trigger:hover { color: var(--accent); }
.nav a.is-current { color: var(--accent); }
.nav a.is-current::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 6px;
}
.nav__item { position: relative; }
.nav__chev { width: 10px; height: 10px; transition: transform .2s; }
.nav__item.open .nav__chev { transform: rotate(180deg); }

.nav__item.open { z-index: 20; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -8px;
  z-index: 20;
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
  margin-top: 6px;
  box-shadow: 0 16px 48px -20px rgba(8, 16, 32, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .16s, transform .16s;
}
.nav__item.open .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--fg);
}
.dropdown a:hover { background: var(--bg-alt); color: var(--accent); }
.dropdown a span { font-size: 12px; color: var(--muted); font-weight: 400; }

.nav-cta {
  padding: 9px 18px;
  background: var(--fg);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 14px;
}

.nav a.nav-cta.is-current {
  color: var(--accent)
}
.nav a.nav-cta.is-current::after {
  display: none;
}
.nav a.nav-cta:hover {
  background: var(--accent);
  color: #fff!important;
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 18px; height: 18px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: #fff;
  z-index: 1;
  padding: 24px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
}
.mobile-nav details summary {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav details summary::-webkit-details-marker { display: none; }
.mobile-nav details[open] summary { color: var(--accent); }
.mobile-nav details ul { padding: 4px 0 12px 12px; }
.mobile-nav details ul a {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  border: 0;
  padding: 8px 8px;
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand__sub { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { background: var(--accent-dark); }

.btn--dark {
  background: var(--fg);
  color: #fff;
}
.btn--dark:hover { background: #000; }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--fg); }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost-light:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }

.btn--link {
  padding: 0;
  background: transparent;
  color: var(--accent);
  border: 0;
  font-weight: 500;
}
.btn--link::after {
  content: '→';
  display: inline-block;
  transition: transform .2s;
  font-family: var(--font-mono);
}
.btn--link:hover::after { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__copy h1 { margin: 18px 0 24px; text-wrap: pretty; }
.hero__copy .lead { margin-bottom: 36px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero__meta-item { font-size: 13px; color: var(--muted); }
.hero__meta-item strong { display: block; color: var(--fg); font-size: 22px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }

.hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 4/3; min-height: 320px; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin: 16px 0 20px; max-width: 22ch; }
.page-hero .lead { color: var(--muted); }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: var(--line-strong); }

/* ============================================================
   IMAGE PLACEHOLDERS (dark with technical SVGs)
   ============================================================ */
.media {
  position: relative;
  /* background: var(--bg-dark); */
  color: #c9d2dd;
  overflow: hidden;
  isolation: isolate;
}
.media__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}
.media__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media__vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 80% at 70% 30%, rgba(20,155,215,0.18), transparent 60%),
    radial-gradient(80% 60% at 20% 90%, rgba(255,255,255,0.05), transparent 60%);
}
.media:has(.media__photo) .media__grid { z-index: 1; opacity: 0.35; }
.media:has(.media__photo) .media__vignette {
  background:
    linear-gradient(180deg, rgba(7,12,20,0.15) 0%, rgba(7,12,20,0.55) 100%),
    radial-gradient(120% 80% at 70% 30%, rgba(20,155,215,0.12), transparent 60%);
}
.media__svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.media__tag {
  position: absolute;
  z-index: 2;
  bottom: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,14,20,0.5);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.media__corner {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.08em;
}
.media__corner.tl { top: 14px; left: 16px; }
.media__corner.tr { top: 14px; right: 16px; }
.media__corner.bl { bottom: 14px; left: 16px; }
.media__corner.br { bottom: 14px; right: 16px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 16px 0 16px; text-wrap: balance; }
.section-head .lead { color: var(--muted); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

.section-head-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head-flex .lead { color: var(--muted); }
@media (max-width: 900px) { .section-head-flex { grid-template-columns: 1fr; gap: 16px; align-items: start; } }

/* ============================================================
   FEATURE GRID (icons)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid--5 { grid-template-columns: repeat(5, 1fr); }
.feature {
  background: var(--bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.feature__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feature__icon svg { width: 100%; height: 100%; }
.feature__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.feature h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-top: auto; }

@media (max-width: 900px) {
  .feature-grid, .feature-grid--4, .feature-grid--5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid, .feature-grid--4, .feature-grid--5 { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT / CATEGORY CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1000px) {
  .card-grid, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .card-grid, .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px -28px rgba(8,16,32,0.18);
}
.card__media {
  aspect-ratio: 4/3;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.card__desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
}
.card__cta::after {
  content: '→';
  font-family: var(--font-mono);
  transition: transform .2s;
}
.card:hover .card__cta::after { transform: translateX(4px); }

/* Product (horizontal/split) card — option 0 from the user */
.pcard {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
.pcard:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 18px 48px -28px rgba(8,16,32,0.18);
}
.pcard__media {
  background: var(--bg-dark);
  position: relative;
  min-height: 220px;
}
.pcard__body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.pcard__body::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 0;
  width: 3px;
  height: 24px;
  background: var(--accent);
}
.pcard__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.pcard__title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.pcard__desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; max-width: 56ch; }
.pcard__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 4px;
}
.pcard__spec {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-soft);
  background: var(--bg-alt);
  padding: 5px 10px;
  border-radius: 4px;
}
.pcard__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
}
.pcard__cta::after { content: '→'; font-family: var(--font-mono); transition: transform .2s; }
.pcard:hover .pcard__cta::after { transform: translateX(4px); }

@media (max-width: 720px) {
  .pcard { grid-template-columns: 1fr; }
  .pcard__media { min-height: 200px; aspect-ratio: 16/9; }
}

/* ============================================================
   STATS / DATA STRIP
   ============================================================ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.stat__num .unit { font-size: 0.55em; color: var(--muted); margin-left: 2px; font-weight: 500; }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 28ch; line-height: 1.5; }
@media (max-width: 900px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   APPLICATIONS (icon + label list)
   ============================================================ */
.app-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.app {
  background: var(--bg);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
}
.app__icon { width: 28px; height: 28px; color: var(--accent); }
.app h3 { font-size: 15px; font-weight: 600; }
.app p { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: auto; }
@media (max-width: 1000px) { .app-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .app-list { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   DIFFERENTIALS — large image+text alternating
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}
.diff {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  transition: border-color .2s;
}
.diff:hover { border-color: var(--line-strong); }
.diff--dark { background: var(--bg-dark); color: #d8dde5; border-color: var(--line-dark); }
.diff--dark h3 { color: #fff; }
.diff--span-2 { grid-column: span 2; }
.diff--tall { grid-row: span 2; }
.diff__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.diff__num.muted { color: rgba(255,255,255,0.45); }
.diff h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; max-width: 18ch; }
.diff p { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 38ch; }
.diff--dark p { color: rgba(255,255,255,0.65); }
.diff__art {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 180px;
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .diff--span-2, .diff--tall { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 560px) {
  .diff-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fg);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { min-height: 130px; resize: vertical; font-family: inherit; }
.field__hint { font-size: 12px; color: var(--muted); }

.file-drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.file-drop:hover { border-color: var(--accent); background: var(--accent-tint); }
.file-drop strong { color: var(--accent); font-weight: 500; }

/* Catalog download component */
.catalog {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.catalog::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.catalog__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.catalog__copy { max-width: 460px; }
.catalog__copy h2 { font-size: clamp(28px, 3vw, 38px); margin: 12px 0 16px; letter-spacing: -0.02em; }
.catalog__copy p { color: rgba(255,255,255,0.7); line-height: 1.6; }
.catalog__copy .eyebrow { color: var(--accent-hi); }

.catalog-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(6px);
}
.catalog-form .field__label { color: rgba(255,255,255,0.5); }
.catalog-form input {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}
.catalog-form input::placeholder { color: rgba(255,255,255,0.35); }
.catalog-form input:focus {
  border-color: var(--accent-hi);
  box-shadow: 0 0 0 3px rgba(20,155,215,0.22);
}
.catalog-form .small { color: rgba(255,255,255,0.45); }

@media (max-width: 900px) {
  .catalog__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   COMMERCIAL CTA
   ============================================================ */
.cta-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--bg);
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cta-strip h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
.cta-strip p { color: var(--muted); margin-top: 14px; max-width: 50ch; }
.cta-strip__btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .cta-strip__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { height: 24px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,0.55); max-width: 28ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color .15s; }
.footer-col a:hover { color: var(--accent-hi); }
.footer-col .contact-block { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-col .contact-block strong { display: block; color: rgba(255,255,255,0.9); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; font-family: var(--font-mono); }
.footer-col .contact-block p + p { margin-top: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a:hover { color: var(--accent-hi); }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.6);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ============================================================
   COOKIE BANNER (LGPD)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 22px;
  right: 100px;
  max-width: 540px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 24px 64px -16px rgba(8,16,32,0.18);
  z-index: 45;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  transform: translateY(120%);
  transition: transform .35s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 13.5px; color: var(--muted); line-height: 1.5; flex: 1 1 240px; }
.cookie-banner p strong { color: var(--fg); display: block; margin-bottom: 4px; font-size: 13px; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-banner button { padding: 9px 16px; font-size: 13px; }

@media (max-width: 720px) {
  .cookie-banner { left: 12px; right: 84px; bottom: 12px; }
}

/* ============================================================
   PRODUCT PAGE — split hero + specs
   ============================================================ */
.product-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 88px);
}
.product-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-hero__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* background: var(--bg-dark); */
}
.product-hero__info h1 { font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.03em; margin: 18px 0 18px; }
.product-hero__info .lead { color: var(--muted); margin-bottom: 28px; }
.product-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
}
.product-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .product-hero__grid { grid-template-columns: 1fr; } }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.spec-table th, .spec-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  width: 38%;
  background: var(--bg-alt);
}
.spec-table td { color: var(--fg); font-feature-settings: 'tnum'; }

.tabs-row {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
  overflow-x: auto;
}
.tab {
  padding: 14px 4px;
  margin-right: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  background: transparent;
  border-left: 0; border-right: 0; border-top: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: color .15s, border-color .15s;
}
.tab.is-active { color: var(--fg); border-bottom-color: var(--accent); }
.tab:hover { color: var(--fg); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ============================================================
   PRODUCT GALLERY + LIGHTBOX
   ============================================================ */
.product-gallery { padding: 64px 0; background: var(--bg); }
.product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.product-gallery__item {
  display: block;
  padding: 0;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
  cursor: zoom-in;
  transition: border-color .2s, box-shadow .2s;
}
.product-gallery__item:hover {
  border-color: #9ca3af;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.product-gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 11px;
}
@media (max-width: 1100px) {
  .product-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .product-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none !important; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}
.lightbox__inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 56px;
}
.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: calc(92vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(92vh - 160px);
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox__caption {
  color: #fff;
  font-size: 15px;
  text-align: center;
  max-width: 60ch;
  line-height: 1.5;
}
.lightbox__caption[hidden] { display: none; }
.lightbox__counter {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-family: var(--font-mono);
}
.lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
@media (prefers-reduced-motion: reduce) {
  .product-gallery__item { transition: none; }
  .product-gallery__item:hover { transform: none; }
}

/* Applications list (product page) */
.bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.5;
}
.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--accent);
}
@media (max-width: 640px) { .bullets { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT — alternating sections
   ============================================================ */
.about-row {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 56px;
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--line);
}
.about-row__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.about-row__meta .num { color: var(--accent); display: block; font-size: 13px; margin-bottom: 8px; }
.about-row h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 18px;  text-wrap: balance; }
.about-row p + p { margin-top: 18px; }
.about-row p { color: var(--muted); line-height: 1.7; max-width: 65ch; }
@media (max-width: 800px) { .about-row { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   SUCCESS PAGE
   ============================================================ */
.success {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.success__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}
.success__icon svg { width: 32px; height: 32px; }
.success h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.success p { color: var(--muted); max-width: 50ch; margin: 0 auto 32px; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks {
  position: fixed;
  right: 22px;
  top: 90px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  z-index: 70;
  box-shadow: 0 24px 64px -16px rgba(8,16,32,0.22);
  display: none;
  font-size: 13px;
}
.tweaks.show { display: block; }
.tweaks__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tweaks__head strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); }
.tweaks__close { background: transparent; border: 0; color: var(--muted); width: 24px; height: 24px; }
.tweaks__close:hover { color: var(--fg); }
.tweaks__group { margin-bottom: 16px; }
.tweaks__group:last-child { margin-bottom: 0; }
.tweaks__group label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.tweaks__swatches { display: flex; gap: 8px; }
.tweaks__swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  background-clip: content-box;
  padding: 2px;
  transition: border-color .15s;
}
.tweaks__swatch.is-active { border-color: var(--fg); }
.tweaks__segs { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tweaks__segs button {
  flex: 1;
  padding: 8px 10px;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  transition: background .15s, color .15s;
}
.tweaks__segs button:last-child { border-right: 0; }
.tweaks__segs button.is-active { background: var(--fg); color: #fff; }

/* ============================================================
   ANIMATIONS — subtle scroll fade-in
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-d, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   PROSE (page body copy)
   ============================================================ */
.prose p {
  font-size: 16.5px;
  color: var(--fg-soft);
  line-height: 1.7;
  max-width: 65ch;
}
.prose p + p { margin-top: 18px; }

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}

.prose th,
.prose td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--line);
  vertical-align: top;
}

.prose th {
  background: var(--bg-alt);
  color: var(--fg);
  font-weight: 600;
}

.prose td {
  color: var(--fg-soft);
}

/* Inline highlight */
.k { font-family: var(--font-mono); font-size: 0.88em; color: var(--accent); }
