/* Grupo Polisul — redesign
   Direção: "Safra". Papel de palha, tinta de terra, um único acento de trigo.
   Assinatura: as três barras diagonais do logo (///) como linhas de plantio. */

:root {
  --paper: #f2eee5;
  --paper-2: #e9e3d6;
  --paper-3: #ded6c5;
  --ink: #16140f;
  --ink-2: #2a271f;
  --muted: #6b6558;
  --line: rgba(22, 20, 15, 0.12);
  --line-2: rgba(22, 20, 15, 0.22);

  --soil: #14120d;
  --soil-2: #1d1a13;
  --soil-3: #27231a;
  --on-soil: #efe9dc;
  --on-soil-muted: #a49b88;
  --soil-line: rgba(239, 233, 220, 0.12);

  --wheat: #c8962a;
  --wheat-hi: #e0b24c;
  --wheat-ink: #7a5710;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
  --header-h: 76px;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--wheat); color: var(--soil); }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografia ---------- */

.display {
  font-weight: 800;
  font-stretch: 68%;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.h-xl { font-size: clamp(56px, 11vw, 188px); }
.h-lg { font-size: clamp(44px, 7.2vw, 124px); }
.h-md { font-size: clamp(36px, 4.8vw, 76px); }
.h-sm { font-size: clamp(28px, 3vw, 44px); line-height: 0.95; }

.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 36ch; margin: 0; text-wrap: pretty; }
.prose p { margin: 0 0 1.1em; max-width: 62ch; color: var(--ink-2); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Rótulo com o /// da marca */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 22px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 12px; flex: none;
  background: var(--wheat);
  -webkit-mask: url("img/slashes.svg") center / contain no-repeat;
  mask: url("img/slashes.svg") center / contain no-repeat;
}
.on-soil .eyebrow { color: var(--on-soil-muted); }

/* ---------- Botões ---------- */

.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  border-radius: var(--radius);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--wheat { --bg: var(--wheat); --fg: var(--soil); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; }
.btn .arr { width: 16px; height: 16px; flex: none; transition: transform 220ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr { transform: translateX(3px); }
  .btn--wheat:hover { --bg: var(--wheat-hi); }
  .btn:not(.btn--wheat):not(.btn--ghost):not(.btn--light):hover { --bg: var(--ink-2); }
  .btn--ghost:hover { --bg: rgba(127, 120, 104, 0.12); }
}

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; white-space: nowrap;
  transition: background-size 260ms var(--ease-out);
}
.link .arr { width: 15px; height: 15px; flex: none; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover .arr { transform: translateX(3px); } }
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0% 1px; background-position: 100% 100%; }
}

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

.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--on-soil);
  transition: background-color 260ms ease, color 260ms ease, box-shadow 260ms ease, transform 320ms var(--ease-out);
}
.header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 30px; width: auto; transition: filter 260ms ease; }
.header.is-solid, .header--paper {
  background: rgba(242, 238, 229, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid .brand img, .header--paper .brand img { filter: brightness(0); }
.header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__group > button {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; font-size: 15px; font-weight: 500; border-radius: var(--radius);
  transition: background-color 180ms ease;
}
.nav > a[aria-current="page"]::after, .nav__group.is-current > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: currentColor;
}
.nav__group { position: relative; }
.nav__group > button svg { width: 10px; height: 10px; transition: transform 200ms var(--ease-out); }
.nav__group[data-open] > button svg { transform: rotate(180deg); }

.menu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px;
  background: var(--paper); color: var(--ink);
  border-radius: 6px; padding: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -12px rgba(22, 20, 15, 0.28);
  transform-origin: 40px top;
  opacity: 0; transform: scale(0.97) translateY(-4px); visibility: hidden;
  transition: opacity 160ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.nav__group[data-open] .menu {
  opacity: 1; transform: none; visibility: visible;
  transition: opacity 160ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s;
}
.menu a {
  display: grid; grid-template-columns: 28px 1fr; gap: 2px 10px; align-items: baseline;
  padding: 10px 12px; border-radius: 4px; transition: background-color 140ms ease;
}
.menu a .mono { color: var(--muted); font-size: 11px; }
.menu a strong { font-weight: 600; font-size: 15px; }
.menu a small { grid-column: 2; color: var(--muted); font-size: 13px; line-height: 1.35; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 8px; }

@media (hover: hover) and (pointer: fine) {
  .nav > a:hover, .nav__group > button:hover { background: rgba(127, 120, 104, 0.14); }
  .menu a:hover { background: var(--paper-2); }
}

.header__cta { display: flex; align-items: center; gap: 10px; }
.header .btn--ghost { box-shadow: inset 0 0 0 1px currentColor; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); }
.menu-btn .bars { position: relative; width: 22px; height: 10px; }
.menu-btn .bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease-out), top 300ms var(--ease-out); }
.menu-btn .bars span:first-child { top: 0; }
.menu-btn .bars span:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:last-child { top: 4.25px; transform: rotate(-45deg); }

/* Drawer móvel */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--soil); color: var(--on-soil);
  padding: calc(var(--header-h) + 16px) var(--gutter) 28px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden;
  transition: transform 480ms var(--ease-drawer), visibility 0s linear 480ms;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 480ms var(--ease-drawer), visibility 0s; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--soil-line);
  font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: 34px; line-height: 1;
}
.drawer nav a .mono { color: var(--on-soil-muted); font-weight: 400; }
.drawer nav .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 10px 0 6px; border-bottom: 1px solid var(--soil-line); }
.drawer nav .sub a { font-size: 15px; font-weight: 500; font-stretch: 100%; text-transform: none; padding: 8px 0; border: 0; color: var(--on-soil-muted); }
.drawer__foot { display: grid; gap: 6px; padding-top: 28px; color: var(--on-soil-muted); font-size: 15px; }
body.has-drawer { overflow: hidden; }
body.has-drawer .header { color: var(--on-soil); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.has-drawer .header .brand img { filter: none; }

/* ---------- Seções ---------- */

.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 112px) 0; }
.on-soil { background: var(--soil); color: var(--on-soil); }
.on-soil .lead, .on-soil .prose p { color: var(--on-soil-muted); }
.on-soil .muted { color: var(--on-soil-muted); }
.on-paper-2 { background: var(--paper-2); }

.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head > :first-child { grid-column: 1 / span 8; }
.sec-head > :last-child:not(:first-child) { grid-column: 9 / -1; justify-self: end; text-align: left; }

/* ---------- Hero da home ---------- */

.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--on-soil); background: var(--soil); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); transition: transform 2400ms var(--ease-out); }
.hero.is-in .hero__media img { transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 13, 0.55) 0%, rgba(20, 18, 13, 0) 26%),
    linear-gradient(0deg, rgba(20, 18, 13, 0.88) 0%, rgba(20, 18, 13, 0.25) 48%, rgba(20, 18, 13, 0) 70%),
    linear-gradient(90deg, rgba(20, 18, 13, 0.55) 0%, rgba(20, 18, 13, 0) 55%);
}
/* As três barras do logo, cobrindo a foto, abrem uma vez */
.hero__slats { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: flex; }
.hero__slats span {
  flex: 1; margin: 0 -9vw; background: var(--soil);
  transform: skewX(-24deg) translateY(0);
  transition: transform 1100ms var(--ease-in-out);
}
.hero__slats span:nth-child(2) { transition-delay: 110ms; }
.hero__slats span:nth-child(3) { transition-delay: 190ms; }
.hero.is-in .hero__slats span { transform: skewX(-24deg) translateY(-101%); }
.hero.is-in .hero__slats span:nth-child(2) { transform: skewX(-24deg) translateY(101%); }

.hero__body { position: relative; z-index: 1; padding-bottom: clamp(28px, 4vw, 48px); padding-top: calc(var(--header-h) + 40px); }
.hero__title { font-size: clamp(44px, 10.4vw, 180px); }
.hero__title .line { display: block; overflow-y: clip; overflow-clip-margin: 0.1em; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero__title .line > span { display: block; transform: translateY(105%); transition: transform 900ms var(--ease-out); }
.hero.is-in .hero__title .line > span { transform: none; transition-delay: calc(520ms + var(--i, 0) * 90ms); }
.hero__title em { font-style: normal; color: var(--wheat-hi); }

.hero__row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: clamp(24px, 3vw, 40px); }
.hero__row p { margin: 0; max-width: 44ch; font-size: clamp(17px, 1.35vw, 20px); color: rgba(239, 233, 220, 0.86); }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__fade { opacity: 0; transform: translateY(10px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.hero.is-in .hero__fade { opacity: 1; transform: none; transition-delay: 820ms; }

.hero__rail {
  position: relative; z-index: 1; border-top: 1px solid var(--soil-line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__rail > div { padding: 18px 0 22px; display: grid; gap: 2px; }
.hero__rail > div + div { padding-left: 24px; border-left: 1px solid var(--soil-line); }
.hero__rail .mono { color: var(--on-soil-muted); font-size: 11px; }
.hero__rail strong { font-weight: 600; font-size: 16px; }

/* ---------- Manifesto ---------- */

.manifest { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.manifest__quote { grid-column: 1 / span 10; }
.manifest__quote .display { font-size: clamp(44px, 7.4vw, 128px); }
.manifest__quote .display em { font-style: normal; color: var(--wheat-ink); }
.manifest__aside { grid-column: 1 / span 4; margin-top: clamp(40px, 6vw, 88px); }
.manifest__text { grid-column: 6 / span 6; margin-top: clamp(40px, 6vw, 88px); }

.years {
  display: flex; align-items: baseline; gap: 14px;
  font-weight: 800; font-stretch: 68%; font-size: clamp(64px, 9vw, 140px); line-height: 0.85; letter-spacing: -0.01em;
}
.years small { font-family: var(--mono); font-size: 12px; font-weight: 400; font-stretch: 100%; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; max-width: 14ch; line-height: 1.4; }
.years__track { display: inline-block; height: 0.85em; overflow: hidden; }
.years__track > span, .years__track > span > span { display: block; height: 0.85em; }

/* ---------- Marcas ---------- */

.brands { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; }
.brand-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(420px, 44vw, 640px); padding: 24px; overflow: hidden; color: var(--on-soil);
  border-radius: var(--radius); isolation: isolate; background: var(--soil-2);
}
.brand-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease-out); }
.brand-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 18, 13, 0.9) 0%, rgba(20, 18, 13, 0.1) 55%, rgba(20, 18, 13, 0.35) 100%); }
.brand-card .logo { height: 30px; width: auto; align-self: flex-start; }
.brand-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.brand-card p { margin: 0; color: rgba(239, 233, 220, 0.78); font-size: 15px; max-width: 34ch; }
.brand-card .mono { color: var(--wheat-hi); display: block; margin-bottom: 12px; }
@media (hover: hover) and (pointer: fine) {
  .brand-card:hover img.bg { transform: scale(1.04); }
}

/* ---------- Índice de soluções ---------- */

.index { border-top: 1px solid var(--line-2); }
.index a {
  position: relative; display: grid; grid-template-columns: 72px 1fr minmax(0, 34ch) 40px; gap: 24px; align-items: center;
  padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line-2);
}
.index .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.index .t { font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(36px, 5vw, 80px); line-height: 0.9; transition: transform 380ms var(--ease-out), color 200ms ease; }
.index .d { color: var(--muted); font-size: 15px; line-height: 1.45; }
.index .go { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.index .go svg { width: 16px; height: 16px; }
.index .thumb { display: none; }

.peek {
  position: fixed; left: 0; top: 0; z-index: 50; width: 300px; aspect-ratio: 4 / 5; pointer-events: none;
  border-radius: var(--radius); overflow: hidden; opacity: 0; transform: scale(0.94);
  transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(22, 20, 15, 0.45);
}
.peek.is-on { opacity: 1; transform: none; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 240ms ease; }
.peek img.is-on { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .index a:hover .t { transform: translateX(14px); }
  .index a:hover .go { background: var(--ink); color: var(--paper); box-shadow: none; }
}

/* ---------- Cards de máquina ---------- */

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 380px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: transform 160ms var(--ease-out), background-color 200ms ease, opacity 200ms ease; }
.rail-ctrl button:active { transform: scale(0.94); }
.rail-ctrl button:disabled { opacity: 0.35; cursor: default; }
.rail-ctrl svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .rail-ctrl button:not(:disabled):hover { background: var(--paper-2); } }

.mcard { display: flex; flex-direction: column; gap: 14px; }
.mcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mcard__tag { position: absolute; left: 10px; top: 10px; background: var(--paper); color: var(--ink); padding: 4px 8px; border-radius: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.mcard__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.mcard h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.2; }
.mcard .brandname { color: var(--muted); font-size: 14px; }
.mcard dl { margin: 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.mcard dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mcard dd { margin: 0; font-size: 14px; font-weight: 500; grid-row: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16ch; }
@media (hover: hover) and (pointer: fine) {
  .mcard:hover .mcard__img img { transform: scale(1.04); }
}

/* ---------- Depoimentos ---------- */

.voices { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 16px; align-items: end; }
.voice { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; max-height: 640px; background: var(--soil-3); color: var(--on-soil); }
.voice video, .voice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voice__cap { position: absolute; inset: auto 0 0; padding: 20px; background: linear-gradient(0deg, rgba(20, 18, 13, 0.92), rgba(20, 18, 13, 0)); transition: opacity 240ms ease; }
.voice__cap q { display: block; font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: 28px; line-height: 0.95; margin-bottom: 10px; quotes: "“" "”"; }
.voice__cap span { font-size: 14px; color: var(--on-soil-muted); }
.voice__play {
  position: absolute; top: 16px; right: 16px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--paper); color: var(--ink); display: grid; place-items: center;
  transition: transform 160ms var(--ease-out), opacity 200ms ease;
}
.voice__play:active { transform: scale(0.94); }
.voice__play svg { width: 18px; height: 18px; }
.voice.is-playing .voice__cap, .voice.is-playing .voice__play { opacity: 0; pointer-events: none; }
.voices__text { padding-bottom: 8px; }

/* ---------- Notícias ---------- */

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.ncard { display: flex; flex-direction: column; gap: 16px; }
.ncard__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--paper-3); }
/* Notícia sem foto: o /// da marca sobre terra */
.ncard__img--mark { background: var(--soil-2); display: grid; place-items: center; }
.ncard__img--mark::before {
  content: ""; width: 34%; aspect-ratio: 26 / 12; background: var(--soil-3);
  -webkit-mask: url("img/slashes.svg") center / contain no-repeat; mask: url("img/slashes.svg") center / contain no-repeat;
  transition: background-color 300ms ease;
}
@media (hover: hover) and (pointer: fine) { .ncard:hover .ncard__img--mark::before { background-color: var(--wheat); } }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.ncard time { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ncard h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.25; font-weight: 600; text-wrap: balance; }
.ncard p { margin: 8px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
  .ncard:hover .ncard__img img { transform: scale(1.04); }
  .ncard:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
}
.news--feature { grid-template-columns: 1.4fr 1fr 1fr; }
.news--feature .ncard:first-child { grid-row: span 2; }
.news--feature .ncard:first-child .ncard__img { aspect-ratio: 4 / 5; }
.news--feature .ncard:first-child h3 { font-size: clamp(24px, 2.4vw, 34px); }

/* ---------- Faixa de pessoas (vagas) ---------- */

.people { position: relative; min-height: clamp(520px, 64vw, 820px); display: flex; align-items: flex-end; color: var(--on-soil); overflow: hidden; isolation: isolate; }
.people img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.people::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20, 18, 13, 0.9) 0%, rgba(20, 18, 13, 0.35) 45%, rgba(20, 18, 13, 0.1) 100%); }
.people .wrap { padding-bottom: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.people p { color: rgba(239, 233, 220, 0.82); max-width: 44ch; margin: 18px 0 0; }

/* ---------- Unidades ---------- */

.units { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.unit { padding: 24px 24px 28px 0; display: flex; flex-direction: column; gap: 14px; }
.unit + .unit { padding-left: 24px; border-left: 1px solid var(--line-2); }
.unit .mono { color: var(--muted); }
.unit h3 { margin: 0; font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 44px); line-height: 0.92; }
.unit address { font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.unit .contacts { display: grid; gap: 2px; font-size: 15px; margin-top: auto; }
.unit .contacts a { width: fit-content; }
.on-soil .units, .on-soil .unit + .unit { border-color: var(--soil-line); }
.on-soil .unit address { color: var(--on-soil-muted); }

/* ---------- CTA final + footer ---------- */

.cta-band { padding: clamp(72px, 10vw, 140px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }

.footer { background: var(--soil); color: var(--on-soil); padding: clamp(64px, 8vw, 104px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer__brand img { height: 34px; width: auto; }
.footer__brand p { color: var(--on-soil-muted); max-width: 30ch; margin: 22px 0 0; font-size: 15px; }
.footer h4 { margin: 0 0 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-soil-muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer ul a { opacity: 0.9; transition: opacity 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; } }
.footer__mark { display: block; width: 100%; height: auto; color: var(--soil-3); margin: 0 0 24px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--soil-line); color: var(--on-soil-muted); font-size: 13px; }
.footer__bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* WhatsApp flutuante */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; height: 52px; padding: 0 18px 0 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 30px -10px rgba(22, 20, 15, 0.5);
  transform: translateY(0); transition: transform 320ms var(--ease-out), opacity 240ms ease;
}
.wa svg { width: 22px; height: 22px; color: #3fd27a; }
.wa:active { transform: scale(0.97); }
.wa.is-away { transform: translateY(90px); opacity: 0; pointer-events: none; }

/* ---------- Páginas internas ---------- */

.page-hero { padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(48px, 6vw, 88px); }
.page-hero .crumbs { display: flex; gap: 10px; margin-bottom: 28px; color: var(--muted); }
.page-hero .crumbs a { color: var(--ink); }
.page-hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.page-hero__grid > .display { grid-column: 1 / span 8; }
.page-hero__grid > .lead { grid-column: 9 / -1; }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.split__media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }
.split__body { grid-column: 8 / -1; }
.split--rev .split__media { grid-column: 7 / -1; grid-row: 1; }
.split--rev .split__body { grid-column: 1 / span 5; grid-row: 1; }

.figure-wide { margin: 0; }
.figure-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.figure-wide figcaption { margin-top: 12px; color: var(--muted); }

.points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.points li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.points .mono { color: var(--muted); padding-top: 4px; }
.points strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.points p { margin: 0; color: var(--muted); font-size: 15.5px; }
.on-soil .points, .on-soil .points li { border-color: var(--soil-line); }
.on-soil .points p { color: var(--on-soil-muted); }

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 28vw, 420px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); scroll-snap-align: start; user-select: none; -webkit-user-drag: none; }
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.stat-row > div { padding: 22px 24px 4px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line-2); }
.stat-row strong { display: block; font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(30px, 3vw, 46px); line-height: 0.95; margin-bottom: 8px; }
.stat-row span { color: var(--muted); font-size: 15px; }
.on-soil .stat-row, .on-soil .stat-row > div + div { border-color: var(--soil-line); }
.on-soil .stat-row span { color: var(--on-soil-muted); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--soil-line); }
.values > div { padding: 28px 28px 36px 0; border-bottom: 1px solid var(--soil-line); }
.values > div:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--soil-line); }
.values .mono { color: var(--wheat-hi); }
.values h3 { margin: 14px 0 8px; font-size: 22px; font-weight: 600; line-height: 1.2; }
.values p { margin: 0; color: var(--on-soil-muted); font-size: 15.5px; }

/* Peças: busca por código */
.partsearch { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.field { flex: 1; height: 52px; padding: 0 16px; border-radius: var(--radius); border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow 160ms ease; }
.field:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
textarea.field { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; line-height: 1.5; }

/* ---------- Catálogo ---------- */

.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(242, 238, 229, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }

.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 6px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { position: relative; z-index: 1; height: 40px; padding: 0 18px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color 200ms ease; white-space: nowrap; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button .mono { font-size: 11px; margin-left: 6px; color: var(--muted); }
.seg__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 4px; background: var(--paper); box-shadow: 0 1px 2px rgba(22, 20, 15, 0.12), 0 0 0 1px var(--line); transition: transform 300ms var(--ease-out), width 300ms var(--ease-out); }

.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; height: 44px; padding: 0 40px 0 14px; border-radius: var(--radius); border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; transform: translateY(-50%); pointer-events: none; }
.search { position: relative; }
.search input { height: 44px; width: 240px; padding: 0 14px 0 40px; border-radius: var(--radius); border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; }
.search input:focus, .select-wrap select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }

.grid-m { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 20px; padding: clamp(32px, 4vw, 56px) 0 clamp(80px, 10vw, 140px); }
.grid-m .mcard { animation: rise 420ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.count { color: var(--muted); }
.empty { padding: 80px 0; text-align: center; color: var(--muted); }

/* Ficha da máquina */
.machine { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: calc(var(--header-h) + 32px) 0 clamp(72px, 9vw, 120px); }
.gallery { grid-column: 1 / span 7; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms ease, filter 260ms ease; }
.gallery__main img.is-swap { opacity: 0; filter: blur(6px); }
.gallery__nav { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 6px; }
.gallery__nav button { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.gallery__nav button:active { transform: scale(0.94); }
.gallery__nav svg { width: 16px; height: 16px; }
.gallery__count { position: absolute; left: 12px; bottom: 12px; background: var(--paper); padding: 6px 10px; border-radius: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.thumbs button { aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; opacity: 0.55; transition: opacity 180ms ease, box-shadow 180ms ease; }
.thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .thumbs button:hover { opacity: 1; } }

.spec { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.spec h1 { font-size: clamp(40px, 4.4vw, 72px); }
.spec .brandname { display: block; margin: 0 0 16px; color: var(--muted); }
.spec dl { margin: 28px 0; border-top: 1px solid var(--line-2); }
.spec dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.spec dt { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 500; }
.spec .price { font-weight: 800; font-stretch: 68%; font-size: 40px; line-height: 1; text-transform: uppercase; margin: 0 0 6px; }
.spec .actions { display: grid; gap: 8px; margin-top: 22px; }
.spec .actions .btn { justify-content: center; }
.spec .notes { margin-top: 24px; color: var(--muted); font-size: 15px; }
.spec .notes p { margin: 0 0 6px; }

/* Artigo */
.article { padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); }
.article__head { max-width: 980px; }
.article__head h1 { font-size: clamp(38px, 5.2vw, 84px); }
.article__meta { display: flex; gap: 16px; margin: 24px 0 0; color: var(--muted); }
.article__img { margin: clamp(36px, 5vw, 64px) 0; }
.article__img img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: var(--radius); }
.article__body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.article__body .prose { grid-column: 4 / span 7; font-size: 18.5px; line-height: 1.7; }
.article__body .prose p:first-child { font-size: 22px; line-height: 1.5; color: var(--ink); }
.article__body aside { grid-column: 1 / span 2; }

/* Contato */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact__form { grid-column: 1 / span 6; display: grid; gap: 14px; }
.contact__form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.contact__form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__aside { grid-column: 8 / -1; display: grid; gap: 28px; align-content: start; }
.contact__aside .big { font-weight: 800; font-stretch: 68%; font-size: clamp(36px, 3.6vw, 56px); line-height: 0.95; display: block; }
.form-note { font-size: 14px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 0); background: var(--ink); color: var(--paper); padding: 14px 18px; border-radius: 6px; font-size: 15px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5); transition: transform 400ms ease, opacity 400ms ease; }
.toast[hidden] { display: block; transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }

/* ---------- Revelação no scroll (uma por bloco) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }

/* ---------- Responsivo ---------- */

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header__cta .btn--ghost { display: none; }
  .brands { grid-template-columns: 1fr 1fr; }
  .brands .brand-card:first-child { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .units { grid-template-columns: 1fr 1fr; }
  .unit:nth-child(3) { padding-left: 0; border-left: 0; }
  .unit:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
  .voices { grid-template-columns: 1fr 1fr; }
  .voices__text { grid-column: 1 / -1; grid-row: 1; }
  .machine .gallery, .machine .spec { grid-column: 1 / -1; position: static; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .brand img { height: 24px; }
  .header__cta .btn--wheat { display: none; }
  .hero__row { grid-template-columns: 1fr; }
  .hero__rail { grid-template-columns: 1fr 1fr; }
  .hero__rail > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__rail > div:nth-child(n + 3) { border-top: 1px solid var(--soil-line); }
  .hero__rail > div { padding: 12px 0 14px; }
  .hero__rail > div + div { padding-left: 14px; }
  .hero__rail strong { font-size: 14px; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > :first-child, .sec-head > :last-child:not(:first-child) { grid-column: 1; justify-self: start; }
  .manifest__quote, .manifest__aside, .manifest__text { grid-column: 1 / -1; }
  .manifest__text { margin-top: 24px; }
  .brands { grid-template-columns: 1fr; }
  .brand-card { min-height: 440px; }
  .index a { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .index .num { grid-column: 1 / -1; }
  .index .d { grid-column: 1; }
  .index .go { grid-column: 2; grid-row: 2 / span 2; }
  .news, .news--feature { grid-template-columns: 1fr; }
  .news--feature .ncard:first-child .ncard__img { aspect-ratio: 3 / 2; }
  .voices { grid-template-columns: 1fr 1fr; gap: 10px; }
  .voice__cap { padding: 14px; }
  .voice__cap q { font-size: 20px; }
  .voice__play { width: 44px; height: 44px; top: 10px; right: 10px; }
  .people .wrap, .cta-band .wrap { grid-template-columns: 1fr; }
  .units { grid-template-columns: 1fr; }
  .unit, .unit + .unit { padding: 22px 0 26px; border-left: 0; }
  .unit + .unit { border-top: 1px solid var(--line-2); }
  .on-soil .unit + .unit { border-color: var(--soil-line); }
  .footer__top { grid-template-columns: 1fr; }
  .page-hero__grid > .display, .page-hero__grid > .lead { grid-column: 1 / -1; }
  .split__media, .split__body, .split--rev .split__media, .split--rev .split__body { grid-column: 1 / -1; grid-row: auto; position: static; }
  .split__media img { aspect-ratio: 4 / 3; }
  .stat-row { grid-template-columns: 1fr; }
  .stat-row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .values { grid-template-columns: 1fr; }
  .values > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .values > div { padding: 22px 0 26px; }
  .figure-wide img { aspect-ratio: 4 / 3; }
  .toolbar .wrap { gap: 10px; }
  .seg { width: 100%; }
  .filters { width: 100%; }
  .filters .select-wrap { flex: 1; }
  .filters .select-wrap select { width: 100%; }
  .search { width: 100%; }
  .search input { width: 100%; }
  .spec dl > div { grid-template-columns: 100px 1fr; }
  .article__body .prose, .article__body aside { grid-column: 1 / -1; }
  .article__body .prose { font-size: 17px; }
  .contact__form, .contact__aside { grid-column: 1 / -1; }
  .contact__form .row { grid-template-columns: 1fr; }
  .partsearch { flex-direction: column; }
  .wa span { display: none; }
  .wa { padding: 0; width: 52px; justify-content: center; }
}

/* ---------- Movimento reduzido: só opacidade ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero__slats { display: none; }
  .hero__media img, .hero.is-in .hero__media img { transform: none; transition: none; }
  .hero__title .line > span { transform: none; opacity: 0; transition: opacity 400ms ease; }
  .hero.is-in .hero__title .line > span { opacity: 1; transition-delay: 0ms; }
  .hero__fade { transform: none; }
  .hero.is-in .hero__fade { transition-delay: 0ms; }
  .js [data-reveal] { transform: none; transition: opacity 400ms ease; transition-delay: 0ms; }
  .js [data-reveal="clip"] { clip-path: none; opacity: 0; }
  .js [data-reveal="clip"].is-in { opacity: 1; }
  .grid-m .mcard { animation: fade 300ms ease both; animation-delay: 0ms; }
  .drawer, .drawer.is-open { transition-property: visibility, opacity; opacity: 0; transform: none; }
  .drawer.is-open { opacity: 1; }
  .index .t, .mcard__img img, .ncard__img img, .brand-card img.bg { transition: none; transform: none !important; }
}
@keyframes fade { from { opacity: 0; } }
@media (max-width: 1100px) { .footer__hide-sm { display: none; } }

.col-a { grid-column: 1 / span 6; }
.col-b { grid-column: 8 / -1; }
.statement { font-weight: 600; font-stretch: 80%; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: pretty; }
@media (max-width: 760px) { .col-a, .col-b { grid-column: 1 / -1; } .col-b { margin-top: 32px; } }

/* Implementos: fotos de catálogo em fundo branco, sem corte */
.mcard--prod .mcard__img, .machine--prod .gallery__main, .machine--prod .thumbs button { background: #fff; }
.mcard--prod .mcard__img img, .machine--prod .gallery__main img, .machine--prod .thumbs img { object-fit: contain; padding: 6%; }
.machine--prod .thumbs img { padding: 4px; }
.mcard--prod .mcard__tag { background: var(--paper-2); }

/* Botão do WhatsApp só aparece depois do hero */
.has-hero .wa:not(.is-past) { transform: translateY(90px); opacity: 0; pointer-events: none; }

@media (max-width: 760px) { #home-news .ncard:nth-child(n + 4) { display: none; } }
